clarified register usage in ISR