beautypg.com

NEC PD78F9488 User Manual

Page 298

background image

CHAPTER 16 INTERRUPT FUNCTIONS

298

User’s Manual U15331EJ4V1UD

(4) Program status word (PSW)

The program status word is used to hold the instruction execution results and the current status of the
interrupt requests. The IE flag, used to enable and disable maskable interrupts, is mapped to the PSW.
The PSW can be read and written in 8-bit units, and can be manipulated by using bit manipulation
instructions and dedicated instructions (EI and DI). When a vectored interrupt is acknowledged, the PSW is
automatically saved to the stack, and the IE flag is reset (0).
RESET input sets the PSW to 02H.

Figure 16-5. Program Status Word Configuration

IE

Z

0

AC

0

0

1

CY

PSW

Symbol

After reset

02H

7

6

5

4

3

2

1

0

Used in the execution of ordinary instructions

IE

0

1

Disabled

Enabled

Interrupt acknowledgment enable/disable

This manual is related to the following products: