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
(→See Also: LMULT) |
(8-bit multiplier) |
||
Line 36: | Line 36: | ||
'''MULT''' is a [[Super FX]] instruction that performs a signed multiplication. The product is stored in the [[destination register]]. | '''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 === | ||
Line 43: | Line 45: | ||
=== External Links === | === External Links === | ||
# 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]] |
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
- Official Nintendo documentation on MULT: Page 2-9-93 of Book II
- https://archive.org/details/SNESDevManual/book2/page/n155