private void RewriteSys() { if (!EatSpaces() || !GetInteger(out int addr)) { throw new InvalidOperationException("Expected address after SYS."); } var addrMachineCode = Address.Ptr16((ushort)addr); IProcessorArchitecture arch6502 = host.GetArchitecture("m6502"); rtlc = InstrClass.Transfer | InstrClass.Call; m.CallX(addrMachineCode, 2, arch6502); }