diff z80inst.c @ 247:682e505f5757

Implement rotation and bit set/reset instructions (untested).
author Mike Pavone <pavone@retrodev.com>
date Sun, 28 Apr 2013 22:41:30 -0700
parents d9bf8e61c33c
children ce7ce2b9c2df
line wrap: on
line diff
--- a/z80inst.c	Sun Apr 28 21:00:27 2013 -0700
+++ b/z80inst.c	Sun Apr 28 22:41:30 2013 -0700
@@ -420,14 +420,14 @@
 };
 
 #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},\