![](http://datasheet.mmic.net.cn/370000/UPD780076_datasheet_16740795/UPD780076_73.png)
73
CHAPTER 5 CPU ARCHITECTURE
User
’
s Manual U14260EJ3V1UD
(a) Interrupt enable flag (IE)
This flag controls the interrupt request acknowledgment operations of the CPU.
When IE is 0 the interrupt disabled (DI) state is set, and only non-maskable interrupt requests become
acknowledgeable. Other interrupt requests are all disabled.
When IE is 1 the interrupt enabled (EI) state is set and interrupt request acknowledgment enable is controlled
by the in-service priority flag (ISP), the interrupt mask flag corresponding to each interrupt source and the
priority specification flag.
IE is reset (0) upon DI instruction execution or interrupt acknowledgment and is set (1) upon EI instruction
execution.
(b) Zero flag (Z)
When the operation result is zero, this flag is set (1). It is reset (0) in all other cases.
(c) Register bank select flags (RBS0 and RBS1)
These are 2-bit flags used to select one of the four register banks.
The 2-bit information which indicates the register bank selected by SEL RBn instruction execution is stored
in these flags.
(d) Auxiliary carry flag (AC)
If the operation result has a carry from bit 3 or a borrow at bit 3, this flag is set (1). It is reset (0) in all other
cases.
(e) In-service priority flag (ISP)
This flag manages the priority of acknowledgeable maskable vectored interrupts. When this flag is 0, low-
level vectored interrupt requests specified by the priority specification flag register (PR0L, PR0H, PR1L)
(refer to
19.3 (3) Priority specification flag registers (PR0L, PR0H, PR1L)
) are disabled for acknowledgment.
Actual interrupt request acknowledgment is controlled by the interrupt enable flag (IE).
(f)
Carry flag (CY)
This flag stores an overflow or underflow upon add/subtract instruction execution. It stores the shift-out value
upon rotate instruction execution and functions as a bit accumulator during bit manipulation instruction
execution.
(3) Stack pointer (SP)
This is a 16-bit register used to hold the start address of the memory stack area. Only the internal high-speed
RAM area (FB00H to FEFFH) can be set as the stack area.