CLX and SEX

From SnesLab
Jump to: navigation, search

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