flat assembler
Message board for the users of flat assembler.
Index
> Windows > Why doesn't "mov eax,EBP+8" assemble? |
Author |
|
revolution 06 Apr 2018, 00:50
You have to include the square brackets if you want to read the value. Or alternatively, you can use LEA if you want the address of the arg (unlikely to be useful)
Code: mov eax,[FirstArg] ;read the value of FirstArg lea eax,[FirstArg] ;probably not useful Ben321 wrote: When the macro is finished working the above line of code should look like: |
|||
06 Apr 2018, 00:50 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.