Skip to content

Commit

Permalink
0x82
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertvanheusden committed Aug 27, 2023
1 parent 1949343 commit 82490aa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion XT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2101,7 +2101,7 @@ public bool Tick()
Log.DoLog($"{prefixStr} PUSH DI");
#endif
}
else if (opcode is (0x80 or 0x81 or 0x83))
else if (opcode is (0x80 or 0x81 or 0x82 or 0x83))
{
// CMP and others
byte o1 = GetPcByte();
Expand Down Expand Up @@ -2142,6 +2142,12 @@ public bool Tick()

word = true;
}
else if (opcode == 0x82)
{
(r1, name1, a_valid, seg, addr, cycles) = GetRegisterMem(reg, mod, false);

r2 = GetPcByte();
}
else if (opcode == 0x83)
{
(r1, name1, a_valid, seg, addr, cycles) = GetRegisterMem(reg, mod, true);
Expand Down

0 comments on commit 82490aa

Please sign in to comment.