implemented Rlf Instruction

This commit is contained in:
Darkress committed 2023-06-06 01:09:16 +02:00
1 parent 40b7a4a478
commit 2f8adb70c4
4 files changed
+46 -7

No files matched your search

@@ -153,9 +153,13 @@ public class Memory
memory[0x03] &= 0xFD;
}
public static boolean getCarryBit()
public static int getCarryBit()
{
return (memory[0x03] & 0x01) == 0x01;
if((memory[0x03] & 0x01) == 0x01)
{
return 1;
}
else return 0;
}
public static void setCarryBit()