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