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