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