ASM beginnings for XP and cleanup

Synch issue is not yet fixed.