mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
* 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.
This commit is contained in:
@ -43,6 +43,7 @@ for.d
|
|||||||
for.s
|
for.s
|
||||||
if.d
|
if.d
|
||||||
if.s
|
if.s
|
||||||
|
immconst.d
|
||||||
label.d
|
label.d
|
||||||
label.s
|
label.s
|
||||||
mri.exp
|
mri.exp
|
||||||
|
22
gas/testsuite/gas/mri/immconst.d
Normal file
22
gas/testsuite/gas/mri/immconst.d
Normal file
@ -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
|
Reference in New Issue
Block a user