Class: AArch64::Instructions::PACDA
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::PACDA
- Defined in:
- lib/aarch64/instructions/pacda.rb
Overview
PACDA, PACDZA – A64 Pointer Authentication Code for Data address, using key A PACDA <Xd>, <Xn|SP> PACDZA <Xd>
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(rd, rn, z) ⇒ PACDA
constructor
A new instance of PACDA.
Constructor Details
#initialize(rd, rn, z) ⇒ PACDA
Returns a new instance of PACDA.
8 9 10 11 12 |
# File 'lib/aarch64/instructions/pacda.rb', line 8 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
14 15 16 |
# File 'lib/aarch64/instructions/pacda.rb', line 14 def encode _ PACDA(@z, @rn, @rd) end |