Class: AArch64::Instructions::LDCLRB
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::LDCLRB
- Defined in:
- lib/aarch64/instructions/ldclrb.rb
Overview
LDCLRB, LDCLRAB, LDCLRALB, LDCLRLB – A64 Atomic bit clear on byte in memory LDCLRAB <Ws>, <Wt>, [<Xn|SP>] LDCLRALB <Ws>, <Wt>, [<Xn|SP>] LDCLRB <Ws>, <Wt>, [<Xn|SP>] LDCLRLB <Ws>, <Wt>, [<Xn|SP>]
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(rs, rt, rn, a, r, size) ⇒ LDCLRB
constructor
A new instance of LDCLRB.
Constructor Details
#initialize(rs, rt, rn, a, r, size) ⇒ LDCLRB
Returns a new instance of LDCLRB.
10 11 12 13 14 15 16 17 |
# File 'lib/aarch64/instructions/ldclrb.rb', line 10 def initialize rs, rt, rn, a, r, size @rs = check_mask(rs, 0x1f) @rt = check_mask(rt, 0x1f) @rn = check_mask(rn, 0x1f) @a = check_mask(a, 0x01) @r = check_mask(r, 0x01) @size = check_mask(size, 0x03) end |
Instance Method Details
#encode(_) ⇒ Object
19 20 21 |
# File 'lib/aarch64/instructions/ldclrb.rb', line 19 def encode _ LDCLRB(@size, @a, @r, @rs, @rn, @rt) end |