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