Exemplo n.º 1
0
 public static EXECUTION_RESULT?EQ_VERIFY_NUM(ref ExecutionStack stack)
 {
     stack.Push(stack.PopShort() == stack.PopShort());
     return(Verify.VERIFY(ref stack));
 }
Exemplo n.º 2
0
 public static void GREATEROREQUAL(ref ExecutionStack stack)
 => stack.Push(stack.PopShort() >= stack.PopShort());
Exemplo n.º 3
0
 public static void EQ_NUM(ref ExecutionStack stack)
 => stack.Push(stack.PopShort() == stack.PopShort());
Exemplo n.º 4
0
 public static void LESSOREQUAL(ref ExecutionStack stack)
 => stack.Push(stack.PopShort() <= stack.PopShort());
Exemplo n.º 5
0
 public static void GREATERTHAN(ref ExecutionStack stack)
 => stack.Push(stack.PopShort() > stack.PopShort());
Exemplo n.º 6
0
 public static void LESSTHAN(ref ExecutionStack stack)
 => stack.Push(stack.PopShort() < stack.PopShort());
Exemplo n.º 7
0
 public static void SUBSTRACT(ref ExecutionStack stack)
 => stack.Push((short)(stack.PopShort() - stack.PopShort()));
Exemplo n.º 8
0
 public static void ADD(ref ExecutionStack stack)
 => stack.Push((short)(stack.PopShort() + stack.PopShort()));
Exemplo n.º 9
0
 public static void MIN(ref ExecutionStack stack)
 => stack.Push(System.Math.Min(stack.PopShort(), stack.PopShort()));
Exemplo n.º 10
0
 public static void ABS(ref ExecutionStack stack)
 => stack.Push(System.Math.Abs(stack.PopShort()));