From: Ian Lance Taylor Date: Fri, 17 Nov 1995 15:36:38 +0000 (+0000) Subject: * gas/mri/immconst.d: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a42cadde4497f61c009dfd175664bd18aa559b4f;p=binutils-gdb.git * 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. --- diff --git a/gas/testsuite/gas/mri/.Sanitize b/gas/testsuite/gas/mri/.Sanitize index 10c334580fd..0a105f6c675 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 00000000000..531affdf7c7 --- /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 moveq #10,%d0 +0+002 moveq #10,%d0 +0+004 moveq #10,%d0 +0+006 moveq #10,%d0 +0+008 moveq #10,%d0 +0+00a moveq #10,%d0 +0+00c moveq #10,%d0 +0+00e moveq #10,%d0 +0+010 moveq #10,%d0 +0+012 moveq #97,%d0 +0+014 moveq #97,%d0 +0+016 nop