diff options
Diffstat (limited to 'gas/testsuite/gasp/pl6.out')
-rw-r--r-- | gas/testsuite/gasp/pl6.out | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/gas/testsuite/gasp/pl6.out b/gas/testsuite/gasp/pl6.out new file mode 100644 index 00000000000..dcd16cf8314 --- /dev/null +++ b/gas/testsuite/gasp/pl6.out @@ -0,0 +1,54 @@ +! .ALTERNATE +!! test of expression operator + ! test of expression operator +!define MACRO val, string +! SDATA val +! SDATA string +! ENDM +! define "1","99%of100" ! notice % within string +! SDATA "1" + .byte 49 +! SDATA "99%of100" + .byte 57,57,37,111,102,49,48,48 +! define %1 + 2, "=3" +! SDATA 3 + .byte 51 +! SDATA "=3" + .byte 61,51 +! + +! + +! define % 1 + 2 %3+4 +! SDATA 3 + .byte 51 +! SDATA 7 + .byte 55 +! + +! define %3*4-2 <=10> +! SDATA 10 + .byte 49,48 +! SDATA "=10" + .byte 61,49,48 +! + +! define %3*4-2 5 +! SDATA 10 + .byte 49,48 +! SDATA 5 + .byte 53 +! + +! define %1 + 2,<is equal to %1 + 2, right?> +! SDATA 3 + .byte 51 +! SDATA "is equal to %1 + 2, right?" + .byte 105,115,32,101,113,117,97,108,32,116,111,32,37,49,32,43,32,50,44,32,114,105,103,104,116,63 +! + +! ! has no effect + ! has no effect +! + +! end |