Class: AArch64::Instructions::BRA
- Inherits:
-
Object
- Object
- AArch64::Instructions::BRA
- Defined in:
- lib/aarch64/instructions/bra.rb
Overview
BRAA, BRAAZ, BRAB, BRABZ – A64 Branch to Register, with pointer authentication BRAAZ <Xn> BRAA <Xn>, <Xm|SP> BRABZ <Xn> BRAB <Xn>, <Xm|SP>
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rn, rm, z, m) ⇒ BRA
constructor
A new instance of BRA.
Constructor Details
#initialize(rn, rm, z, m) ⇒ BRA
Returns a new instance of BRA.
10 11 12 13 14 15 |
# File 'lib/aarch64/instructions/bra.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/bra.rb', line 17 def encode BRA(@z, @m, @rn.to_i, @rm.to_i) end |