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