UNDI ISR: save and restore 32-bit registers