Class: AArch64::Instructions::AUTDA

Inherits:
Instruction show all
Defined in:
lib/aarch64/instructions/autda.rb

Overview

AUTDA, AUTDZA – A64 Authenticate Data address, using key A AUTDA <Xd>, <Xn|SP> AUTDZA <Xd>

Instance Method Summary collapse

Constructor Details

#initialize(z, rd, rn) ⇒ AUTDA

Returns a new instance of AUTDA.



8
9
10
11
12
# File 'lib/aarch64/instructions/autda.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/autda.rb', line 14

def encode _
  AUTDA(@z, @rn, @rd)
end