flat assembler
Message board for the users of flat assembler.
Index
> Main > differences between = and equ? |
Author |
|
ntos 01 Aug 2023, 02:26
Hi,
A = 60 B equ 60 Any difference if A and B are defined like this? Thank you. |
|||
01 Aug 2023, 02:26 |
|
ntos 01 Aug 2023, 02:50
I mean If we are defining syscalls for a linux app for example, = or equ are no difference, arent they?
sys_write = 1 sys_exit equ 60 |
|||
01 Aug 2023, 02:50 |
|
revolution 01 Aug 2023, 02:53
You can't forward reference equ
Code: mov eax,sys_exit ; <-- error: undefined symbol 'sys_exit'. sys_exit equ 60 |
|||
01 Aug 2023, 02:53 |
|
ntos 01 Aug 2023, 04:05
Thank you. It is clear now.
|
|||
01 Aug 2023, 04:05 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.