Class: AArch64::Instructions::STLXR

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

Overview

STLXR – A64 Store-Release Exclusive Register STLXR <Ws>, <Wt>, [<Xn|SP>,,#0] STLXR <Ws>, <Xt>, [<Xn|SP>,,#0]

Instance Method Summary collapse

Constructor Details

#initialize(rs, rt, rn, size) ⇒ STLXR

Returns a new instance of STLXR.



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

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

Instance Method Details

#encodeObject



15
16
17
# File 'lib/aarch64/instructions/stlxr.rb', line 15

def encode
  STLXR(@size, @rs.to_i, @rn.to_i, @rt.to_i)
end