We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
CMP (Super FX): Difference between revisions
From SnesLab
m (Jeffythedragonslayer moved page CMP (SuperFX) to CMP (Super FX): space in "Super FX") |
(moved tables up) |
||
Line 1: | Line 1: | ||
{| class="wikitable" style="float:right;clear:right;width:40%" | {| class="wikitable" style="float:right;clear:right;width:40%" | ||
!colspan="8"|Basic Info | !colspan="8"|Basic Info | ||
Line 38: | Line 36: | ||
| | | | ||
|} | |} | ||
'''CMP''' is a [[Super FX]] instruction that compares the operand register with the [[source register]]. Internally, this is done via a subtraction, but the difference is not stored anywhere. | |||
=== External Links === | === External Links === |
Revision as of 18:00, 13 July 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | ROM Speed | RAM Speed | Cache Speed | ||
implied | 3F6n | 2 bytes | 6 cycles | 6 cycles | 2 cycles |
Flags Clobbered | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
0 | 0 | 0 |
CMP is a Super FX instruction that compares the operand register with the source register. Internally, this is done via a subtraction, but the difference is not stored anywhere.
External Links
- Official Nintendo documentation on CMP: Page 2-9-41 of Book II