module Operators
Description:
The ‘Operations’ module provides methods to describe operations with dynamically generated immediate operands (such as random values, label addresses, unknown values etc.).
Public Instance Methods
_ADD(operand1, operand2)
click to toggle source
# File operators.rb, line 37 def _ADD(operand1, operand2) new_binary_operation('ADD', operand1, operand2) end
_AND(operand1, operand2)
click to toggle source
# File operators.rb, line 25 def _AND(operand1, operand2) new_binary_operation('AND', operand1, operand2) end
_MINUS(operand)
click to toggle source
# File operators.rb, line 53 def _MINUS(operand) new_unary_operation('MINUS', operand) end
_NOT(operand)
click to toggle source
# File operators.rb, line 57 def _NOT(operand) new_unary_operation('NOT', operand) end
_OR(operand1, operand2)
click to toggle source
# File operators.rb, line 29 def _OR(operand1, operand2) new_binary_operation('OR', operand1, operand2) end
_PLUS(operand)
click to toggle source
# File operators.rb, line 49 def _PLUS(operand) new_unary_operation('PLUS', operand) end
_SLL(operand1, operand2)
click to toggle source
# File operators.rb, line 45 def _SLL(operand1, operand2) new_binary_operation('SLL', operand1, operand2) end
_SUB(operand1, operand2)
click to toggle source
# File operators.rb, line 41 def _SUB(operand1, operand2) new_binary_operation('SUB', operand1, operand2) end
_XOR(operand1, operand2)
click to toggle source
# File operators.rb, line 33 def _XOR(operand1, operand2) new_binary_operation('XOR', operand1, operand2) end