]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/z80/branch.d
Imported binutils-2.20
[msp430-binutils.git] / gas / testsuite / gas / z80 / branch.d
diff --git a/gas/testsuite/gas/z80/branch.d b/gas/testsuite/gas/z80/branch.d
new file mode 100644 (file)
index 0000000..c3a47a1
--- /dev/null
@@ -0,0 +1,54 @@
+#objdump: -d
+#name: branch instructions
+
+.*: .*
+
+Disassembly of section .text:
+
+0+ <.text>:
+[      ]+0:[   ]+c3 05 84[     ]+jp 0x8405
+[      ]+3:[   ]+da 05 84[     ]+jp c,0x8405
+[      ]+6:[   ]+d2 05 84[     ]+jp nc,0x8405
+[      ]+9:[   ]+ca 05 84[     ]+jp z,0x8405
+[      ]+c:[   ]+c2 05 84[     ]+jp nz,0x8405
+[      ]+f:[   ]+ea 05 84[     ]+jp pe,0x8405
+[      ]+12:[  ]+e2 05 84[     ]+jp po,0x8405
+[      ]+15:[  ]+fa 05 84[     ]+jp m,0x8405
+[      ]+18:[  ]+f2 05 84[     ]+jp p,0x8405
+[      ]+1b:[  ]+18 e3[        ]+jr (0x)?0+
+[      ]+1d:[  ]+38 e1[        ]+jr c,(0x)?0+
+[      ]+1f:[  ]+30 df[        ]+jr nc,(0x)?0+
+[      ]+21:[  ]+28 dd[        ]+jr z,(0x)?0+
+[      ]+23:[  ]+20 db[        ]+jr nz,(0x)?0+
+[      ]+25:[  ]+e9[   ]+jp \(hl\)
+[      ]+26:[  ]+dd e9[        ]+jp \(ix\)
+[      ]+28:[  ]+fd e9[        ]+jp \(iy\)
+[      ]+2a:[  ]+cd 05 84[     ]+call 0x8405
+[      ]+2d:[  ]+dc 05 84[     ]+call c,0x8405
+[      ]+30:[  ]+d4 05 84[     ]+call nc,0x8405
+[      ]+33:[  ]+cc 05 84[     ]+call z,0x8405
+[      ]+36:[  ]+c4 05 84[     ]+call nz,0x8405
+[      ]+39:[  ]+ec 05 84[     ]+call pe,0x8405
+[      ]+3c:[  ]+e4 05 84[     ]+call po,0x8405
+[      ]+3f:[  ]+fc 05 84[     ]+call m,0x8405
+[      ]+42:[  ]+f4 05 84[     ]+call p,0x8405
+[      ]+45:[  ]+10 b9[        ]+djnz (0x)?0+
+[      ]+47:[  ]+c9[   ]+ret
+[      ]+48:[  ]+d8[   ]+ret c
+[      ]+49:[  ]+d0[   ]+ret nc
+[      ]+4a:[  ]+c8[   ]+ret z
+[      ]+4b:[  ]+c0[   ]+ret nz
+[      ]+4c:[  ]+e8[   ]+ret pe
+[      ]+4d:[  ]+e0[   ]+ret po
+[      ]+4e:[  ]+f8[   ]+ret m
+[      ]+4f:[  ]+f0[   ]+ret p
+[      ]+50:[  ]+ed 4d[        ]+reti
+[      ]+52:[  ]+ed 45[        ]+retn
+[      ]+54:[  ]+c7[   ]+rst (0x)?0+
+[      ]+55:[  ]+cf[   ]+rst (0x0?)?8
+[      ]+56:[  ]+d7[   ]+rst 0x10
+[      ]+57:[  ]+df[   ]+rst 0x18
+[      ]+58:[  ]+e7[   ]+rst 0x20
+[      ]+59:[  ]+ef[   ]+rst 0x28
+[      ]+5a:[  ]+f7[   ]+rst 0x30
+[      ]+5b:[  ]+ff[   ]+rst 0x38
\ No newline at end of file