mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
22 lines
306 B
NASM
22 lines
306 B
NASM
.ALTERNATE
|
|
! test of expression operator
|
|
define MACRO val, string
|
|
SDATA val
|
|
SDATA string
|
|
ENDM
|
|
define "1","99%of100" ! notice % within string
|
|
define %1 + 2, "=3"
|
|
|
|
|
|
define % 1 + 2 %3+4
|
|
|
|
define %3*4-2 <=10>
|
|
|
|
define %3*4-2 5
|
|
|
|
define %1 + 2,<is equal to %1 + 2, right?>
|
|
|
|
! has no effect
|
|
|
|
end
|