Class: AArch64::Instructions::SETF
- Inherits:
-
Object
- Object
- 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 = rn @sz = sz end |
Instance Method Details
#encode ⇒ Object
13 14 15 |
# File 'lib/aarch64/instructions/setf.rb', line 13 def encode SETF(@sz, @rn.to_i) end |