Class: AArch64::Instructions::LDSMINB
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::LDSMINB
- Defined in:
- lib/aarch64/instructions/ldsminb.rb
Overview
LDSMINB, LDSMINAB, LDSMINALB, LDSMINLB – A64 Atomic signed minimum on byte in memory LDSMINAB <Ws>, <Wt>, [<Xn|SP>] LDSMINALB <Ws>, <Wt>, [<Xn|SP>] LDSMINB <Ws>, <Wt>, [<Xn|SP>] LDSMINLB <Ws>, <Wt>, [<Xn|SP>]
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(rs, rt, rn, a, r) ⇒ LDSMINB
constructor
A new instance of LDSMINB.
Constructor Details
#initialize(rs, rt, rn, a, r) ⇒ LDSMINB
Returns a new instance of LDSMINB.
10 11 12 13 14 15 16 |
# File 'lib/aarch64/instructions/ldsminb.rb', line 10 def initialize rs, rt, rn, a, r @rs = check_mask(rs, 0x1f) @rt = check_mask(rt, 0x1f) @rn = check_mask(rn, 0x1f) @a = check_mask(a, 0x01) @r = check_mask(r, 0x01) end |
Instance Method Details
#encode(_) ⇒ Object
18 19 20 |
# File 'lib/aarch64/instructions/ldsminb.rb', line 18 def encode _ LDSMINB(@a, @r, @rs, @rn, @rt) end |