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