NASM mov instruction syntax

1.7k views Asked by At

Recently I adopted the powerful NASM as my default Assembler. Although I'm having difficulties with instruction syntax.

In TASM I think this is a valid instruction:

mov [dword ptr [ebp + 8]], edx

But how to perform the equivalent in NASM?

Also, since this is a very basic question where can I found documentation and/or examples for this type of questions?

Thanks

1

There are 1 answers

2
rkhb On

In this case NASM knows the size: mov [ebp + 8], edx.

Another example: inc dword [ebp + 8].

The NASM manual is here: http://www.nasm.us/doc/