Class: AArch64::Instructions::AUTIA

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

Overview

AUTIA, AUTIA1716, AUTIASP, AUTIAZ, AUTIZA – A64 Authenticate Instruction address, using key A AUTIA <Xd>, <Xn|SP> AUTIZA <Xd> AUTIA1716 AUTIASP AUTIAZ

Instance Method Summary collapse

Constructor Details

#initialize(z, rd, rn) ⇒ AUTIA

Returns a new instance of AUTIA.



11
12
13
14
15
# File 'lib/aarch64/instructions/autia.rb', line 11

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



17
18
19
# File 'lib/aarch64/instructions/autia.rb', line 17

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