Class: AArch64::Instructions::STLRH
- Inherits:
-
Object
- Object
- AArch64::Instructions::STLRH
- Defined in:
- lib/aarch64/instructions/stlrh.rb
Overview
STLRH – A64 Store-Release Register Halfword STLRH <Wt>, [<Xn|SP>,,#0]
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rt, rn) ⇒ STLRH
constructor
A new instance of STLRH.
Constructor Details
#initialize(rt, rn) ⇒ STLRH
Returns a new instance of STLRH.
7 8 9 10 |
# File 'lib/aarch64/instructions/stlrh.rb', line 7 def initialize rt, rn @rt = rt @rn = rn end |
Instance Method Details
#encode ⇒ Object
12 13 14 |
# File 'lib/aarch64/instructions/stlrh.rb', line 12 def encode STLRH(@rn.to_i, @rt.to_i) end |