Class: AArch64::Instructions::BLR

Inherits:
Instruction show all
Defined in:
lib/aarch64/instructions/blr.rb

Overview

BLR – A64 Branch with Link to Register BLR <Xn>

Instance Method Summary collapse

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