Class: AArch64::Instructions::STR_reg_gen
- Inherits:
-
Object
- Object
- AArch64::Instructions::STR_reg_gen
- Defined in:
- lib/aarch64/instructions/str_reg_gen.rb
Overview
STR (register) – A64 Store Register (register) STR <Wt>, [<Xn|SP>, (<Wm>|<Xm>)<extend> {<amount>}] STR <Xt>, [<Xn|SP>, (<Wm>|<Xm>)<extend> {<amount>}]
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rt, rn, rm, option, s, size) ⇒ STR_reg_gen
constructor
A new instance of STR_reg_gen.
Constructor Details
#initialize(rt, rn, rm, option, s, size) ⇒ STR_reg_gen
8 9 10 11 12 13 14 15 |
# File 'lib/aarch64/instructions/str_reg_gen.rb', line 8 def initialize rt, rn, rm, option, s, size @rt = rt @rn = rn @rm = rm @option = option @s = s @size = size end |
Instance Method Details
#encode ⇒ Object
17 18 19 |
# File 'lib/aarch64/instructions/str_reg_gen.rb', line 17 def encode STR_reg_gen(@size, @rm.to_i, @option, @s, @rn.to_i, @rt.to_i) end |