From f851610886a8b39c722f7cee7c2b9b5f464f3579 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Sun, 28 Apr 2013 22:41:30 -0700 Subject: Implement rotation and bit set/reset instructions (untested). --- z80inst.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'z80inst.c') 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},\ -- cgit v1.2.3