Class: AArch64::Instructions::ST64BV0

Inherits:
Instruction show all
Defined in:
lib/aarch64/instructions/st64bv0.rb

Overview

ST64BV0 – A64 Single-copy Atomic 64-byte EL0 Store with Return ST64BV0 <Xs>, <Xt>, [<Xn|SP>]

Instance Method Summary collapse

Constructor Details

#initialize(rs, rt, rn) ⇒ ST64BV0

Returns a new instance of ST64BV0.



7
8
9
10
11
# File 'lib/aarch64/instructions/st64bv0.rb', line 7

def initialize rs, rt, rn
  @rs = check_mask(rs, 0x1f)
  @rt = check_mask(rt, 0x1f)
  @rn = check_mask(rn, 0x1f)
end

Instance Method Details

#encode(_) ⇒ Object



13
14
15
# File 'lib/aarch64/instructions/st64bv0.rb', line 13

def encode _
  ST64BV0(@rs, @rn, @rt)
end