* gas/mri/immconst.d: New test.
authorIan Lance Taylor <ian@airs.com>
Fri, 17 Nov 1995 15:36:38 +0000 (15:36 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 17 Nov 1995 15:36:38 +0000 (15:36 +0000)
* gas/mri/mri.exp: Run it.
* gas/mri/constants.s: Test immediate constants.
* gas/mri/constants.d: Corresponding change.

gas/testsuite/gas/mri/.Sanitize
gas/testsuite/gas/mri/immconst.d [new file with mode: 0644]

index 10c334580fd76e109623616ba5927dbf8e3452d7..0a105f6c67525183f9d4fe2b4762bfb0908f7e63 100644 (file)
@@ -43,6 +43,7 @@ for.d
 for.s
 if.d
 if.s
+immconst.d
 label.d
 label.s
 mri.exp
diff --git a/gas/testsuite/gas/mri/immconst.d b/gas/testsuite/gas/mri/immconst.d
new file mode 100644 (file)
index 0000000..531affd
--- /dev/null
@@ -0,0 +1,22 @@
+#objdump: -d
+#name: MRI immediate constants
+#as: -M
+#source: constants.s
+
+# Test MRI immediate constants
+
+.*:     file format .*
+
+Disassembly of section .text:
+0+000 <foo> moveq #10,%d0
+0+002 <foo\+2> moveq #10,%d0
+0+004 <foo\+4> moveq #10,%d0
+0+006 <foo\+6> moveq #10,%d0
+0+008 <foo\+8> moveq #10,%d0
+0+00a <foo\+a> moveq #10,%d0
+0+00c <foo\+c> moveq #10,%d0
+0+00e <foo\+e> moveq #10,%d0
+0+010 <foo\+10> moveq #10,%d0
+0+012 <foo\+12> moveq #97,%d0
+0+014 <foo\+14> moveq #97,%d0
+0+016 <foo\+16> nop
This page took 0.026555 seconds and 4 git commands to generate.