summaryrefslogtreecommitdiffstats
path: root/gas/testsuite/gasp/pl6.asm
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-05-03 07:29:11 +0000
committerRichard Henderson <rth@redhat.com>1999-05-03 07:29:11 +0000
commit252b5132c753830d5fd56823373aed85f2a0db63 (patch)
tree1af963bfd8d3e55167b81def4207f175eaff3a56 /gas/testsuite/gasp/pl6.asm
downloadppe42-binutils-252b5132c753830d5fd56823373aed85f2a0db63.tar.gz
ppe42-binutils-252b5132c753830d5fd56823373aed85f2a0db63.zip
19990502 sourceware import
Diffstat (limited to 'gas/testsuite/gasp/pl6.asm')
-rw-r--r--gas/testsuite/gasp/pl6.asm21
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
OpenPOWER on IntegriCloud