We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
ROL (Super FX): Difference between revisions
From SnesLab
(added official doc link) |
(added tables) |
||
Line 1: | Line 1: | ||
'''ROL''' is a Super FX instruction that rotates the [[source register]] and [[carry flag]]. | '''ROL''' is a Super FX instruction that rotates the [[source register]] and [[carry flag]] into the [[destination register]]. | ||
{| class="wikitable" style="float:right;clear:right;width:40%" | |||
!colspan="8"|Basic Info | |||
|+ | |||
|'''Opcode''' | |||
|'''Length''' | |||
|'''ROM Speed''' | |||
|'''RAM Speed''' | |||
|'''Cache Speed''' | |||
|+ | |||
|04 | |||
|1 byte | |||
|3 cycles | |||
|3 cycles | |||
|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 | |||
|. | |||
| | |||
| | |||
| | |||
|} | |||
=== See Also === | |||
* [[ROR (Super FX)]] | |||
=== External Links === | === External Links === |
Revision as of 21:41, 24 May 2023
ROL is a Super FX instruction that rotates the source register and carry flag into the destination register.
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | Length | ROM Speed | RAM Speed | Cache Speed | |||
04 | 1 byte | 3 cycles | 3 cycles | 1 cycle |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
0 | 0 | 0 | . |
See Also
External Links
- Official Nintendo documentation on ROL: https://archive.org/details/SNESDevManual/book2/page/n258