Class: AArch64::Instructions::XPAC
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::XPAC
- Defined in:
- lib/aarch64/instructions/xpac.rb
Overview
XPACD, XPACI, XPACLRI – A64 Strip Pointer Authentication Code XPACD <Xd> XPACI <Xd> XPACLRI
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(rd, d) ⇒ XPAC
constructor
A new instance of XPAC.
Constructor Details
#initialize(rd, d) ⇒ XPAC
Returns a new instance of XPAC.
9 10 11 12 |
# File 'lib/aarch64/instructions/xpac.rb', line 9 def initialize rd, d @rd = check_mask(rd, 0x1f) @d = check_mask(d, 0x01) end |
Instance Method Details
#encode(_) ⇒ Object
14 15 16 |
# File 'lib/aarch64/instructions/xpac.rb', line 14 def encode _ XPAC(@d, @rd) end |