]>
Commit | Line | Data |
---|---|---|
6927f982 NC |
1 | #as: -mm9s12xg |
2 | #source: xgate1.s | |
3 | #source: xgate2.s | |
4 | #ld: --relax -mm68hc12elf | |
5 | #objdump: -d --prefix-addresses -r -mm9s12xg | |
6 | ||
7 | tmpdir/dump: file format elf32-m68hc12 | |
8 | ||
9 | ||
10 | Disassembly of section .text: | |
11 | 00008000 <_start> ldl R1, \#0x00 | |
12 | 00008002 <_start\+0x2> ldh R1, \#0x11 | |
13 | 00008004 <_start\+0x4> sub R0, R1, R0 | |
14 | 00008006 <_start\+0x6> beq 0x0+8010 <linked_ad1> | |
15 | 00008008 <_start\+0x8> sub R0, R2, R0 | |
16 | 0000800a <_start\+0xa> beq 0x0+800e <the_end> | |
17 | 0000800c <_start\+0xc> bra 0x0+8018 <linked_ad2> | |
18 | 0000800e <the_end> rts | |
19 | 00008010 <linked_ad1> cmpl R4, \#0x01 | |
20 | 00008012 <linked_ad1\+0x2> bne 0x0+8018 <linked_ad2> | |
21 | 00008014 <label1> nop | |
22 | 00008016 <label1\+0x2> par R5 | |
23 | 00008018 <linked_ad2> csem \#0x2 | |
24 | 0000801a <linked_ad2\+0x2> rts |