Class: AArch64::Instructions::STLXRB

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

Overview

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

Instance Method Summary collapse

Constructor Details

#initialize(rs, rt, rn) ⇒ STLXRB

Returns a new instance of STLXRB.



7
8
9
10
11
# File 'lib/aarch64/instructions/stlxrb.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/stlxrb.rb', line 13

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