Class: AArch64::Instructions::STLLRH

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

Overview

STLLRH – A64 Store LORelease Register Halfword STLLRH <Wt>, [<Xn|SP>,,#0]

Instance Method Summary collapse

Constructor Details

#initialize(rt, rn) ⇒ STLLRH

Returns a new instance of STLLRH.



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

def initialize rt, rn
  @rt = rt
  @rn = rn
end

Instance Method Details

#encodeObject



12
13
14
# File 'lib/aarch64/instructions/stllrh.rb', line 12

def encode
  STLLRH(@rn.to_i, @rt.to_i)
end