Class: AArch64::Instructions::SETF
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::SETF
- Defined in:
- lib/aarch64/instructions/setf.rb
Overview
SETF8, SETF16 – A64 Evaluation of 8 or 16 bit flag values SETF8 <Wn> SETF16 <Wn>
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(rn, sz) ⇒ SETF
constructor
A new instance of SETF.
Constructor Details
#initialize(rn, sz) ⇒ SETF
Returns a new instance of SETF.
8 9 10 11 |
# File 'lib/aarch64/instructions/setf.rb', line 8 def initialize rn, sz @rn = check_mask(rn, 0x1f) @sz = check_mask(sz, 0x01) end |
Instance Method Details
#encode(_) ⇒ Object
13 14 15 |
# File 'lib/aarch64/instructions/setf.rb', line 13 def encode _ SETF(@sz, @rn) end |