Class: YTLJit::OpMemory
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
- #address ⇒ Object
-
#initialize(address) ⇒ OpMemory
constructor
A new instance of OpMemory.
- #to_as ⇒ Object
Methods inherited from Operand
Constructor Details
#initialize(address) ⇒ OpMemory
Returns a new instance of OpMemory.
70 71 72 |
# File 'lib/ytljit/instruction.rb', line 70 def initialize(address) @value = address end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
78 79 80 |
# File 'lib/ytljit/instruction.rb', line 78 def value @value end |