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
Jump to: navigation, search
(added tables)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''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%"
{| class="wikitable" style="float:right;clear:right;width:40%"
!colspan="8"|Basic Info
!colspan="8"|Basic Info
Line 21: Line 19:
|+
|+
|B
|B
|ALT1
|[[ALT1]]
|ALT2
|[[ALT2]]
|O/V
|[[O/V]]
|S
|S
|CY
|[[CY]]
|Z
|Z
|+
|+
Line 36: Line 34:
|
|
|}
|}
'''ROL''' (Rotate Left) is a Super FX instruction that rotates the [[source register]] and [[carry flag]] into the [[destination register]].


=== See Also ===
=== See Also ===
* [[ROR (Super FX)]]
* [[ROR (Super FX)]]
* [[ROL]]


=== External Links ===
=== External Links ===
* Official Nintendo documentation on ROL: https://archive.org/details/SNESDevManual/book2/page/n258
* Official Nintendo documentation on ROL: [https://archive.org/details/SNESDevManual/book2/page/n258 Page 2-9-102 of Book II]
* example: https://archive.org/details/SNESDevManual/book2/page/n259


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

Latest revision as of 06:34, 29 November 2023

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 .

ROL (Rotate Left) is a Super FX instruction that rotates the source register and carry flag into the destination register.

See Also

External Links