Class SVM_NOT


public class SVM_NOT extends SVM_Instruction

SVM-INSTRUCTION: NOT

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

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

'tos' must be boolean or int.

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

Link to GitHub: Source File.

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