Class: AArch64::Instructions::WFIT

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

Overview

WFIT – A64 Wait For Interrupt with Timeout WFIT <Xt>

Instance Method Summary collapse

Constructor Details

#initialize(rd) ⇒ WFIT

Returns a new instance of WFIT.



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

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

Instance Method Details

#encode(_) ⇒ Object



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

def encode _
  WFIT(@rd)
end