Class: AArch64::Instructions::LDSMAXH
- Inherits:
-
Object
- Object
- AArch64::Instructions::LDSMAXH
- Defined in:
- lib/aarch64/instructions/ldsmaxh.rb
Overview
LDSMAXH, LDSMAXAH, LDSMAXALH, LDSMAXLH – A64 Atomic signed maximum on halfword in memory LDSMAXAH <Ws>, <Wt>, [<Xn|SP>] LDSMAXALH <Ws>, <Wt>, [<Xn|SP>] LDSMAXH <Ws>, <Wt>, [<Xn|SP>] LDSMAXLH <Ws>, <Wt>, [<Xn|SP>]
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rs, rt, rn, a, r) ⇒ LDSMAXH
constructor
A new instance of LDSMAXH.
Constructor Details
#initialize(rs, rt, rn, a, r) ⇒ LDSMAXH
Returns a new instance of LDSMAXH.
10 11 12 13 14 15 16 |
# File 'lib/aarch64/instructions/ldsmaxh.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/ldsmaxh.rb', line 18 def encode LDSMAXH(@a, @r.to_i, @rs.to_i, @rn.to_i, @rt.to_i) end |