Skip to content

Latest commit

 

History

History
25 lines (11 loc) · 331 Bytes

File metadata and controls

25 lines (11 loc) · 331 Bytes

Question 81

What is the %define directive?

Answer

%define defines a preprocessor substitution.

For example:

%define hello "Greetings, commander"

db hello, 0  ; gets substituted with: db "Greetings, commander", 0 

The substitutions occur before code generation.

prev +++ next