Class: Fisk::Operand
- Inherits:
-
Struct
- Object
- Struct
- Fisk::Operand
show all
- Defined in:
- lib/fisk.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value
7
8
9
|
# File 'lib/fisk.rb', line 7
def value
@value
end
|
Instance Method Details
#extended_register? ⇒ Boolean
11
|
# File 'lib/fisk.rb', line 11
def extended_register?; false; end
|
#m64? ⇒ Boolean
12
|
# File 'lib/fisk.rb', line 12
def m64?; false; end
|
#type ⇒ Object
8
|
# File 'lib/fisk.rb', line 8
def type; value; end
|
#unknown_label? ⇒ Boolean
10
|
# File 'lib/fisk.rb', line 10
def unknown_label?; false; end
|
#works?(type) ⇒ Boolean
9
|
# File 'lib/fisk.rb', line 9
def works? type; self.type == type; end
|