Class: AArch64::Instructions::UMSUBL
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::UMSUBL
- Defined in:
- lib/aarch64/instructions/umsubl.rb
Overview
UMSUBL – A64 Unsigned Multiply-Subtract Long UMSUBL <Xd>, <Wn>, <Wm>, <Xa>
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(xd, wn, wm, xa) ⇒ UMSUBL
constructor
A new instance of UMSUBL.
Constructor Details
#initialize(xd, wn, wm, xa) ⇒ UMSUBL
Returns a new instance of UMSUBL.
7 8 9 10 11 12 |
# File 'lib/aarch64/instructions/umsubl.rb', line 7 def initialize xd, wn, wm, xa @xd = check_mask(xd, 0x1f) @wn = check_mask(wn, 0x1f) @wm = check_mask(wm, 0x1f) @xa = check_mask(xa, 0x1f) end |
Instance Method Details
#encode(_) ⇒ Object
14 15 16 |
# File 'lib/aarch64/instructions/umsubl.rb', line 14 def encode _ UMSUBL(@wm, @xa, @wn, @xd) end |