예제 #1
0
        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);
        }
예제 #2
0
        public static void MemoryClear(Cpu cpu, uint rX, uint rY)
        {
            var vAddr = cpu.Registers[rX];
            var count = cpu.Registers[rY];

            cpu.MemoryClear(vAddr, count);
        }
예제 #3
0
        public static void MemoryClear(Cpu cpu, uint rX, uint rY)
        {
            var vAddr = cpu.Registers[rX];
            var count = cpu.Registers[rY];

            cpu.MemoryClear(vAddr, count);
        }
예제 #4
0
        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);
        }