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