Class: AArch64::Instructions::RETA

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

Overview

RETAA, RETAB – A64 Return from subroutine, with pointer authentication RETAA RETAB

Instance Method Summary collapse

Constructor Details

#initialize(m) ⇒ RETA

Returns a new instance of RETA.



8
9
10
# File 'lib/aarch64/instructions/reta.rb', line 8

def initialize m
  @m = check_mask(m, 0x01)
end

Instance Method Details

#encode(_) ⇒ Object



12
13
14
# File 'lib/aarch64/instructions/reta.rb', line 12

def encode _
  RETA(@m)
end