Class: AArch64::Instructions::WFET

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

Overview

WFET – A64 Wait For Event with Timeout WFET <Xt>

Instance Method Summary collapse

Constructor Details

#initialize(rd) ⇒ WFET

Returns a new instance of WFET.



7
8
9
# File 'lib/aarch64/instructions/wfet.rb', line 7

def initialize rd
  @rd = check_mask(rd, 0x1f)
end

Instance Method Details

#encode(_) ⇒ Object



11
12
13
# File 'lib/aarch64/instructions/wfet.rb', line 11

def encode _
  WFET(@rd)
end