Beispiel #1
0
 public void Act(IntMachine machine, ReadOnlySpan <long> opData, ReadOnlySpan <byte> modes)
 {
     if (machine.MarshallAccess(opData[0], modes[0]) == 0)
     {
         machine.Jump(machine.MarshallAccess(opData[1], modes[1]));
     }
 }
Beispiel #2
0
 public void Act(IntMachine machine, ReadOnlySpan <long> opData, ReadOnlySpan <byte> modes)
 {
     if (machine.MarshallAccess(opData[0], modes[0]) < machine.MarshallAccess(opData[1], modes[1]))
     {
         machine.Write(opData[2], modes[2], 1);
     }
     else
     {
         machine.Write(opData[2], modes[2], 0);
     }
 }
 public void Act(IntMachine machine, ReadOnlySpan <long> opData, ReadOnlySpan <byte> modes)
 {
     machine.OffsetRelativeBase(machine.MarshallAccess(opData[0], modes[0]));
 }
Beispiel #4
0
 public void Act(IntMachine machine, ReadOnlySpan <long> opData, ReadOnlySpan <byte> mode)
 {
     machine.SignalOutput(machine.MarshallAccess(opData[0], mode[0]));
 }