flat assembler
Message board for the users of flat assembler.
Index
> Main > $-label oddities |
Author |
|
LocoDelAssembly 25 Apr 2006, 15:17
use "length = $-string". With equ you make "length" to be "$-string" instead of the value of $-string.
With EQU "mov eax, length" gets assembled as mov eax, $-string With = "mov eax, length" gets assembled as mov eax, length |
|||
25 Apr 2006, 15:17 |
|
rugxulo 26 Apr 2006, 22:35
equ is for text while = is for numeric constants (or something like that). Here, read this, it should help explain it.
|
|||
26 Apr 2006, 22:35 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.