Class: Fisk::ValueOperand

Inherits:
Operand
  • Object
show all
Defined in:
lib/fisk.rb

Direct Known Subclasses

Lit, MOffs64, Rel32, Rel8

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#valueObject (readonly) Also known as: type

Returns the value of attribute value.



30
31
32
# File 'lib/fisk.rb', line 30

def value
  @value
end