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

MULT (Super FX): Difference between revisions

From SnesLab
Jump to: navigation, search
(Clobbered -> affected)
(8-bit multiplier)
 
(4 intermediate revisions by the same user not shown)
Line 19: Line 19:
|+
|+
|B
|B
|ALT1
|[[ALT1]]
|ALT2
|[[ALT2]]
|O/V
|[[O/V]]
|S
|S
|CY
|[[CY]]
|Z
|Z
|+
|+
Line 35: Line 35:
|}
|}


'''MULT''' is a [[Super FX]] instruction that performs a signed multiplication.
'''MULT''' is a [[Super FX]] instruction that performs a signed multiplication. The product is stored in the [[destination register]].
 
MULT utilizes the 8-bit multiplier only once, so it is fast.<sup>[2]</sup>


=== See Also ===
=== See Also ===
* [[UMULT]]
* [[UMULT]]
* [[FMULT]]
* [[FMULT]]
* [[LMULT]]


=== External Links ===
=== External Links ===
* Official Nintendo documentation on MULT: [https://archive.org/details/SNESDevManual/book2/page/n249 Page 2-9-93 of Book II]
# Official Nintendo documentation on MULT: [https://archive.org/details/SNESDevManual/book2/page/n249 Page 2-9-93 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:16, 22 December 2023

Basic Info
Opcode Length ROM Speed RAM Speed Cache Speed
3E8n 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 . .

MULT is a Super FX instruction that performs a signed multiplication. The product is stored in the destination register.

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

See Also

External Links

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