Class: AArch64::Assembler::Immediate
- Inherits:
-
Object
- Object
- AArch64::Assembler::Immediate
- Defined in:
- lib/aarch64.rb
Instance Method Summary collapse
- #immediate? ⇒ Boolean
-
#initialize(offset) ⇒ Immediate
constructor
A new instance of Immediate.
- #unwrap_label ⇒ Object
Constructor Details
#initialize(offset) ⇒ Immediate
Returns a new instance of Immediate.
134 135 136 137 |
# File 'lib/aarch64.rb', line 134 def initialize offset @offset = offset freeze end |
Instance Method Details
#immediate? ⇒ Boolean
142 |
# File 'lib/aarch64.rb', line 142 def immediate?; true; end |
#unwrap_label ⇒ Object
139 140 141 |
# File 'lib/aarch64.rb', line 139 def unwrap_label @offset end |