Fix MIPS disassembler so that it produces reassemblable code.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / beq.d
CommitLineData
252b5132
RH
1#objdump: -dr --prefix-addresses -mmips:4000
2#name: MIPS beq
3
4# Test the beq macro.
5
6.*: +file format .*mips.*
7
8Disassembly of section .text:
aa5f19f2 90+0000 <[^>]*> beq a0,a1,0+0000 <text_label>
252b5132 100+0004 <[^>]*> nop
aa5f19f2 110+0008 <[^>]*> beqz a0,0+0000 <text_label>
252b5132 120+000c <[^>]*> nop
aa5f19f2
NC
130+0010 <[^>]*> li at,1
140+0014 <[^>]*> beq a0,at,0+0000 <text_label>
252b5132 150+0018 <[^>]*> nop
aa5f19f2
NC
160+001c <[^>]*> li at,0x8000
170+0020 <[^>]*> beq a0,at,0+0000 <text_label>
252b5132 180+0024 <[^>]*> nop
aa5f19f2
NC
190+0028 <[^>]*> li at,-32768
200+002c <[^>]*> beq a0,at,0+0000 <text_label>
252b5132 210+0030 <[^>]*> nop
aa5f19f2
NC
220+0034 <[^>]*> lui at,0x1
230+0038 <[^>]*> beq a0,at,0+0000 <text_label>
252b5132 240+003c <[^>]*> nop
aa5f19f2
NC
250+0040 <[^>]*> lui at,0x1
260+0044 <[^>]*> ori at,at,0xa5a5
270+0048 <[^>]*> beq a0,at,0+0000 <text_label>
252b5132 280+004c <[^>]*> nop
aa5f19f2 290+0050 <[^>]*> bnez a0,0+0000 <text_label>
252b5132 300+0054 <[^>]*> nop
aa5f19f2 310+0058 <[^>]*> beqzl a0,0+0000 <text_label>
252b5132 320+005c <[^>]*> nop
aa5f19f2 330+0060 <[^>]*> bnezl a0,0+0000 <text_label>
252b5132
RH
34 ...
350+20068 <[^>]*> j 0+0000 <text_label>
36[ ]*20068: (MIPS_JMP|JMPADDR|R_MIPS_26) .text
370+2006c <[^>]*> nop
380+20070 <[^>]*> jal 0+0000 <text_label>
39[ ]*20070: (MIPS_JMP|JMPADDR|R_MIPS_26) .text
40 ...
This page took 0.077373 seconds and 4 git commands to generate.