summaryrefslogtreecommitdiff
path: root/z80inst.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-01-22 20:21:05 -0800
committerMike Pavone <pavone@retrodev.com>2013-01-22 20:21:05 -0800
commit5b37f044e00102230263c33d0b45b55d0716671b (patch)
tree5d1d9cb6214a01997a12329a61d73326ea73e4af /z80inst.h
parentb8475ee5c4ae7b245b8bd761424eb246d2538e2d (diff)
Add support for 2-byte IX instructions to decoder
Diffstat (limited to 'z80inst.h')
-rw-r--r--z80inst.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/z80inst.h b/z80inst.h
index c35f0a6..b5f0e9f 100644
--- a/z80inst.h
+++ b/z80inst.h
@@ -79,6 +79,8 @@ enum {
Z80_H,
Z80_L,
Z80_A=7,
+ Z80_IXH,
+ Z80_IXL,
Z80_I,
Z80_R,
Z80_BC,
@@ -86,6 +88,8 @@ enum {
Z80_HL,
Z80_SP,
Z80_AF,
+ Z80_IX,
+ Z80_IY,
Z80_USE_IMMED,
Z80_UNUSED
};
@@ -106,7 +110,8 @@ enum {
Z80_REG_INDIRECT,
Z80_IMMED,
Z80_IMMED_INDIRECT,
- Z80_REG_DISPLACE
+ Z80_IX_DISPLACE,
+ Z80_IY_DISPLACE
};
#define Z80_DIR 0x80