Class: AArch64::Instructions::LDSMINH
- Inherits:
-
Object
- Object
- AArch64::Instructions::LDSMINH
- Defined in:
- lib/aarch64/instructions/ldsminh.rb
Overview
LDSMINH, LDSMINAH, LDSMINALH, LDSMINLH – A64 Atomic signed minimum on halfword in memory LDSMINAH <Ws>, <Wt>, [<Xn|SP>] LDSMINALH <Ws>, <Wt>, [<Xn|SP>] LDSMINH <Ws>, <Wt>, [<Xn|SP>] LDSMINLH <Ws>, <Wt>, [<Xn|SP>]
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rs, rt, rn, a, r) ⇒ LDSMINH
constructor
A new instance of LDSMINH.
Constructor Details
#initialize(rs, rt, rn, a, r) ⇒ LDSMINH
Returns a new instance of LDSMINH.
10 11 12 13 14 15 16 |
# File 'lib/aarch64/instructions/ldsminh.rb', line 10 def initialize rs, rt, rn, a, r @rs = rs @rt = rt @rn = rn @a = a @r = r end |
Instance Method Details
#encode ⇒ Object
18 19 20 |
# File 'lib/aarch64/instructions/ldsminh.rb', line 18 def encode LDSMINH(@a, @r.to_i, @rs.to_i, @rn.to_i, @rt.to_i) end |