#define build alternative?

Does the assembly (or at least NASM) have the C ++ equivalent for #define?

I want to do something like this:

#define i [ebp - 4]
+4
source share
1 answer

NASM:

%define i [ebp - 4]

Source: http://www.nasm.us/doc/nasmdoc4.html

edit: Maybe equ is interesting for you too. Check out this topic: What is the difference between% define and equ in NASM?

+2
source

Source: https://habr.com/ru/post/1570368/


All Articles