diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-11-17 15:36:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-11-17 15:36:38 +0000 |
commit | a42cadde4497f61c009dfd175664bd18aa559b4f (patch) | |
tree | e08805a37f0d88050adfeb05a2f130827301ff06 /gas/testsuite | |
parent | 73a684473dcce81a3bd79a8be994e9b8dba8199e (diff) | |
download | gdb-a42cadde4497f61c009dfd175664bd18aa559b4f.zip gdb-a42cadde4497f61c009dfd175664bd18aa559b4f.tar.gz gdb-a42cadde4497f61c009dfd175664bd18aa559b4f.tar.bz2 |
* gas/mri/immconst.d: New test.
* gas/mri/mri.exp: Run it.
* gas/mri/constants.s: Test immediate constants.
* gas/mri/constants.d: Corresponding change.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/mri/.Sanitize | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/mri/immconst.d | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mri/.Sanitize b/gas/testsuite/gas/mri/.Sanitize index 10c3345..0a105f6 100644 --- a/gas/testsuite/gas/mri/.Sanitize +++ b/gas/testsuite/gas/mri/.Sanitize @@ -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 index 0000000..531affd --- /dev/null +++ b/gas/testsuite/gas/mri/immconst.d @@ -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 |