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