more m740 fixes, makes the regression test work

This commit is contained in:
mrdudz
2025-06-16 20:32:54 +02:00
parent 2184ba80c7
commit 20e7c54fa3
7 changed files with 759 additions and 376 deletions

View File

@@ -795,14 +795,14 @@ void OH_JmpDirectIndirect (const OpcDesc* D)
void OH_SpecialPage (const OpcDesc* D)
{
/* Get the operand */
unsigned Addr = 0xFF00 + GetCodeByte (PC+1);
/* Get the operand */
unsigned Addr = 0xFF00 + GetCodeByte (PC+1);
/* Generate a label in pass 1 */
GenerateLabel (D->Flags, Addr);
/* Generate a label in pass 1 */
GenerateLabel (D->Flags, Addr);
/* OneLine (D, "$FF%02X", (CodeByte (PC+1)); */
OneLine (D, "%s", GetAddrArg (D->Flags, Addr));
/* OneLine (D, "$FF%02X", (CodeByte (PC+1)); */
OneLine (D, "%s", GetAddrArg (D->Flags, Addr));
}