Class: AArch64::Instructions::PACGA
- Inherits:
-
Object
- Object
- AArch64::Instructions::PACGA
- Defined in:
- lib/aarch64/instructions/pacga.rb
Overview
PACGA – A64 Pointer Authentication Code, using Generic key PACGA <Xd>, <Xn>, <Xm|SP>
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rd, rn, rm) ⇒ PACGA
constructor
A new instance of PACGA.
Constructor Details
#initialize(rd, rn, rm) ⇒ PACGA
Returns a new instance of PACGA.
7 8 9 10 11 |
# File 'lib/aarch64/instructions/pacga.rb', line 7 def initialize rd, rn, rm @rd = rd @rn = rn @rm = rm end |
Instance Method Details
#encode ⇒ Object
13 14 15 |
# File 'lib/aarch64/instructions/pacga.rb', line 13 def encode PACGA(@rm.to_i, @rn.to_i, @rd.to_i) end |