Class: AArch64::Instructions::PACIA
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::PACIA
- Defined in:
- lib/aarch64/instructions/pacia.rb
Overview
PACIA, PACIA1716, PACIASP, PACIAZ, PACIZA – A64 Pointer Authentication Code for Instruction address, using key A PACIA <Xd>, <Xn|SP> PACIZA <Xd> PACIA1716 PACIASP PACIAZ
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(rd, rn, z) ⇒ PACIA
constructor
A new instance of PACIA.
Constructor Details
#initialize(rd, rn, z) ⇒ PACIA
Returns a new instance of PACIA.
11 12 13 14 15 |
# File 'lib/aarch64/instructions/pacia.rb', line 11 def initialize rd, rn, z @rd = check_mask(rd, 0x1f) @rn = check_mask(rn, 0x1f) @z = check_mask(z, 0x01) end |
Instance Method Details
#encode(_) ⇒ Object
17 18 19 |
# File 'lib/aarch64/instructions/pacia.rb', line 17 def encode _ PACIA(@z, @rn, @rd) end |