Class: AArch64::Instructions::LDSMIN
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::LDSMIN
- Defined in:
- lib/aarch64/instructions/ldsmin.rb
Overview
LDSMIN, LDSMINA, LDSMINAL, LDSMINL – A64 Atomic signed minimum on word or doubleword in memory LDSMIN <Ws>, <Wt>, [<Xn|SP>] LDSMINA <Ws>, <Wt>, [<Xn|SP>] LDSMINAL <Ws>, <Wt>, [<Xn|SP>] LDSMINL <Ws>, <Wt>, [<Xn|SP>] LDSMIN <Xs>, <Xt>, [<Xn|SP>] LDSMINA <Xs>, <Xt>, [<Xn|SP>] LDSMINAL <Xs>, <Xt>, [<Xn|SP>] LDSMINL <Xs>, <Xt>, [<Xn|SP>]
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(rs, rt, rn, size, a, r) ⇒ LDSMIN
constructor
A new instance of LDSMIN.
Constructor Details
#initialize(rs, rt, rn, size, a, r) ⇒ LDSMIN
Returns a new instance of LDSMIN.
14 15 16 17 18 19 20 21 |
# File 'lib/aarch64/instructions/ldsmin.rb', line 14 def initialize rs, rt, rn, size, a, r @rs = check_mask(rs, 0x1f) @rt = check_mask(rt, 0x1f) @rn = check_mask(rn, 0x1f) @size = check_mask(size, 0x03) @a = check_mask(a, 0x01) @r = check_mask(r, 0x01) end |
Instance Method Details
#encode(_) ⇒ Object
23 24 25 |
# File 'lib/aarch64/instructions/ldsmin.rb', line 23 def encode _ LDSMIN(@size, @a, @r, @rs, @rn, @rt) end |