flat assembler
Message board for the users of flat assembler.
Index
> Windows > Cmp byte ptr + offset |
Author |
|
vid 30 Apr 2004, 06:23
1.
Code: cmp byte [esi+baseaddie],00h or Code: cmp byte ptr esi + baseaddie,00h 2. Code: sub esp, delta |
|||
30 Apr 2004, 06:23 |
|
JohnFound 30 Apr 2004, 06:27
[nuß] wrote:
It will become more simple: Code: cmp byte [esi+baseaddie],00h and Code: sub ebp, delta The rule is simple in FASM: If you want address (actually the value of the label) you write the label name. If you want the value of the memory, you enclose the address of that memory in brackets. Regards. |
|||
30 Apr 2004, 06:27 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.