Class: AArch64::Instructions::PRFM_reg
- Inherits:
-
Object
- Object
- AArch64::Instructions::PRFM_reg
- Defined in:
- lib/aarch64/instructions/prfm_reg.rb
Overview
PRFM (register) – A64 Prefetch Memory (register) PRFM (<prfop>|#<imm5>), [<Xn|SP>, (<Wm>|<Xm>)<extend> {<amount>}]
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rt, rn, rm, option, s) ⇒ PRFM_reg
constructor
A new instance of PRFM_reg.
Constructor Details
#initialize(rt, rn, rm, option, s) ⇒ PRFM_reg
7 8 9 10 11 12 13 |
# File 'lib/aarch64/instructions/prfm_reg.rb', line 7 def initialize rt, rn, rm, option, s @rt = rt @rn = rn @rm = rm @option = option @s = s end |
Instance Method Details
#encode ⇒ Object
15 16 17 |
# File 'lib/aarch64/instructions/prfm_reg.rb', line 15 def encode PRFM_reg(@rm.to_i, @option, @s, @rn.to_i, @rt.to_i) end |