Class: AArch64::Instructions::STP_gen
- Inherits:
-
Object
- Object
- AArch64::Instructions::STP_gen
- Defined in:
- lib/aarch64/instructions/stp_gen.rb
Overview
STP – A64 Store Pair of Registers STP <Wt1>, <Wt2>, [<Xn|SP>], #<imm> STP <Xt1>, <Xt2>, [<Xn|SP>], #<imm> STP <Wt1>, <Wt2>, [<Xn|SP>, #<imm>]! STP <Xt1>, <Xt2>, [<Xn|SP>, #<imm>]! STP <Wt1>, <Wt2>, [<Xn|SP>#<imm>] STP <Xt1>, <Xt2>, [<Xn|SP>#<imm>]
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(rt, rt2, rn, imm7, opc, option) ⇒ STP_gen
constructor
A new instance of STP_gen.
Constructor Details
#initialize(rt, rt2, rn, imm7, opc, option) ⇒ STP_gen
Returns a new instance of STP_gen.
12 13 14 15 16 17 18 19 |
# File 'lib/aarch64/instructions/stp_gen.rb', line 12 def initialize rt, rt2, rn, imm7, opc, option @rt = rt @rt2 = rt2 @rn = rn @imm7 = imm7 @opc = opc @option = option end |
Instance Method Details
#encode ⇒ Object
21 22 23 |
# File 'lib/aarch64/instructions/stp_gen.rb', line 21 def encode STP_gen(@opc, @option, @imm7, @rt2.to_i, @rn.to_i, @rt.to_i) end |