2010-01-06 Quentin Neill <quentin.neill@amd.com>
[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
cd2b2939 120+00 <_rcall>:
a696b49e 13#...
68a581b8
SC
14 .globl _rcall
15 .globl _start
16_start:
17_rcall:
cd2b2939
SC
18 ldaa #0x10 ;86 10
19 0: 86 10 ldaa #16
68a581b8 20 jbra Lend ; Must be switched to a jmp
cd2b2939
SC
21 2: 7e 00 00 jmp 0 <_rcall>
22 jbsr toto ; -> to a jsr
23 5: bd 00 00 jsr 0 <_rcall>
24 jbne toto ; -> to a beq\+jmp
68a581b8 25 8: 27 03 beq d <_rcall\+0xd>
cd2b2939 26 a: 7e 00 00 jmp 0 <_rcall>
68a581b8
SC
27 jbeq toto ; -> to a bne\+jmp
28 d: 26 03 bne 12 <_rcall\+0x12>
cd2b2939 29 f: 7e 00 00 jmp 0 <_rcall>
68a581b8
SC
30 jbcs toto ; -> to a bcc\+jmp
31 12: 24 03 bcc 17 <_rcall\+0x17>
cd2b2939 32 14: 7e 00 00 jmp 0 <_rcall>
68a581b8
SC
33 jbcc toto ; -> to a bcs\+jmp
34 17: 25 03 bcs 1c <_rcall\+0x1c>
cd2b2939 35 19: 7e 00 00 jmp 0 <_rcall>
68a581b8
SC
36 xgdx
37 1c: 8f xgdx
38 xgdx
39 1d: 8f xgdx
40 beq bidule ; -> to a bne\+jmp
41 1e: 26 03 bne 23 <_rcall\+0x23>
cd2b2939 42 20: 7e 00 00 jmp 0 <_rcall>
68a581b8
SC
43 bcs bidule ; -> to a bcc\+jmp
44 23: 24 03 bcc 28 <_rcall\+0x28>
cd2b2939 45 25: 7e 00 00 jmp 0 <_rcall>
68a581b8
SC
46 bcc bidule ; -> to a bcs\+jmp
47 28: 25 03 bcs 2d <_rcall\+0x2d>
cd2b2939 48 2a: 7e 00 00 jmp 0 <_rcall>
68a581b8
SC
49 xgdx
50 2d: 8f xgdx
51 jbra 200
52 2e: 7e 00 c8 jmp c8 <_rcall\+0xc8>
53 jbsr 1923
a80d50fc 54 31: bd 07 83 jsr 783 <L0\ 1\+0x602>
68a581b8
SC
55 bne Lend ; -> to a beq\+jmp
56 34: 27 03 beq 39 <_rcall\+0x39>
cd2b2939 57 36: 7e 00 00 jmp 0 <_rcall>
68a581b8 58 jbsr toto
cd2b2939 59 39: bd 00 00 jsr 0 <_rcall>
68a581b8
SC
60 jbeq toto
61 3c: 26 03 bne 41 <_rcall\+0x41>
cd2b2939 62 3e: 7e 00 00 jmp 0 <_rcall>
68a581b8
SC
63 ...
64 .skip 200
65 ldaa \*dir ;96 33
66 109: 96 00 ldaa \*0 <_rcall>
67
680000010b <Lend>:
69Lend:
70 bhi external_op
71 10b: 23 03 bls 110 <Lend\+0x5>
72 10d: 7e 00 00 jmp 0 <_rcall>
73 bls external_op
74 110: 22 03 bhi 115 <Lend\+0xa>
75 112: 7e 00 00 jmp 0 <_rcall>
76 bsr out
77 115: bd 00 00 jsr 0 <_rcall>
78 ldx #12
79 118: ce 00 0c ldx #c <_rcall\+0xc>
80
810000011b <toto>:
82toto:
83 rts
84 11b: 39 rts
85 ...
86
8700000180 <bidule>:
88 .skip 100
89bidule:
90 rts
91 180: 39 rts
This page took 0.403122 seconds and 4 git commands to generate.