3 #name: Dwarf2 test on lbranch.s
6 # Test handling of basic instructions.
8 .*: +file format elf32\-m68hc11
10 Disassembly of section .text:
20 jbra Lend ; Must be switched to a jmp
21 2: 7e 00 00 jmp 0x0 <_rcall>
22 jbsr toto ; -> to a jsr
23 5: bd 00 00 jsr 0x0 <_rcall>
24 jbne toto ; -> to a beq\+jmp
25 8: 27 03 beq 0xd <_rcall\+0xd>
26 a: 7e 00 00 jmp 0x0 <_rcall>
27 jbeq toto ; -> to a bne\+jmp
28 d: 26 03 bne 0x12 <_rcall\+0x12>
29 f: 7e 00 00 jmp 0x0 <_rcall>
30 jbcs toto ; -> to a bcc\+jmp
31 12: 24 03 bcc 0x17 <_rcall\+0x17>
32 14: 7e 00 00 jmp 0x0 <_rcall>
33 jbcc toto ; -> to a bcs\+jmp
34 17: 25 03 bcs 0x1c <_rcall\+0x1c>
35 19: 7e 00 00 jmp 0x0 <_rcall>
40 beq bidule ; -> to a bne\+jmp
41 1e: 26 03 bne 0x23 <_rcall\+0x23>
42 20: 7e 00 00 jmp 0x0 <_rcall>
43 bcs bidule ; -> to a bcc\+jmp
44 23: 24 03 bcc 0x28 <_rcall\+0x28>
45 25: 7e 00 00 jmp 0x0 <_rcall>
46 bcc bidule ; -> to a bcs\+jmp
47 28: 25 03 bcs 0x2d <_rcall\+0x2d>
48 2a: 7e 00 00 jmp 0x0 <_rcall>
52 2e: 7e 00 c8 jmp 0xc8 <_rcall\+0xc8>
54 31: bd 07 83 jsr 0x783 <L0
\ 1\+0x602>
55 bne Lend ; -> to a beq\+jmp
56 34: 27 03 beq 0x39 <_rcall\+0x39>
57 36: 7e 00 00 jmp 0x0 <_rcall>
59 39: bd 00 00 jsr 0x0 <_rcall>
61 3c: 26 03 bne 0x41 <_rcall\+0x41>
62 3e: 7e 00 00 jmp 0x0 <_rcall>
66 109: 96 00 ldaa \*0x0 <_rcall>
71 10b: 23 03 bls 0x110 <Lend\+0x5>
72 10d: 7e 00 00 jmp 0x0 <_rcall>
74 110: 22 03 bhi 0x115 <Lend\+0xa>
75 112: 7e 00 00 jmp 0x0 <_rcall>
77 115: bd 00 00 jsr 0x0 <_rcall>
79 118: ce 00 0c ldx #0xc <_rcall\+0xc>