5 ZEXALL tests now complete. Going to implement ALL remaining OpCOdes

This commit is contained in:
2026-04-23 16:51:21 +01:00
parent 112b6d15fe
commit 5892f7e491
4 changed files with 3532 additions and 1373 deletions

View File

@@ -1241,6 +1241,17 @@ namespace Desktop
mnemonic = $"LD A, (IY{sign}{d})";
instructionLength = 3;
}
else if (fdOpcode == 0x84) // ADD A, IYH
{
mnemonic = $"ADD A, IYH";
instructionLength = 2;
}
else if (fdOpcode == 0x85) // ADD A, IYL
{
mnemonic = $"ADD A, IYL";
instructionLength = 2;
}
else if (fdOpcode == 0x86) // ADD A, (IY+d)
{
sbyte dAdd = (sbyte)_memoryBus.Read((ushort)(currentPc + 2));