Class: AArch64::Instructions::LDAXP
- Inherits:
-
Object
- Object
- AArch64::Instructions::LDAXP
- Defined in:
- lib/aarch64/instructions/ldaxp.rb
Overview
LDAXP – A64 Load-Acquire Exclusive Pair of Registers LDAXP <Wt1>, <Wt2>, [<Xn|SP>,,#0] LDAXP <Xt1>, <Xt2>, [<Xn|SP>,,#0]
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rt1, rt2, rn, sf) ⇒ LDAXP
constructor
A new instance of LDAXP.
Constructor Details
#initialize(rt1, rt2, rn, sf) ⇒ LDAXP
Returns a new instance of LDAXP.
8 9 10 11 12 13 |
# File 'lib/aarch64/instructions/ldaxp.rb', line 8 def initialize rt1, rt2, rn, sf @rt1 = rt1 @rt2 = rt2 @rn = rn @sf = sf end |
Instance Method Details
#encode ⇒ Object
15 16 17 |
# File 'lib/aarch64/instructions/ldaxp.rb', line 15 def encode LDAXP(@sf, @rt2.to_i, @rn.to_i, @rt1.to_i) end |