Method: AArch64::Instructions::STG#initialize

Defined in:
lib/aarch64/instructions/stg.rb

#initialize(xt, xn, imm9, option) ⇒ STG

Returns a new instance of STG.



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

def initialize xt, xn, imm9, option
  @xt     = check_mask(xt, 0x1f)
  @xn     = check_mask(xn, 0x1f)
  @imm9   = check_mask(imm9, 0x1ff)
  @option = check_mask(option, 0x03)
end