* gas/m68hc11/all.exp: Run the new test.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / m68hc11 / insns.d
CommitLineData
cd2b2939 1#objdump: -d --prefix-addresses --reloc
60bcf0fa
NC
2#as: -m68hc11
3#name: insns
4
5# Test handling of basic instructions.
6
7.*: +file format elf32\-m68hc11
8
9Disassembly of section .text:
cd2b2939
SC
100+0+ <_start> lds #0+0400 <L1\+0x3a9>
11[ ]+1: R_M68HC11_16 stack
120+0003 <_start\+0x3> ldx #0+0001 <_start\+0x1>
130+0006 <Loop> jsr 0+0+ <_start>
14[ ]+6: R_M68HC11_RL_JUMP \*ABS\*
15[ ]+7: R_M68HC11_16 test
160+0009 <Loop\+0x3> dex
170+000a <Loop\+0x4> bne 0+0006 <Loop>
18[ ]+a: R_M68HC11_RL_JUMP \*ABS\*
190+000c <Stop> .byte 0xcd, 0x03
200+000e <Stop\+0x2> bra 0+0+ <_start>
21[ ]+e: R_M68HC11_RL_JUMP \*ABS\*
220+0010 <test> ldd #0+0002 <_start\+0x2>
230+0013 <test\+0x3> jsr 0+0+ <_start>
24[ ]+13: R_M68HC11_RL_JUMP \*ABS\*
25[ ]+14: R_M68HC11_16 test2
260+0016 <test\+0x6> rts
270+0017 <test2> ldx 23,y
280+001a <test2\+0x3> std 23,x
290+001c <test2\+0x5> ldd 0,x
300+001e <test2\+0x7> sty 0,y
310+0021 <test2\+0xa> stx 0,y
320+0024 <test2\+0xd> brclr 6,x #\$04 0+0017 <test2>
33[ ]+24: R_M68HC11_RL_JUMP \*ABS\*
340+0028 <test2\+0x11> brclr 12,x #\$08 0+0017 <test2>
35[ ]+28: R_M68HC11_RL_JUMP \*ABS\*
360+002c <test2\+0x15> ldd \*0+0+ <_start>
37[ ]+2d: R_M68HC11_8 ZD1
380+002e <test2\+0x17> ldx \*0+0002 <_start\+0x2>
39[ ]+2f: R_M68HC11_8 ZD1
400+0030 <test2\+0x19> clr 0+0+ <_start>
41[ ]+31: R_M68HC11_16 ZD2
420+0033 <test2\+0x1c> clr 0+0001 <_start\+0x1>
43[ ]+34: R_M68HC11_16 ZD2
440+0036 <test2\+0x1f> bne 0+0034 <test2\+0x1d>
450+0038 <test2\+0x21> beq 0+003c <test2\+0x25>
460+003a <test2\+0x23> bclr \*0+0001 <_start\+0x1> #\$20
47[ ]+3b: R_M68HC11_8 ZD1
480+003d <test2\+0x26> brclr \*0+0002 <_start\+0x2> #\$28 0+0017 <test2>
49[ ]+3d: R_M68HC11_RL_JUMP \*ABS\*
50[ ]+3e: R_M68HC11_8 ZD2
510+0041 <test2\+0x2a> ldy #0+ffec <L1\+0xff95>
52[ ]+43: R_M68HC11_16 _start
530+0045 <test2\+0x2e> ldd 12,y
540+0048 <test2\+0x31> addd 44,y
550+004b <test2\+0x34> addd 50,y
560+004e <test2\+0x37> subd 0+002c <test2\+0x15>
570+0051 <test2\+0x3a> subd #0+002c <test2\+0x15>
580+0054 <test2\+0x3d> jmp 0+0+ <_start>
59[ ]+54: R_M68HC11_RL_JUMP \*ABS\*
60[ ]+55: R_M68HC11_16 Stop
610+0057 <L1> anda #23
62[ ]+58: R_M68HC11_LO8 .text
630+0059 <L1\+0x2> andb #0
64[ ]+5a: R_M68HC11_HI8 .text
650+005b <L1\+0x4> rts
This page took 0.109246 seconds and 4 git commands to generate.