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