3 #name
: Dwarf2
test on insns
.s
6 # Test handling of basic instructions
.
8 .*: +file format elf32\
-m68hc11
10 Disassembly of section
.text
:
18 0: 8e
04 00 lds #
400 <stack_end
>
20 3: ce
00 01 ldx #
1 <_start\
+0x1>
25 6: bd
00 00 jsr
0 <_start
>
32 c
: cd
03 .byte 0xcd, 0x03
38 e
: 20 f0 bra
0 <_start
>
44 10: cc
00 02 ldd #
2 <_start\
+0x2>
46 13: bd
00 00 jsr
0 <_start
>
70 24: 1f 06 04 ef brclr
6,x #\
$04 17 <test2
>
72 28: 1f 0c
08 eb brclr
12,x #\
$08 17 <test2
>
74 2c
: dc
00 ldd \
*0 <_start
>
76 2e
: de 02 ldx \
*2 <_start\
+0x2>
78 30: 7f 00 00 clr
0 <_start
>
80 33: 7f 00 01 clr
1 <_start\
+0x1>
82 36: 26 fc bne
34 <test2\
+0x1d>
84 38: 27 02 beq
3c
<test2\
+0x25>
86 3a
: 15 01 20 bclr \
*1 <_start\
+0x1> #\
$20
87 brclr \
*ZD2\
+2, #
40, test2
88 3d: 13 02 28 d6 brclr \
*2 <_start\
+0x2> #\
$28 17 <test2
>
90 41: 18 ce ff ec ldy #ffec
<stack_end\
+0xfbec>
94 48: 18 e3
2c addd
44,y
96 4b: 18 e3
32 addd
50,y
98 4e
: b3
00 2c subd
2c
<test2\
+0x15>
100 51: 83 00 2c subd #
2c
<test2\
+0x15>
102 54: 7e
00 00 jmp 0 <_start
>
110 ldab #
%page\
(test2\
) ; Check that the relocs are against symbol
112 ldy #
%addr\
(test2\
) ; otherwise linker relaxation fails
113 5d: 18 ce
00 00 ldy #
0 <_start
>