Class: Fisk::M64
Instance Attribute Summary collapse
-
#displacement ⇒ Object
readonly
Returns the value of attribute displacement.
Attributes inherited from Operand
Instance Method Summary collapse
-
#initialize(register, displacement) ⇒ M64
constructor
A new instance of M64.
- #m64? ⇒ Boolean
- #type ⇒ Object
Methods inherited from Operand
#extended_register?, #unknown_label?, #works?
Constructor Details
#initialize(register, displacement) ⇒ M64
Returns a new instance of M64.
59 60 61 62 63 |
# File 'lib/fisk.rb', line 59 def initialize register, displacement super(register.value) @register = register @displacement = displacement end |
Instance Attribute Details
#displacement ⇒ Object (readonly)
Returns the value of attribute displacement.
57 58 59 |
# File 'lib/fisk.rb', line 57 def displacement @displacement end |
Instance Method Details
#m64? ⇒ Boolean
69 |
# File 'lib/fisk.rb', line 69 def m64?; true; end |
#type ⇒ Object
65 66 67 |
# File 'lib/fisk.rb', line 65 def type "m64" end |