Пример #1
0
        public static void Output(Cpu cpu, byte flag, uint destination, uint source)
        {
            var deviceId = (DeviceId)ReadValue(cpu, Dest(flag), destination);
            var value    = ReadValue(cpu, Source(flag), source);

            cpu.Output(deviceId, value);
        }
Пример #2
0
 public static void Output(Cpu cpu, byte flag, uint destination, uint source)
 {
     var deviceId = (DeviceId)ReadValue(cpu, Dest(flag), destination);
     var value = ReadValue(cpu, Source(flag), source);
     cpu.Output(deviceId, value);
 }