Class: AArch64::Instructions::ST2G
- Inherits:
-
Object
- Object
- AArch64::Instructions::ST2G
- Defined in:
- lib/aarch64/instructions/st2g.rb
Overview
ST2G – A64 Store Allocation Tags ST2G <Xt|SP>, [<Xn|SP>], #<simm> ST2G <Xt|SP>, [<Xn|SP>, #<simm>]! ST2G <Xt|SP>, [<Xn|SP>#<simm>]
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(xt, xn, imm9, option) ⇒ ST2G
constructor
A new instance of ST2G.
Constructor Details
#initialize(xt, xn, imm9, option) ⇒ ST2G
Returns a new instance of ST2G.
9 10 11 12 13 14 |
# File 'lib/aarch64/instructions/st2g.rb', line 9 def initialize xt, xn, imm9, option @xt = xt @xn = xn @imm9 = imm9 @option = option end |
Instance Method Details
#encode ⇒ Object
16 17 18 |
# File 'lib/aarch64/instructions/st2g.rb', line 16 def encode ST2G(@imm9, @option, @xn.to_i, @xt.to_i) end |