diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-04-28 22:41:30 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-04-28 22:41:30 -0700 |
commit | f851610886a8b39c722f7cee7c2b9b5f464f3579 (patch) | |
tree | 580dba9deed25021fd4fc6fbe91c626fcc340616 /z80inst.c | |
parent | 2fd73e952b8a20c22fae20e250104c9f325abfcc (diff) |
Implement rotation and bit set/reset instructions (untested).
Diffstat (limited to 'z80inst.c')
-rw-r--r-- | z80inst.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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},\ |