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
m (Xetheria moved page CLX to CLX and SEX: combine both)
(added REP/SEP example)
 
Line 2: Line 2:


The 65c816 has no SEX instruction either.  The [[Super FX]] does, but it doesn't set any x flag.
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 ===
=== See Also ===

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