MIPS: Verify the ISA mode and alignment of branch and jump targets
[external/binutils.git] / gas / testsuite / gas / mips / branch-local-3.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         .set    mips32r6
17         .ent    bar
18 bar:
19         nor     $0, $0
20         bc      foo
21         nor     $0, $0
22         beqzc   $2, foo
23          nor    $0, $0
24         jalr    $0, $ra
25          nor    $0, $0
26         .end    bar
27
28 # Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
29         .align  4, 0
30         .space  16