Class: AArch64::Instructions::STLXP
- Inherits:
-
Object
- Object
- AArch64::Instructions::STLXP
- Defined in:
- lib/aarch64/instructions/stlxp.rb
Overview
STLXP – A64 Store-Release Exclusive Pair of registers STLXP <Ws>, <Wt1>, <Wt2>, [<Xn|SP>,,#0] STLXP <Ws>, <Xt1>, <Xt2>, [<Xn|SP>,,#0]
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rs, rt, rt2, rn, sz) ⇒ STLXP
constructor
A new instance of STLXP.
Constructor Details
#initialize(rs, rt, rt2, rn, sz) ⇒ STLXP
Returns a new instance of STLXP.
8 9 10 11 12 13 14 |
# File 'lib/aarch64/instructions/stlxp.rb', line 8 def initialize rs, rt, rt2, rn, sz @rs = rs @rt = rt @rt2 = rt2 @rn = rn @sz = sz end |
Instance Method Details
#encode ⇒ Object
16 17 18 |
# File 'lib/aarch64/instructions/stlxp.rb', line 16 def encode STLXP(@sz, @rs.to_i, @rt2.to_i, @rn.to_i, @rt.to_i) end |