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