Class: Fisk::Registers::Temp
Instance Attribute Summary collapse
-
#end_point ⇒ Object
Returns the value of attribute end_point.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#register ⇒ Object
Returns the value of attribute register.
-
#start_point ⇒ Object
Returns the value of attribute start_point.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
- #extended_register? ⇒ Boolean
-
#initialize(name, type) ⇒ Temp
constructor
A new instance of Temp.
- #rex_value ⇒ Object
- #temp_register? ⇒ Boolean
- #value ⇒ Object
Methods inherited from Operand
#m64?, #op_value, #register?, #unknown_label?, #works?
Constructor Details
#initialize(name, type) ⇒ Temp
Returns a new instance of Temp.
63 64 65 66 67 68 |
# File 'lib/fisk.rb', line 63 def initialize name, type @name = name @type = type @start_point = nil @end_point = nil end |
Instance Attribute Details
#end_point ⇒ Object
Returns the value of attribute end_point.
61 62 63 |
# File 'lib/fisk.rb', line 61 def end_point @end_point end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
60 61 62 |
# File 'lib/fisk.rb', line 60 def name @name end |
#register ⇒ Object
Returns the value of attribute register.
61 62 63 |
# File 'lib/fisk.rb', line 61 def register @register end |
#start_point ⇒ Object
Returns the value of attribute start_point.
61 62 63 |
# File 'lib/fisk.rb', line 61 def start_point @start_point end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
60 61 62 |
# File 'lib/fisk.rb', line 60 def type @type end |
Instance Method Details
#extended_register? ⇒ Boolean
72 73 74 |
# File 'lib/fisk.rb', line 72 def extended_register? @register.extended_register? end |
#rex_value ⇒ Object
76 77 78 |
# File 'lib/fisk.rb', line 76 def rex_value @register.rex_value end |
#temp_register? ⇒ Boolean
70 |
# File 'lib/fisk.rb', line 70 def temp_register?; true; end |
#value ⇒ Object
80 81 82 |
# File 'lib/fisk.rb', line 80 def value @register.value end |