diff z80inst.h @ 1044:1625555e346e

Properly handle redundant prefixes
author Michael Pavone <pavone@retrodev.com>
date Mon, 25 Jul 2016 23:16:04 -0700
parents 140af5509ce7
children b6c5a0fa3dfc
line wrap: on
line diff
--- a/z80inst.h	Sun Jul 24 18:53:22 2016 -0700
+++ b/z80inst.h	Mon Jul 25 23:16:04 2016 -0700
@@ -76,7 +76,8 @@
 	Z80_OUTI,
 	Z80_OTIR,
 	Z80_OUTD,
-	Z80_OTDR
+	Z80_OTDR,
+	Z80_USE_MAIN
 };
 
 enum {
@@ -133,6 +134,7 @@
 	uint8_t  addr_mode;
 	uint8_t  ea_reg;
 	uint16_t immed;
+	uint16_t  opcode_bytes;
 } z80inst;
 
 uint8_t * z80_decode(uint8_t * istream, z80inst * decoded);