MIPS: Verify the ISA mode and alignment of branch and jump targets
[external/binutils.git] / gas / testsuite / gas / mips / branch-local-n32-2.s
1         .text
2         .set    noreorder
3         .space  0x1000
4
5         .align  4
6         .set    micromips
7         .ent    foo
8 foo:
9         nor     $0, $0
10         jalr    $0, $ra
11          nor    $0, $0
12         .end    foo
13
14         .align  4
15         .set    nomicromips
16         .ent    bar
17 bar:
18         nor     $0, $0
19         b       foo
20          nor    $0, $0
21         bne     $2, $3, foo
22          nor    $0, $0
23         bgezal  $2, foo
24          nor    $0, $0
25         bltzal  $2, foo
26          nor    $0, $0
27         jalr    $0, $ra
28          nor    $0, $0
29         .end    bar
30
31 # Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
32         .align  4, 0
33         .space  16