Class: AArch64::Instructions::LDAXR
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::LDAXR
- Defined in:
- lib/aarch64/instructions/ldaxr.rb
Overview
LDAXR – A64 Load-Acquire Exclusive Register LDAXR <Wt>, [<Xn|SP>,,#0] LDAXR <Xt>, [<Xn|SP>,,#0]
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(rt, rn, size) ⇒ LDAXR
constructor
A new instance of LDAXR.
Constructor Details
#initialize(rt, rn, size) ⇒ LDAXR
Returns a new instance of LDAXR.
8 9 10 11 12 |
# File 'lib/aarch64/instructions/ldaxr.rb', line 8 def initialize rt, rn, size @rt = check_mask(rt, 0x1f) @rn = check_mask(rn, 0x1f) @size = check_mask(size, 0x03) end |
Instance Method Details
#encode(_) ⇒ Object
14 15 16 |
# File 'lib/aarch64/instructions/ldaxr.rb', line 14 def encode _ LDAXR(@size, @rn, @rt) end |