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.
76 77 78 |
# File 'lib/ytljit/instruction.rb', line 76 def initialize(address) @value = address end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
84 85 86 |
# File 'lib/ytljit/instruction.rb', line 84 def value @value end |