module Operators

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 35
def _ADD(operand1, operand2)
  new_binary_operation('ADD', operand1, operand2)
end
_AND(operand1, operand2) click to toggle source
# File operators.rb, line 23
def _AND(operand1, operand2)
  new_binary_operation('AND', operand1, operand2)
end
_MINUS(operand) click to toggle source
# File operators.rb, line 51
def _MINUS(operand)
  new_unary_operation('MINUS', operand)
end
_NOT(operand) click to toggle source
# File operators.rb, line 55
def _NOT(operand)
  new_unary_operation('NOT', operand)
end
_OR(operand1, operand2) click to toggle source
# File operators.rb, line 27
def _OR(operand1, operand2)
  new_binary_operation('OR', operand1, operand2)
end
_PLUS(operand) click to toggle source
# File operators.rb, line 47
def _PLUS(operand)
  new_unary_operation('PLUS', operand)
end
_SLL(operand1, operand2) click to toggle source
# File operators.rb, line 43
def _SLL(operand1, operand2)
  new_binary_operation('SLL', operand1, operand2)
end
_SUB(operand1, operand2) click to toggle source
# File operators.rb, line 39
def _SUB(operand1, operand2)
  new_binary_operation('SUB', operand1, operand2)
end
_XOR(operand1, operand2) click to toggle source
# File operators.rb, line 31
def _XOR(operand1, operand2)
  new_binary_operation('XOR', operand1, operand2)
end