Class: AArch64::Instructions::STGP

Inherits:
Object
  • Object
show all
Defined in:
lib/aarch64/instructions/stgp.rb

Overview

STGP – A64 Store Allocation Tag and Pair of registers STGP <Xt1>, <Xt2>, [<Xn|SP>], #<imm> STGP <Xt1>, <Xt2>, [<Xn|SP>, #<imm>]! STGP <Xt1>, <Xt2>, [<Xn|SP>#<imm>]

Instance Method Summary collapse

Constructor Details

#initialize(xt, xt2, xn, simm7, option) ⇒ STGP

Returns a new instance of STGP.



9
10
11
12
13
14
15
# File 'lib/aarch64/instructions/stgp.rb', line 9

def initialize xt, xt2, xn, simm7, option
  @xt     = xt
  @xt2    = xt2
  @xn     = xn
  @simm7  = simm7
  @option = option
end

Instance Method Details

#encodeObject



17
18
19
# File 'lib/aarch64/instructions/stgp.rb', line 17

def encode
  STGP(@option, @simm7, @xt2.to_i, @xn.to_i, @xt.to_i)
end