#objdump: -d --prefix-addresses --reloc #as: -m68hc11 #name: insns # Test handling of basic instructions. .*: +file format elf32\-m68hc11 Disassembly of section .text: 0+0+ <_start> lds #0+0400 [ ]+1: R_M68HC11_16 stack 0+0003 <_start\+0x3> ldx #0+0001 <_start\+0x1> 0+0006 jsr 0+0+ <_start> [ ]+6: R_M68HC11_RL_JUMP \*ABS\* [ ]+7: R_M68HC11_16 test 0+0009 dex 0+000a bne 0+0006 [ ]+a: R_M68HC11_RL_JUMP \*ABS\* 0+000c .byte 0xcd, 0x03 0+000e bra 0+0+ <_start> [ ]+e: R_M68HC11_RL_JUMP \*ABS\* 0+0010 ldd #0+0002 <_start\+0x2> 0+0013 jsr 0+0+ <_start> [ ]+13: R_M68HC11_RL_JUMP \*ABS\* [ ]+14: R_M68HC11_16 test2 0+0016 rts 0+0017 ldx 23,y 0+001a std 23,x 0+001c ldd 0,x 0+001e sty 0,y 0+0021 stx 0,y 0+0024 brclr 6,x #\$04 0+0017 [ ]+24: R_M68HC11_RL_JUMP \*ABS\* 0+0028 brclr 12,x #\$08 0+0017 [ ]+28: R_M68HC11_RL_JUMP \*ABS\* 0+002c ldd \*0+0+ <_start> [ ]+2d: R_M68HC11_8 ZD1 0+002e ldx \*0+0002 <_start\+0x2> [ ]+2f: R_M68HC11_8 ZD1 0+0030 clr 0+0+ <_start> [ ]+31: R_M68HC11_16 ZD2 0+0033 clr 0+0001 <_start\+0x1> [ ]+34: R_M68HC11_16 ZD2 0+0036 bne 0+0034 0+0038 beq 0+003c 0+003a bclr \*0+0001 <_start\+0x1> #\$20 [ ]+3b: R_M68HC11_8 ZD1 0+003d brclr \*0+0002 <_start\+0x2> #\$28 0+0017 [ ]+3d: R_M68HC11_RL_JUMP \*ABS\* [ ]+3e: R_M68HC11_8 ZD2 0+0041 ldy #0+ffec [ ]+43: R_M68HC11_16 _start 0+0045 ldd 12,y 0+0048 addd 44,y 0+004b addd 50,y 0+004e subd 0+002c 0+0051 subd #0+002c 0+0054 jmp 0+0+ <_start> [ ]+54: R_M68HC11_RL_JUMP \*ABS\* [ ]+55: R_M68HC11_16 Stop 0+0057 anda #23 [ ]+58: R_M68HC11_LO8 \.text 0+0059 andb #0 [ ]+5a: R_M68HC11_HI8 \.text 0+5b ldab #0 [ ]+5c: R_M68HC11_PAGE test2 0+5d ldy #0+ <_start> [ ]+5f: R_M68HC11_LO16 test2 0+61 rts