Save and restore STATUS and W in interrupt service.

This needs to be done by the software. The code is from that datasheet.