Class: AArch64::Instructions::STLRB
- Inherits:
-
Instruction
- Object
- Instruction
- 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 = check_mask(rt, 0x1f) @rn = check_mask(rn, 0x1f) end |
Instance Method Details
#encode(_) ⇒ Object
12 13 14 |
# File 'lib/aarch64/instructions/stlrb.rb', line 12 def encode _ STLRB(@rn, @rt) end |