Class: AArch64::Instructions::LDUMINB

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

Overview

LDUMINB, LDUMINAB, LDUMINALB, LDUMINLB – A64 Atomic unsigned minimum on byte in memory LDUMINAB <Ws>, <Wt>, [<Xn|SP>] LDUMINALB <Ws>, <Wt>, [<Xn|SP>] LDUMINB <Ws>, <Wt>, [<Xn|SP>] LDUMINLB <Ws>, <Wt>, [<Xn|SP>]

Instance Method Summary collapse

Constructor Details

#initialize(rs, rt, rn, a, r) ⇒ LDUMINB

Returns a new instance of LDUMINB.



10
11
12
13
14
15
16
# File 'lib/aarch64/instructions/lduminb.rb', line 10

def initialize rs, rt, rn, a, r
  @rs = rs
  @rt = rt
  @rn = rn
  @a  = a
  @r  = r
end

Instance Method Details

#encodeObject



18
19
20
# File 'lib/aarch64/instructions/lduminb.rb', line 18

def encode
  LDUMINB(@a, @r.to_i, @rs.to_i, @rn.to_i, @rt.to_i)
end