summaryrefslogtreecommitdiff
path: root/z80inst.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-01-23 21:50:54 -0800
committerMike Pavone <pavone@retrodev.com>2013-01-23 21:50:54 -0800
commite15ad8ec1487133ddda6d0359f6e5f9543b12865 (patch)
treece9adf1927a3dc82e2d12ae2f42fcdab41bd8d99 /z80inst.h
parent532920c4aa8b2ecbabc0901e2d6fe1c609605f81 (diff)
Add support for IX bit instructions to decoder
Diffstat (limited to 'z80inst.h')
-rw-r--r--z80inst.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/z80inst.h b/z80inst.h
index 607d68c..67c41d5 100644
--- a/z80inst.h
+++ b/z80inst.h
@@ -92,10 +92,12 @@ enum {
Z80_AF,
Z80_IX,
Z80_IY,
- Z80_USE_IMMED,
Z80_UNUSED
};
+#define Z80_IMMED_FLAG 0x80
+#define Z80_USE_IMMED (Z80_IMMED_FLAG|Z80_UNUSED)
+
enum {
Z80_CC_NZ,
Z80_CC_Z,