Class: AArch64::Instructions::ST2G

Inherits:
Object
  • Object
show all
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

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

#encodeObject



16
17
18
# File 'lib/aarch64/instructions/st2g.rb', line 16

def encode
  ST2G(@imm9, @option, @xn.to_i, @xt.to_i)
end