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