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
Jump to: navigation, search
(created page)
 
(added official doc link)
Line 38: Line 38:
|
|
|}
|}
=== External Links ===
* Official Nintendo documentation on CMP: https://archive.org/details/SNESDevManual/book2/page/n197


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

Revision as of 06:51, 16 May 2023

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.

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

External Links