Class: AArch64::Instructions::WFIT

Inherits:
Object
  • Object
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 = rd
end

Instance Method Details

#encodeObject



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

def encode
  WFIT(@rd.to_i)
end