summaryrefslogtreecommitdiff
path: root/z80inst.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-04-28 22:41:30 -0700
committerMike Pavone <pavone@retrodev.com>2013-04-28 22:41:30 -0700
commitf851610886a8b39c722f7cee7c2b9b5f464f3579 (patch)
tree580dba9deed25021fd4fc6fbe91c626fcc340616 /z80inst.c
parent2fd73e952b8a20c22fae20e250104c9f325abfcc (diff)
Implement rotation and bit set/reset instructions (untested).
Diffstat (limited to 'z80inst.c')
-rw-r--r--z80inst.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/z80inst.c b/z80inst.c
index d710d47..7e2f4f5 100644
--- a/z80inst.c
+++ b/z80inst.c
@@ -420,14 +420,14 @@ z80inst z80_tbl_extd[0xC0-0x40] = {
};
#define SHIFT_BLOCK(op) \
- {op, Z80_B, Z80_UNUSED, Z80_UNUSED, 0},\
- {op, Z80_C, Z80_UNUSED, Z80_UNUSED, 0},\
- {op, Z80_D, Z80_UNUSED, Z80_UNUSED, 0},\
- {op, Z80_E, Z80_UNUSED, Z80_UNUSED, 0},\
- {op, Z80_H, Z80_UNUSED, Z80_UNUSED, 0},\
- {op, Z80_L, Z80_UNUSED, Z80_UNUSED, 0},\
- {op, Z80_UNUSED, Z80_REG_INDIRECT, Z80_HL, 0},\
- {op, Z80_A, Z80_UNUSED, Z80_UNUSED, 0}
+ {op, Z80_B, Z80_UNUSED, Z80_UNUSED, 1},\
+ {op, Z80_C, Z80_UNUSED, Z80_UNUSED, 1},\
+ {op, Z80_D, Z80_UNUSED, Z80_UNUSED, 1},\
+ {op, Z80_E, Z80_UNUSED, Z80_UNUSED, 1},\
+ {op, Z80_H, Z80_UNUSED, Z80_UNUSED, 1},\
+ {op, Z80_L, Z80_UNUSED, Z80_UNUSED, 1},\
+ {op, Z80_UNUSED, Z80_REG_INDIRECT, Z80_HL, 1},\
+ {op, Z80_A, Z80_UNUSED, Z80_UNUSED, 1}
#define BIT_BLOCK(op, bit) \
{op, Z80_USE_IMMED, Z80_REG, Z80_B, bit},\