Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / m32r / fslot.s
1 # Test the FILL-SLOT attribute.
2 # The FILL-SLOT attribute ensures the next insn begins on a 32 byte boundary.
3 # This is needed for example with bl because the subroutine will return
4 # to a 32 bit boundary.
5
6         .text
7 bl:
8         bl bl
9         ldi r0,#8
10 bl_s:
11         bl.s bl_s
12         ldi r0,#8
13
14 bra:
15         bra bra
16         ldi r0,#8
17 bra_s:
18         bra.s bra_s
19         ldi r0,#8
20
21 jl:
22         jl r0
23         ldi r0,#8
24
25 trap:
26         trap #4
27         ldi r0,#8