Class: AArch64::Instructions::WFET
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::WFET
- Defined in:
- lib/aarch64/instructions/wfet.rb
Overview
WFET – A64 Wait For Event with Timeout WFET <Xt>
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(rd) ⇒ WFET
constructor
A new instance of WFET.
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 |