Class: Fisk::ValueOperand
Instance Attribute Summary collapse
-
#value ⇒ Object
(also: #type)
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ ValueOperand
constructor
A new instance of ValueOperand.
Methods inherited from Operand
#extended_register?, #m64?, #op_value, #register?, #rex_value, #temp_register?, #unknown_label?, #works?
Constructor Details
#initialize(value) ⇒ ValueOperand
Returns a new instance of ValueOperand.
33 34 35 |
# File 'lib/fisk.rb', line 33 def initialize value @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly) Also known as: type
Returns the value of attribute value.
30 31 32 |
# File 'lib/fisk.rb', line 30 def value @value end |