English
Language : 

UPD78361A Datasheet, PDF (18/88 Pages) NEC – 16/8-BIT SINGLE-CHIP MICROCONTROLLER
µPD78361A, 78362A
2.3 PROCESSOR REGISTERS
The µPD78362A is provided with the following three types of processor registers:
• Control registers
• General-purpose registers
• Special function registers (SFRs)
2.3.1 Control Registers
(1) Program counter (PC)
This is a 16-bit register that holds an address of the instruction to be executed next.
(2) Program status word (PSW)
This 16-bit register indicates the status of the CPU as a result of instruction execution.
(3) Stack pointer (SP)
This 16-bit register indicates the first address of the stack area (LIFO) of the memory.
Figure 2-5. Configuration of Control Registers
15
0
PC
PSW
SP
15
UF
PSW 7
S
Figure 2-6. Configuration of PSW
RBS2 RBS1 RBS0
0
0
0
Z
RSS
AC
IE
P/V
0
UF
: User flag
RBS0-RBS2: Register bank select flag
S
: Sign flag (MSB of execution result)
Z
: Zero flag
RSS
: Register set select flag
AC
: Auxiliary carry flag
IE
: Interrupt request enable flag
P/V
: Parity/overflow flag
CY
: Carry flag
8
0
0
CY
18