public static void Popm(Cpu cpu, uint rX) { var value = cpu.Pop(); var vAddr = cpu.Registers[rX]; cpu.Write(vAddr, value); }
public static void Pop(Cpu cpu, byte flag, uint destination) { var value = cpu.Pop(); WriteValue(cpu, flag, destination, value); }
public static void Popr(Cpu cpu, uint rX) { cpu.Registers[rX] = cpu.Pop(); }