beautypg.com

NEC PD17062 User Manual

Page 118

background image

118

µ

PD17062

11.6.3 Notes on Interrupt Processing Routine

Note the following regarding the interrupt processing routine:

(1) Data saved by hardware

All bank registers and index enable flags are reset to 0 after being saved in the interrupt stack.

(2) Data saved by software

Data saved by software is not reset after being saved.

Program status words such as the BCD flag, compare flag, carry flag, zero flag, and memory pointer enable

flags keep their preacceptance values. Initialize these program status words if necessary.