Class: AArch64::Instructions::PRFUM
- Inherits:
-
Object
- Object
- AArch64::Instructions::PRFUM
- Defined in:
- lib/aarch64/instructions/prfum.rb
Overview
PRFUM – A64 Prefetch Memory (unscaled offset) PRFUM (<prfop>|#<imm5>), [<Xn|SP>#<simm>]
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rt, rn, imm9) ⇒ PRFUM
constructor
A new instance of PRFUM.
Constructor Details
#initialize(rt, rn, imm9) ⇒ PRFUM
Returns a new instance of PRFUM.
7 8 9 10 11 |
# File 'lib/aarch64/instructions/prfum.rb', line 7 def initialize rt, rn, imm9 @rt = rt @rn = rn @imm9 = imm9 end |
Instance Method Details
#encode ⇒ Object
13 14 15 |
# File 'lib/aarch64/instructions/prfum.rb', line 13 def encode PRFUM(@imm9, @rn.to_i, @rt.to_i) end |