diff options
Diffstat (limited to 'gas/testsuite/gasp/pl6.asm')
-rw-r--r-- | gas/testsuite/gasp/pl6.asm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gas/testsuite/gasp/pl6.asm b/gas/testsuite/gasp/pl6.asm new file mode 100644 index 0000000000..162d617588 --- /dev/null +++ b/gas/testsuite/gasp/pl6.asm @@ -0,0 +1,21 @@ + .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 |