Class: AArch64::Instructions::BLRA
- Inherits:
-
Object
- Object
- AArch64::Instructions::BLRA
- Defined in:
- lib/aarch64/instructions/blra.rb
Overview
BLRAA, BLRAAZ, BLRAB, BLRABZ – A64 Branch with Link to Register, with pointer authentication BLRAAZ <Xn> BLRAA <Xn>, <Xm|SP> BLRABZ <Xn> BLRAB <Xn>, <Xm|SP>
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rn, rm, z, m) ⇒ BLRA
constructor
A new instance of BLRA.
Constructor Details
#initialize(rn, rm, z, m) ⇒ BLRA
Returns a new instance of BLRA.
10 11 12 13 14 15 |
# File 'lib/aarch64/instructions/blra.rb', line 10 def initialize rn, rm, z, m @rn = rn @rm = rm @z = z @m = m end |
Instance Method Details
#encode ⇒ Object
17 18 19 |
# File 'lib/aarch64/instructions/blra.rb', line 17 def encode BLRA(@z, @m, @rn.to_i, @rm.to_i) end |