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