};// TODO handle that in Instruc... public static Action ret(CPU cpu, FlagCondition o) => () => { if (o.Target) { cpu.Return(); cpu.pc -= 1; } };
public static Action ret(CPU cpu) => () => { cpu.Return(); cpu.pc -= 1; };// TODO handle that in Instruc...