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