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