fixes to use __asm() in ((naked)) fcns