Example #1
0
 public static void Jlt(Cpu cpu, uint rX)
 {
     if (cpu.Sf)
     {
         cpu.Jump(cpu.Registers[rX]);
     }
 }
Example #2
0
 public static void Jne(Cpu cpu, uint rX)
 {
     if (!cpu.Zf)
     {
         cpu.Jump(cpu.Registers[rX]);
     }
 }
Example #3
0
 public static void Jne(Cpu cpu, byte flag, uint source)
 {
     if (!cpu.Zf)
     {
         var uOffset = ReadValue(cpu, flag, source);
         cpu.Jump(uOffset);
     }
 }
Example #4
0
        public static void Jmp(Cpu cpu, uint rX)
        {
            var uOffset = cpu.Registers[rX];

            cpu.Jump(uOffset);
        }
Example #5
0
 public static void Jne(Cpu cpu, uint rX)
 {
     if (!cpu.Zf)
     {
         cpu.Jump(cpu.Registers[rX]);
     }
 }
Example #6
0
 public static void Jmp(Cpu cpu, uint rX)
 {
     var uOffset = cpu.Registers[rX];
     cpu.Jump(uOffset);
 }
Example #7
0
 public static void Jlt(Cpu cpu, uint rX)
 {
     if (cpu.Sf)
     {
         cpu.Jump(cpu.Registers[rX]);
     }
 }
 public static void Je(Cpu cpu, byte flag, uint source)
 {
     if (cpu.Zf)
     {
         var uOffset = ReadValue(cpu, flag, source);
         cpu.Jump(uOffset);
     }
 }