Class: AArch64::Instructions::AUTDB
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::AUTDB
- Defined in:
- lib/aarch64/instructions/autdb.rb
Overview
AUTDB, AUTDZB – A64 Authenticate Data address, using key B AUTDB <Xd>, <Xn|SP> AUTDZB <Xd>
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(z, rd, rn) ⇒ AUTDB
constructor
A new instance of AUTDB.
Constructor Details
#initialize(z, rd, rn) ⇒ AUTDB
Returns a new instance of AUTDB.
8 9 10 11 12 |
# File 'lib/aarch64/instructions/autdb.rb', line 8 def initialize z, rd, rn @z = check_mask(z, 0x01) @rd = check_mask(rd, 0x1f) @rn = check_mask(rn, 0x1f) end |
Instance Method Details
#encode(_) ⇒ Object
14 15 16 |
# File 'lib/aarch64/instructions/autdb.rb', line 14 def encode _ AUTDB(@z, @rn, @rd) end |