binutils-gdb/gas/testsuite/gasp/pl6.asm
Steve Chamberlain a5f4bc3075 More testcases.
1994-04-27 18:03:31 +00:00

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