Home | History | Annotate | Download | only in m68hc11
      1 #objdump: -d --prefix-addresses --reloc
      2 #as: -m68hc11
      3 #name: insns
      4 
      5 # Test handling of basic instructions.
      6 
      7 .*: +file format elf32\-m68hc11
      8 
      9 Disassembly of section .text:
     10 0+0+ <_start> lds	#0x0+0400 <stack_end>
     11 [	]+1: R_M68HC11_16	stack
     12 0+0003 <_start\+0x3> ldx	#0x0+0001 <_start\+0x1>
     13 0+0006 <Loop> jsr	0x0+0+ <_start>
     14 [	]+6: R_M68HC11_RL_JUMP	\*ABS\*
     15 [	]+7: R_M68HC11_16	test
     16 0+0009 <Loop\+0x3> dex
     17 0+000a <Loop\+0x4> bne	0x0+0006 <Loop>
     18 [	]+a: R_M68HC11_RL_JUMP	\*ABS\*
     19 0+000c <Stop> .byte	0xcd, 0x03
     20 0+000e <Stop\+0x2> bra	0x0+0+ <_start>
     21 [	]+e: R_M68HC11_RL_JUMP	\*ABS\*
     22 0+0010 <test> ldd	#0x0+0002 <_start\+0x2>
     23 0+0013 <test\+0x3> jsr	0x0+0+ <_start>
     24 [	]+13: R_M68HC11_RL_JUMP	\*ABS\*
     25 [	]+14: R_M68HC11_16	test2
     26 0+0016 <test\+0x6> rts
     27 0+0017 <test2> ldx	0x17,y
     28 0+001a <test2\+0x3> std	0x17,x
     29 0+001c <test2\+0x5> ldd	0x0,x
     30 0+001e <test2\+0x7> sty	0x0,y
     31 0+0021 <test2\+0xa> stx	0x0,y
     32 0+0024 <test2\+0xd> brclr	0x6,x, #0x04, 0x0+0017 <test2>
     33 [	]+24: R_M68HC11_RL_JUMP	\*ABS\*
     34 0+0028 <test2\+0x11> brclr	0xc,x, #0x08, 0x0+0017 <test2>
     35 [	]+28: R_M68HC11_RL_JUMP	\*ABS\*
     36 0+002c <test2\+0x15> ldd	\*0x0+0+ <_start>
     37 [	]+2d: R_M68HC11_8	ZD1
     38 0+002e <test2\+0x17> ldx	\*0x0+0002 <_start\+0x2>
     39 [	]+2f: R_M68HC11_8	ZD1
     40 0+0030 <test2\+0x19> clr	0x0+0+ <_start>
     41 [	]+31: R_M68HC11_16	ZD2
     42 0+0033 <test2\+0x1c> clr	0x0+0001 <_start\+0x1>
     43 [	]+34: R_M68HC11_16	ZD2
     44 0+0036 <test2\+0x1f> bne	0x0+0034 <test2\+0x1d>
     45 0+0038 <test2\+0x21> beq	0x0+003c <test2\+0x25>
     46 0+003a <test2\+0x23> bclr	\*0x0+0001 <_start\+0x1>, #0x20
     47 [	]+3b: R_M68HC11_8	ZD1
     48 0+003d <test2\+0x26> brclr	\*0x0+0002 <_start\+0x2>, #0x28, 0x0+0017 <test2>
     49 [	]+3d: R_M68HC11_RL_JUMP	\*ABS\*
     50 [	]+3e: R_M68HC11_8	ZD2
     51 0+0041 <test2\+0x2a> ldy	#0x0+ffec <stack_end\+0xfbec>
     52 [	]+43: R_M68HC11_16	_start
     53 0+0045 <test2\+0x2e> ldd	0xc,y
     54 0+0048 <test2\+0x31> addd	0x2c,y
     55 0+004b <test2\+0x34> addd	0x32,y
     56 0+004e <test2\+0x37> subd	0x0+002c <test2\+0x15>
     57 0+0051 <test2\+0x3a> subd	#0x0+002c <test2\+0x15>
     58 0+0054 <test2\+0x3d> jmp	0x0+0+ <_start>
     59 [	]+54: R_M68HC11_RL_JUMP	\*ABS\*
     60 [	]+55: R_M68HC11_16	Stop
     61 0+0057 <L1> anda	#0x17
     62 [	]+58: R_M68HC11_LO8	\.text
     63 0+0059 <L1\+0x2> andb	#0x0
     64 [	]+5a: R_M68HC11_HI8	\.text
     65 0+5b <L1\+0x4> ldab	#0x0
     66 [	]+5c: R_M68HC11_PAGE	test2
     67 0+5d <L1\+0x6> ldy	#0x0+ <_start>
     68 [	]+5f: R_M68HC11_LO16	test2
     69 0+61 <L1\+0xa> rts
     70