Class SVM_EQV


public class SVM_EQV extends SVM_Instruction

SVM-INSTRUCTION: EQV

Runtime Stack
   ..., sos, tos →
   ..., result

The 'tos' and 'sos' are popped off the Runtime stack.
The 'result' is calculated as result = sos and tos.
Then the 'result' is pushed onto the Runtime Stack.

'tos' and 'sos' must be of the same type, boolean or int.

The 'eqv' operation is defined by the following matrix:

  EQV
a  \  b  true   false
true     true   false
false    false  true

Link to GitHub: Source File.

Author:
S-Port: Definition of S-code, Øystein Myhre Andersen