public static void Exit(Cpu cpu, byte flag, uint source) { var exitCode = ReadValue(cpu, flag, source); cpu.Exit(exitCode); }
public static void Exit(Cpu cpu, uint rX) { var exitCode = cpu.Registers[rX]; cpu.Exit(exitCode); }