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

CLM and SEM: Difference between revisions

From SnesLab
Jump to: navigation, search
(see also SEM)
(combining both)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
</pre>
</pre>


=== See Also ===
The [[65c816]] has no '''SEM''' instruction to directly set the m flag.  Instead, use [[SEP]]:
* [[SEM]]
 
<pre>
SEP #$20
</pre>


[[Category:ASM]]
[[Category:ASM]]
[[Category:Non-Existant Instructions]]
[[Category:Non-Existant Instructions]]

Latest revision as of 17:54, 24 July 2024

The 65c816 has no CLM instruction to directly clear the m flag. Instead, use REP:

REP #$20

The 65c816 has no SEM instruction to directly set the m flag. Instead, use SEP:

SEP #$20