* gas/mips/abs.d, gas/mips/add.d, gas/mips/and.d,
[external/binutils.git] / gas / testsuite / gas / mips / beq.d
1 #objdump: -dr --prefix-addresses -mmips:4000
2 #name: MIPS beq
3 #as: -32
4
5 # Test the beq macro.
6
7 .*: +file format .*mips.*
8
9 Disassembly of section .text:
10 0+0000 <[^>]*> beq      a0,a1,0+0000 <text_label>
11 0+0004 <[^>]*> nop
12 0+0008 <[^>]*> beqz     a0,0+0000 <text_label>
13 0+000c <[^>]*> nop
14 0+0010 <[^>]*> li       at,1
15 0+0014 <[^>]*> beq      a0,at,0+0000 <text_label>
16 0+0018 <[^>]*> nop
17 0+001c <[^>]*> li       at,0x8000
18 0+0020 <[^>]*> beq      a0,at,0+0000 <text_label>
19 0+0024 <[^>]*> nop
20 0+0028 <[^>]*> li       at,-32768
21 0+002c <[^>]*> beq      a0,at,0+0000 <text_label>
22 0+0030 <[^>]*> nop
23 0+0034 <[^>]*> lui      at,0x1
24 0+0038 <[^>]*> beq      a0,at,0+0000 <text_label>
25 0+003c <[^>]*> nop
26 0+0040 <[^>]*> lui      at,0x1
27 0+0044 <[^>]*> ori      at,at,0xa5a5
28 0+0048 <[^>]*> beq      a0,at,0+0000 <text_label>
29 0+004c <[^>]*> nop
30 0+0050 <[^>]*> bnez     a0,0+0000 <text_label>
31 0+0054 <[^>]*> nop
32 0+0058 <[^>]*> beqzl    a0,0+0000 <text_label>
33 0+005c <[^>]*> nop
34 0+0060 <[^>]*> bnezl    a0,0+0000 <text_label>
35 0+0064 <[^>]*> nop
36         ...
37 0+20068 <[^>]*> j       0+0000 <text_label>
38 [       ]*20068: (MIPS_JMP|JMPADDR|R_MIPS_26)   .text
39 0+2006c <[^>]*> nop
40 0+20070 <[^>]*> jal     0+0000 <text_label>
41 [       ]*20070: (MIPS_JMP|JMPADDR|R_MIPS_26)   .text
42 0+20074 <[^>]*> nop
43 #0+20078 <[^>]*> b      0+20078 <text_label\+0x20078>
44 #[      ]*20078: R_MIPS_PC16    external_label
45 #0+2007c <[^>]*> nop
46 #0+20080 <[^>]*> bal    0+20080 <text_label\+0x20080>
47 #[      ]*20080: R_MIPS_PC16    external_label
48 #0+20084 <[^>]*> nop
49         ...