| 1 |
#source: relax-direct.s |
| 2 |
#as: -m68hc11 |
| 3 |
#ld: --relax |
| 4 |
#objdump: -d --prefix-addresses -r |
| 5 |
#target: m6811-*-* m6812-*-* |
| 6 |
|
| 7 |
.*: +file format elf32-m68hc11 |
| 8 |
|
| 9 |
Disassembly of section .text: |
| 10 |
0+8000 <_start> lds \*0+28 <stack> |
| 11 |
0+8002 <_start\+0x2> ldd \*0+ <__bss_size> |
| 12 |
0+8004 <_start\+0x4> beq 0+800f <F1> |
| 13 |
0+8006 <_start\+0x6> bne 0+800b <_start\+0xb> |
| 14 |
0+8008 <_start\+0x8> jmp 0+8138 <F2> |
| 15 |
0+800b <_start\+0xb> std \*0+ <__bss_size> |
| 16 |
0+800d <_start\+0xd> jsr \*0+ <__bss_size> |
| 17 |
0+800f <F1> addd \*0+4 <_toto> |
| 18 |
0+8011 <F1\+0x2> bne 0+8000 <_start> |
| 19 |
0+8013 <F1\+0x4> addd \*0+cc <_table\+0x9a> |
| 20 |
0+8015 <F1\+0x6> addd 0+114 <_stack_top\+0x1a> |
| 21 |
0+8018 <F1\+0x9> adca \*0+34 <_table\+0x2> |
| 22 |
0+801a <F1\+0xb> adcb \*0+35 <_table\+0x3> |
| 23 |
0+801c <F1\+0xd> adda \*0+36 <_table\+0x4> |
| 24 |
0+801e <F1\+0xf> addb \*0+37 <_table\+0x5> |
| 25 |
0+8020 <F1\+0x11> addd \*0+38 <_table\+0x6> |
| 26 |
0+8022 <F1\+0x13> anda \*0+39 <_table\+0x7> |
| 27 |
0+8024 <F1\+0x15> andb \*0+3a <_table\+0x8> |
| 28 |
0+8026 <F1\+0x17> cmpa \*0+3b <_table\+0x9> |
| 29 |
0+8028 <F1\+0x19> cmpb \*0+3c <_table\+0xa> |
| 30 |
0+802a <F1\+0x1b> cpd \*0+3d <_table\+0xb> |
| 31 |
0+802d <F1\+0x1e> cpx \*0+3e <_table\+0xc> |
| 32 |
0+802f <F1\+0x20> cpy \*0+3f <_table\+0xd> |
| 33 |
0+8032 <F1\+0x23> eora \*0+40 <_table\+0xe> |
| 34 |
0+8034 <F1\+0x25> eorb \*0+41 <_table\+0xf> |
| 35 |
0+8036 <F1\+0x27> jsr \*0+42 <_table\+0x10> |
| 36 |
0+8038 <F1\+0x29> ldaa \*0+43 <_table\+0x11> |
| 37 |
0+803a <F1\+0x2b> ldab \*0+44 <_table\+0x12> |
| 38 |
0+803c <F1\+0x2d> ldd \*0+45 <_table\+0x13> |
| 39 |
0+803e <F1\+0x2f> lds \*0+46 <_table\+0x14> |
| 40 |
0+8040 <F1\+0x31> ldx \*0+47 <_table\+0x15> |
| 41 |
0+8042 <F1\+0x33> ldy \*0+48 <_table\+0x16> |
| 42 |
0+8045 <F1\+0x36> oraa \*0+49 <_table\+0x17> |
| 43 |
0+8047 <F1\+0x38> orab \*0+4a <_table\+0x18> |
| 44 |
0+8049 <F1\+0x3a> sbcb \*0+4b <_table\+0x19> |
| 45 |
0+804b <F1\+0x3c> sbca \*0+4c <_table\+0x1a> |
| 46 |
0+804d <F1\+0x3e> staa \*0+4d <_table\+0x1b> |
| 47 |
0+804f <F1\+0x40> stab \*0+4e <_table\+0x1c> |
| 48 |
0+8051 <F1\+0x42> std \*0+4f <_table\+0x1d> |
| 49 |
0+8053 <F1\+0x44> sts \*0+50 <_table\+0x1e> |
| 50 |
0+8055 <F1\+0x46> stx \*0+51 <_table\+0x1f> |
| 51 |
0+8057 <F1\+0x48> sty \*0+52 <_table\+0x20> |
| 52 |
0+805a <F1\+0x4b> suba \*0+53 <_table\+0x21> |
| 53 |
0+805c <F1\+0x4d> subb \*0+54 <_table\+0x22> |
| 54 |
0+805e <F1\+0x4f> subd \*0+55 <_table\+0x23> |
| 55 |
0+8060 <F1\+0x51> bne 0+8000 <_start> |
| 56 |
0+8062 <F1\+0x53> bra 0+800f <F1> |
| 57 |
0+8064 <F1\+0x55> rts |
| 58 |
0+8065 <no_relax> addd 0+136 <_stack_top\+0x3c> |
| 59 |
0+8068 <no_relax\+0x3> std 0+122 <_stack_top\+0x28> |
| 60 |
0+806b <no_relax\+0x6> tst 0+5 <_toto\+0x1> |
| 61 |
0+806e <no_relax\+0x9> bne 0+8065 <no_relax> |
| 62 |
... |
| 63 |
0+8138 <F2> jmp 0+8000 <_start> |