Where can I find assembler for x86?

I am learning ASM-86 in high school and I want to program a bit at home.

Do you know any “compiler” for this language that I can program and view the state of memory?

+4
source share
5 answers

The compiler for assembly language is usually called "assembler".

MASM and NASM are two popular. Another pretty good option is to write an embedded assembly in Visual C ++ , making it an excellent debugger.

+4
source

you can use nasm + radare + objdump

http://www.nasm.us/

http://radare.nopcode.org/new/

+3
source

Remember that he also wants to look at memory (and probably registers).

The gdb debugger is a real pain for working with assembler code. (Don't get me wrong, I'm a fan).

The Insight debugger uses gdb for the back end, although once I tried to use it in a real program, I could not get it to work correctly.

The Open Watcom project has free tools and a window debugger. You can use the included WASM or NASM assembler using the debug switch to allow viewing memory by label.

+2
source

If you are on Linux, the simplest choice is probably a combination:

Both are included on your Linux system (or can be installed automatically by simply selecting them from the package manager). I personally prefer Unix systems for development. YMMV.

+1
source

If you mean x86 assembly language, try:

I prefer yasm. Supports 16, 32 and 64-bit encoding and has good macro support.

Also ported to different platforms, unlike assemblers like fasm .

+1
source

Source: https://habr.com/ru/post/1299661/


All Articles