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

LMULT: Difference between revisions

From SnesLab
Jump to: navigation, search
(made basic info table shorter)
(multiplier 4 times)
 
(8 intermediate revisions by the same user not shown)
Line 16: 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 35: Line 35:
|}
|}


'''LMULT''' is a signed multiplication [[Super FX]] instruction.
'''LMULT''' is a signed multiplication [[Super FX]] instruction. The exact speed depends on the state of the [[CFGR]] register.
 
LMULT utilizes the 8-bit multiplier four times.<sup>[3]</sup>


=== See Also ===
=== See Also ===
* [[FMULT]]
* [[FMULT]]
* [[UMULT]]
* [[Partial Product Buffer]]


=== External Links ===
=== External Links ===
* Official Nintendo documentation on LMULT: [https://archive.org/details/SNESDevManual/book2/page/n230 page 2-9-73 of Book II]
# Official Nintendo documentation on LMULT: [https://archive.org/details/SNESDevManual/book2/page/n229 page 2-9-73 of Book II]
# example: [https://archive.org/details/SNESDevManual/book2/page/n230 page 2-9-74 of Book II], lbid.
# https://archive.org/details/SNESDevManual/book2/page/n155


[[Category:ASM]]
[[Category:ASM]]
[[Category:Super FX]]
[[Category:Super FX]]

Latest revision as of 12:11, 22 December 2023

Basic Info
Opcode Length ROM Speed RAM Speed Cache Speed
3D9F 2 bytes 10 or 14 cycles 10 or 14 cycles 5 or 9 cycles
Flags Affected
B ALT1 ALT2 O/V S CY Z
0 0 0 .

LMULT is a signed multiplication Super FX instruction. The exact speed depends on the state of the CFGR register.

LMULT utilizes the 8-bit multiplier four times.[3]

See Also

External Links

  1. Official Nintendo documentation on LMULT: page 2-9-73 of Book II
  2. example: page 2-9-74 of Book II, lbid.
  3. https://archive.org/details/SNESDevManual/book2/page/n155