Class: AArch64::Instructions::LDSMAX
- Inherits:
-
Object
- Object
- AArch64::Instructions::LDSMAX
- Defined in:
- lib/aarch64/instructions/ldsmax.rb
Overview
LDSMAX, LDSMAXA, LDSMAXAL, LDSMAXL – A64 Atomic signed maximum on word or doubleword in memory LDSMAX <Ws>, <Wt>, [<Xn|SP>] LDSMAXA <Ws>, <Wt>, [<Xn|SP>] LDSMAXAL <Ws>, <Wt>, [<Xn|SP>] LDSMAXL <Ws>, <Wt>, [<Xn|SP>] LDSMAX <Xs>, <Xt>, [<Xn|SP>] LDSMAXA <Xs>, <Xt>, [<Xn|SP>] LDSMAXAL <Xs>, <Xt>, [<Xn|SP>] LDSMAXL <Xs>, <Xt>, [<Xn|SP>]
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rs, rt, rn, size, a, r) ⇒ LDSMAX
constructor
A new instance of LDSMAX.
Constructor Details
#initialize(rs, rt, rn, size, a, r) ⇒ LDSMAX
Returns a new instance of LDSMAX.
14 15 16 17 18 19 20 21 |
# File 'lib/aarch64/instructions/ldsmax.rb', line 14 def initialize rs, rt, rn, size, a, r @rs = rs @rt = rt @rn = rn @size = size @a = a @r = r end |
Instance Method Details
#encode ⇒ Object
23 24 25 |
# File 'lib/aarch64/instructions/ldsmax.rb', line 23 def encode LDSMAX(@size, @a, @r.to_i, @rs.to_i, @rn.to_i, @rt.to_i) end |