We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
COLOR (Super FX): Difference between revisions
From SnesLab
(plot-related instructions) |
(added flags affected) |
||
Line 1: | Line 1: | ||
COLOR is a [[Super FX]] instruction that loads the [[color register]]. | '''COLOR''' is a [[Super FX]] instruction that loads the [[color register]] with the low byte of the [[source register]]. | ||
{| class="wikitable" style="float:right;clear:right;width:40%" | {| class="wikitable" style="float:right;clear:right;width:40%" | ||
Line 15: | Line 15: | ||
|3 cycles | |3 cycles | ||
|1 cycle | |1 cycle | ||
|} | |||
{| class="wikitable" style="float:right;clear:right;width:30%" | |||
!colspan="9"|Flags Affected | |||
|+ | |||
|B | |||
|ALT1 | |||
|ALT2 | |||
|O/V | |||
|S | |||
|CY | |||
|Z | |||
|+ | |||
|0 | |||
|0 | |||
|0 | |||
|. | |||
|. | |||
|. | |||
|. | |||
|} | |} | ||
Revision as of 05:12, 9 May 2023
COLOR is a Super FX instruction that loads the color register with the low byte of the source register.
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | Length | ROM Speed | RAM Speed | Cache Speed | |||
4E | 1 byte | 3 cycles | 3 cycles | 1 cycle |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
0 | 0 | 0 | . | . | . | . |