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
(added REP example)
(combining both)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
<pre>
<pre>
REP #$20
REP #$20
</pre>
The [[65c816]] has no '''SEM''' instruction to directly set the m flag.  Instead, use [[SEP]]:
<pre>
SEP #$20
</pre>
</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