The H register in (S)08 starts out zeroed, exactly for assuring compatibility with 05 code.
So, if you haven't added new (S)08 specific code (that affects the HX register directly or indirectly), you shouldn't have to worry about H.
Nevertheless, you need to trace your code using a debugger.
If you have used HX in your updated code make sure as a minimum that your ISR routines save and restore H (which isn't done automatically as with the other registers -- supposedly that too was for compatibility even though no stack manipulation was possible with the HC05, except with some very unorthodox compiler schemes, so who knows for whose sake they had to ruin it for everyone else.)
In short, every ISR should start with PSHH and end with PULH, RTI to be totally safe.
Message Edited by tonyp on
2008-01-16 09:20 PM