flat assembler
Message board for the users of flat assembler.
![]() |
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 |
|||
![]() |
|
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.
![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.