简体   繁体   中英

NASM mov instruction syntax

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

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM