We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

UMULT (Super FX): Difference between revisions

From SnesLab
Jump to: navigation, search
m (Jeffythedragonslayer moved page UMULT to UMULT (Super FX): Super FX in title)
(8-bit multiplier)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''UMULT''' is an unsigned multiplication [[Super FX]] instruction.
{| class="wikitable" style="float:right;clear:right;width:50%"
 
{| class="wikitable" style="float:right;clear:right;width:40%"
!colspan="8"|Basic Info
!colspan="8"|Basic Info
|+
|+
Line 18: Line 16:


{| class="wikitable" style="float:right;clear:right;width:30%"
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="9"|Flags Clobbered
!colspan="9"|Flags Affected
|+
|+
|B
|B
|ALT1
|[[ALT1]]
|ALT2
|[[ALT2]]
|O/V
|[[O/V]]
|S
|S
|CY
|[[CY]]
|Z
|Z
|+
|+
Line 36: Line 34:
|
|
|}
|}
'''UMULT''' is an unsigned multiplication [[Super FX]] instruction.  The product is stored in the [[destination register]].
UMULT utilizes the 8-bit multiplier only once, so it is fast.<sup>[2]</sup>


=== See Also ===
=== See Also ===
* [[FMULT]]
* [[FMULT]]
* [[LMULT]]
* [[MULT]]
* [[MUL]]


=== External Links ===
=== External Links ===
* Official Nintendo documentation on UMULT: https://archive.org/details/SNESDevManual/book2/page/n278
# Official Nintendo documentation on UMULT: [https://archive.org/details/SNESDevManual/book2/page/n278 Page 2-9-122 of Book II]
# https://archive.org/details/SNESDevManual/book2/page/n155


[[Category:ASM]]
[[Category:ASM]]
[[Category:Super FX]]
[[Category:Super FX]]
[[Category:Arithmetic Operation Instructions]]
[[Category:Arithmetic Operation Instructions]]
[[Category:Two-byte Instructions]]

Latest revision as of 12:17, 22 December 2023

Basic Info
Opcode Length ROM Speed RAM Speed Cache Speed
3D8n 2 bytes 6 or 8 cycles 6 or 8 cycles 2 or 3 cycles
Flags Affected
B ALT1 ALT2 O/V S CY Z
0 0 0 . .

UMULT is an unsigned multiplication Super FX instruction. The product is stored in the destination register.

UMULT utilizes the 8-bit multiplier only once, so it is fast.[2]

See Also

External Links

  1. Official Nintendo documentation on UMULT: Page 2-9-122 of Book II
  2. https://archive.org/details/SNESDevManual/book2/page/n155