xgate1.d 719 B

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