flat assembler
Message board for the users of flat assembler.
Index
> Windows > "len = $-msg" or "len dd $-msg"? |
Author |
|
revolution 26 Jan 2023, 12:58
Code: push len ; push raw number push [len] ; push contents of memory location pointed to by len |
|||
26 Jan 2023, 12:58 |
|
FlierMate11 26 Jan 2023, 13:02
revolution wrote:
Ah, yes, I browse back my old code, the difference is like what you have pointed out. If I use "len=$-msg", then have to use "push len" (raw number) But if I use "len dd $-msg", then have to use "push [len]". It was confusing but I slowly understand it now. Thank you for the prompt reply. |
|||
26 Jan 2023, 13:02 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.