Class: AArch64::Instructions::LDUMIN

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

Overview

LDUMIN, LDUMINA, LDUMINAL, LDUMINL – A64 Atomic unsigned minimum on word or doubleword in memory LDUMIN <Ws>, <Wt>, [<Xn|SP>] LDUMINA <Ws>, <Wt>, [<Xn|SP>] LDUMINAL <Ws>, <Wt>, [<Xn|SP>] LDUMINL <Ws>, <Wt>, [<Xn|SP>] LDUMIN <Xs>, <Xt>, [<Xn|SP>] LDUMINA <Xs>, <Xt>, [<Xn|SP>] LDUMINAL <Xs>, <Xt>, [<Xn|SP>] LDUMINL <Xs>, <Xt>, [<Xn|SP>]

Instance Method Summary collapse

Constructor Details

#initialize(rs, rt, rn, size, a, r) ⇒ LDUMIN

Returns a new instance of LDUMIN.



14
15
16
17
18
19
20
21
# File 'lib/aarch64/instructions/ldumin.rb', line 14

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

Instance Method Details

#encodeObject



23
24
25
# File 'lib/aarch64/instructions/ldumin.rb', line 23

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