ComparisonOpcodesMock
opEq
function opEq(address _ctxProgram, address) public
Compares two values in the stack. Put 1 to the stack if they are equal.
opNotEq
function opNotEq(address _ctxProgram, address) public
Compares two values in the stack. Put 1 to the stack if they are not equal.
opLt
function opLt(address _ctxProgram, address) public
Compares two values in the stack. Put 1 to the stack if value1 < value2
opGt
function opGt(address _ctxProgram, address) public
Compares two values in the stack. Put 1 to the stack if value1 > value2
opLe
function opLe(address _ctxProgram, address) public
Compares two values in the stack. Put 1 to the stack if value1 <= value2
opGe
function opGe(address _ctxProgram, address) public
Compares two values in the stack. Put 1 to the stack if value1 >= value2
opSwap
function opSwap(address _ctxProgram, address) public
Swaps two last element in the stack
opNot
function opNot(address _ctxProgram, address) public
Revert last value in the stack