-[FIX] El despaçament de les instruccions de les tables IX, IX_BIT, IY i IY_BIT no pillava el signe

This commit is contained in:
2024-04-22 13:11:29 +02:00
parent 9c2bf54c83
commit 43ee57221a

View File

@@ -1601,7 +1601,7 @@ namespace z80
void IX_INSTRUCTIONS() void IX_INSTRUCTIONS()
{ {
const uint8_t opcode = READ_M1(); const uint8_t opcode = READ_M1();
uint8_t d; int8_t d;
switch (opcode) switch (opcode)
{ {
@@ -1821,7 +1821,7 @@ namespace z80
void IX_BIT_INSTRUCTIONS() void IX_BIT_INSTRUCTIONS()
{ {
const uint8_t d = READ_MEM_8(); const int8_t d = READ_MEM_8();
const uint8_t opcode = READ_MEM_8(); const uint8_t opcode = READ_MEM_8();
t+=3; t+=3;
switch (opcode) switch (opcode)
@@ -2181,7 +2181,7 @@ namespace z80
void IY_INSTRUCTIONS() void IY_INSTRUCTIONS()
{ {
const uint8_t opcode = READ_M1(); const uint8_t opcode = READ_M1();
uint8_t d; int8_t d;
switch (opcode) switch (opcode)
{ {
@@ -2401,7 +2401,7 @@ namespace z80
void IY_BIT_INSTRUCTIONS() void IY_BIT_INSTRUCTIONS()
{ {
const uint8_t d = READ_MEM_8(); const int8_t d = READ_MEM_8();
const uint8_t opcode = READ_MEM_8(); const uint8_t opcode = READ_MEM_8();
t+=3; t+=3;
switch (opcode) switch (opcode)