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
(CONFIG reg determines # of cycles)
Line 49: Line 49:
=== External Links ===
=== External Links ===
# Official Nintendo documentation on UMULT: 9.90 on [https://archive.org/details/SNESDevManual/book2/page/n278 page 2-9-122 of Book II]
# Official Nintendo documentation on UMULT: 9.90 on [https://archive.org/details/SNESDevManual/book2/page/n278 page 2-9-122 of Book II]
# [https://archive.org/details/SNESDevManual/book2/page/n155 page 2-8-16 of Book II], lbid.
# 8.2 "Multiplication Instructions" on [https://archive.org/details/SNESDevManual/book2/page/n155 page 2-8-16 of Book II], lbid.


[[Category:ASM]]
[[Category:ASM]]

Revision as of 16:14, 2 July 2024

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]

The exact number of cycles depends on the state of the CONFIG register.

See Also

External Links

  1. Official Nintendo documentation on UMULT: 9.90 on page 2-9-122 of Book II
  2. 8.2 "Multiplication Instructions" on page 2-8-16 of Book II, lbid.