MIPS/opcodes: Correct mixed MIPS16 and microMIPS disassembly
[external/binutils.git] / binutils / testsuite / binutils-all / mips / mixed-mips16-micromips.d
1 #PROG: objcopy
2 #objdump: -drt
3 #name: Mixed MIPS16 and microMIPS disassembly
4
5 # Test mixed-mode compressed disassembly.
6
7 .*: +file format .*mips.*
8
9 SYMBOL TABLE:
10 #...
11 [0-9a-f]+ g +F +\.text  0+00000c 0xf0 foo
12 #...
13 [0-9a-f]+ g +F +\.text  0+00000c 0x80 bar
14
15 Disassembly of section \.text:
16 [0-9a-f]+ <foo>:
17  +[0-9a-f]+:    b202            lw      v0,8 <\.foo\.data>
18  +[0-9a-f]+:    9a60            lw      v1,0\(v0\)
19  +[0-9a-f]+:    eb00            jr      v1
20  +[0-9a-f]+:    653b            move    t9,v1
21
22 [0-9a-f]+ <\.foo\.data>:
23  +[0-9a-f]+:    4040 4040 0000 0000                         @@@@\.\.\.\.
24
25 [0-9a-f]+ <bar>:
26  +[0-9a-f]+:    41a3 0000       lui     v1,0x0
27  +[0-9a-f]+:    ff23 0000       lw      t9,0\(v1\)
28  +[0-9a-f]+:    45b9            jrc     t9
29  +[0-9a-f]+:    0c00            nop
30         \.\.\.