diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-07-25 23:16:04 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-07-25 23:16:04 -0700 |
commit | 4d13f43d2c6f07b7beb6ea358d8e10952a7b3734 (patch) | |
tree | 91af788b3da191fd08426501f0a96237a9e93df5 /z80inst.h | |
parent | 4102d6f4ac26bcdb4b2186d5e086edef1507654f (diff) |
Properly handle redundant prefixes
Diffstat (limited to 'z80inst.h')
-rw-r--r-- | z80inst.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -76,7 +76,8 @@ enum { Z80_OUTI, Z80_OTIR, Z80_OUTD, - Z80_OTDR + Z80_OTDR, + Z80_USE_MAIN }; enum { @@ -133,6 +134,7 @@ typedef struct { 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); |