public static void MemoryClear(Cpu cpu, byte flag, uint destination, uint source) { var vAddr = ReadValue(cpu, Dest(flag), destination); var count = ReadValue(cpu, flag, source); cpu.MemoryClear(vAddr, count); }
public static void MemoryClear(Cpu cpu, uint rX, uint rY) { var vAddr = cpu.Registers[rX]; var count = cpu.Registers[rY]; cpu.MemoryClear(vAddr, count); }