Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
[deliverable/binutils-gdb.git] / gas / testsuite / gas / m68hc11 / insns.d
CommitLineData
60bcf0fa
NC
1#objdump: -d --prefix-addresses
2#as: -m68hc11
3#name: insns
4
5# Test handling of basic instructions.
6
7.*: +file format elf32\-m68hc11
8
9Disassembly of section .text:
100+000 <_start> lds #0+0400 <L1\+0x3a9>
110+003 <_start\+0x3> ldx #0+0001 <_start\+0x1>
120+006 <Loop> jsr 0+0010 <test>
130+009 <Loop\+0x3> dex
140+00a <Loop\+0x4> bne 0+0006 <Loop>
150+00c <Stop> .byte 0xcd, 0x03
160+00e <Stop\+0x2> bra 0+0000 <_start>
170+010 <test> ldd #0+0002 <_start\+0x2>
180+013 <test\+0x3> jsr 0+0017 <test2>
190+016 <test\+0x6> rts
200+017 <test2> ldx 23,y
210+01a <test2\+0x3> std 23,x
220+01c <test2\+0x5> ldd 0,x
230+01e <test2\+0x7> sty 0,y
240+021 <test2\+0xa> stx 0,y
250+024 <test2\+0xd> brclr 6,x #\$04 00000017 <test2>
260+028 <test2\+0x11> brclr 12,x #\$08 00000017 <test2>
270+02c <test2\+0x15> ldd \*0+0 <_start>
280+02e <test2\+0x17> ldx \*0+2 <_start\+0x2>
290+030 <test2\+0x19> clr 0+0 <_start>
300+033 <test2\+0x1c> clr 0+1 <_start\+0x1>
310+036 <test2\+0x1f> bne 0+34 <test2\+0x1d>
320+038 <test2\+0x21> beq 0+3c <test2\+0x25>
330+03a <test2\+0x23> bclr \*0+1 <_start\+0x1> #\$20
340+03d <test2\+0x26> brclr \*0+2 <_start\+0x2> #\$28 0+017 <test2>
350+041 <test2\+0x2a> ldy #0+ffec <L1\+0xff95>
360+045 <test2\+0x2e> ldd 12,y
370+048 <test2\+0x31> addd 44,y
380+04b <test2\+0x34> addd 50,y
390+04e <test2\+0x37> subd 0+02c <test2\+0x15>
400+051 <test2\+0x3a> subd #0+02c <test2\+0x15>
410+054 <test2\+0x3d> jmp 0000000c <Stop>
420+057 <L1> anda #23
430+059 <L1\+0x2> andb #0
440+05b <L1\+0x4> rts
This page took 0.028541 seconds and 4 git commands to generate.