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