Class: AArch64::Instructions::BLR
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::BLR
- Defined in:
- lib/aarch64/instructions/blr.rb
Overview
BLR – A64 Branch with Link to Register BLR <Xn>
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(n) ⇒ BLR
constructor
A new instance of BLR.
Constructor Details
#initialize(n) ⇒ BLR
Returns a new instance of BLR.
7 8 9 |
# File 'lib/aarch64/instructions/blr.rb', line 7 def initialize n @n = check_mask(n, 0x1f) end |
Instance Method Details
#encode(_) ⇒ Object
11 12 13 |
# File 'lib/aarch64/instructions/blr.rb', line 11 def encode _ BLR(@n) end |