Class: AArch64::Instructions::STZ2G

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

Overview

STZ2G – A64 Store Allocation Tags, Zeroing STZ2G <Xt|SP>, [<Xn|SP>], #<simm> STZ2G <Xt|SP>, [<Xn|SP>, #<simm>]! STZ2G <Xt|SP>, [<Xn|SP>#<simm>]

Instance Method Summary collapse

Constructor Details

#initialize(xt, xn, imm9, opt) ⇒ STZ2G

Returns a new instance of STZ2G.



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

def initialize xt, xn, imm9, opt
  @xt   = xt
  @xn   = xn
  @imm9 = imm9
  @opt  = opt
end

Instance Method Details

#encodeObject



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

def encode
  STZ2G(@imm9, @opt, @xn.to_i, @xt.to_i)
end