參數(shù)資料
型號: μPD789177Y
廠商: NEC Corp.
英文描述: 8 Bit Single Chip Microcontrollers(8 位單片微控制器)
中文描述: 8位單片機微控制器(8位單片微控制器)
文件頁數(shù): 20/145頁
文件大?。?/td> 610K
代理商: ΜPD789177Y
Preliminary Product Information
19
μ
PD789166Y, 789167Y, 789176Y, 789177Y
4.3
Processor Registers
4.3.1
Controller registers
(1) Program counter (PC)
The PC is a 16-bit register for holding address information that indicates the next program to be executed.
Figure 4-3. Program Counter Configuration
PC15
PC
PC14 PC13 PC12 PC11PC10 PC9 PC8 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0
15
0
(2) Program status word (PSW)
The PSW is an 8-bit register for holding the status of the CPU according to the results of instruction execution.
Figure 4-4. Program Status Word Configuration
7
IE
0
Z
0
AC
0
0
1
CY
PSW
(a) Interrupt enable flag (IE)
IE is used to control whether interrupt requests are to be accepted by the CPU.
(b) Zero flag (Z)
Z is set (1) if the result of operation is zero. Otherwise, it is reset (0).
(c) Auxiliary carry flag (AC)
AC is set (1) if the result of the operation has a carry from bit 3 or a borrow to bit 3. Otherwise, it is reset (0).
(d) Carry flag (CY)
CY is used to indicate whether an overflow or underflow has occurred during the execution of a subtract or
add instruction.
(3) Stack pointer (SP)
SP is a 16-bit register for holding the start address of a stack area. The stack area can be specified only in an
area (FD00H to FEFFH) of internal high-speed RAM.
Figure 4-5. Stack Pointer Configuration
SP15
SP
SP14 SP13 SP12 SP11 SP10 SP9 SP8 SP7 SP6 SP5 SP4 SP3 SP2 SP1 SP0
15
0
Caution
A RESET input makes the SP content undefined. Before executing an instruction, always
initialize the SP.
相關(guān)PDF資料
PDF描述
μPD789187 8 Bit Single Chip Microcontrollers(8 位單片微控制器)
μPD789197 8 Bit Single Chip Microcontrollers(8 位單片微控制器)
μPD789186 8 Bit Single Chip Microcontrollers(8 位單片微控制器)
μPD789198 8 Bit Single Chip Microcontrollers(8 位單片微控制器)
μPD789216Y 8 Bit Single Chip Microcontrollers(8 位單片微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PD78F0134 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers
PD78F0134(A) 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers
PD78F0134(A1) 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers
PD78F0134A 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers
PD78F0134A1 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers