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.