* gas/m68hc11/malis.s: New test to verify compliance with Motorola
[deliverable/binutils-gdb.git] / gas / testsuite / gas / m68hc11 / lbranch-dwarf2.d
CommitLineData
68a581b8
SC
1#objdump: -S
2#as: -m68hc11 -gdwarf2
3#name: Dwarf2 test on lbranch.s
4#source: lbranch.s
5
6# Test handling of basic instructions.
7
8.*: +file format elf32\-m68hc11
9
10Disassembly of section .text:
11
120+0 <_rcall>:
13 .globl _rcall
14 .globl _start
15_start:
16_rcall:
17 ldaa \#0x10 ;86 10
18 0: 86 10 ldaa \#16
19 jbra Lend ; Must be switched to a jmp
20 2: 7e 01 0b jmp 10b <Lend>
21 jbsr toto ; \-> to a jsr
22 5: bd 01 1b jsr 11b <toto>
23 jbne toto ; \-> to a beq\+jmp
24 8: 27 03 beq d <_rcall\+0xd>
25 a: 7e 01 1b jmp 11b <toto>
26 jbeq toto ; -> to a bne\+jmp
27 d: 26 03 bne 12 <_rcall\+0x12>
28 f: 7e 01 1b jmp 11b <toto>
29 jbcs toto ; -> to a bcc\+jmp
30 12: 24 03 bcc 17 <_rcall\+0x17>
31 14: 7e 01 1b jmp 11b <toto>
32 jbcc toto ; -> to a bcs\+jmp
33 17: 25 03 bcs 1c <_rcall\+0x1c>
34 19: 7e 01 1b jmp 11b <toto>
35 xgdx
36 1c: 8f xgdx
37 xgdx
38 1d: 8f xgdx
39 beq bidule ; -> to a bne\+jmp
40 1e: 26 03 bne 23 <_rcall\+0x23>
41 20: 7e 01 80 jmp 180 <bidule>
42 bcs bidule ; -> to a bcc\+jmp
43 23: 24 03 bcc 28 <_rcall\+0x28>
44 25: 7e 01 80 jmp 180 <bidule>
45 bcc bidule ; -> to a bcs\+jmp
46 28: 25 03 bcs 2d <_rcall\+0x2d>
47 2a: 7e 01 80 jmp 180 <bidule>
48 xgdx
49 2d: 8f xgdx
50 jbra 200
51 2e: 7e 00 c8 jmp c8 <_rcall\+0xc8>
52 jbsr 1923
53 31: bd 07 83 jsr 783 <bidule\+0x603>
54 bne Lend ; -> to a beq\+jmp
55 34: 27 03 beq 39 <_rcall\+0x39>
56 36: 7e 01 0b jmp 10b <Lend>
57 jbsr toto
58 39: bd 01 1b jsr 11b <toto>
59 jbeq toto
60 3c: 26 03 bne 41 <_rcall\+0x41>
61 3e: 7e 01 1b jmp 11b <toto>
62 ...
63 .skip 200
64 ldaa \*dir ;96 33
65 109: 96 00 ldaa \*0 <_rcall>
66
670000010b <Lend>:
68Lend:
69 bhi external_op
70 10b: 23 03 bls 110 <Lend\+0x5>
71 10d: 7e 00 00 jmp 0 <_rcall>
72 bls external_op
73 110: 22 03 bhi 115 <Lend\+0xa>
74 112: 7e 00 00 jmp 0 <_rcall>
75 bsr out
76 115: bd 00 00 jsr 0 <_rcall>
77 ldx #12
78 118: ce 00 0c ldx #c <_rcall\+0xc>
79
800000011b <toto>:
81toto:
82 rts
83 11b: 39 rts
84 ...
85
8600000180 <bidule>:
87 .skip 100
88bidule:
89 rts
90 180: 39 rts
This page took 0.026668 seconds and 4 git commands to generate.