We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

CLX and SEX: Difference between revisions

From SnesLab
Jump to: navigation, search
(created page)
 
(added REP/SEP example)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The [[65c816]] has no '''CLX''' instruction to directly clear the x flag.  Instead, use [[REP]].
The [[65c816]] has no '''CLX''' instruction to directly clear the x flag.  Instead, use [[REP]].


The 65c816 has no SEX instruction either.  The [[Super FX]] does, but it doesn't set any x flag.
<pre>
SEP #$10
REP #$10
</pre>
=== See Also ===
* [[SEX (Super FX)]]
[[Category:ASM]]
[[Category:ASM]]
[[Category:Non-Existant Instructions]]
[[Category:Non-Existant Instructions]]

Latest revision as of 17:29, 24 July 2024

The 65c816 has no CLX instruction to directly clear the x flag. Instead, use REP.

The 65c816 has no SEX instruction either. The Super FX does, but it doesn't set any x flag.

SEP #$10
REP #$10

See Also