參數(shù)資料
型號: mPD789322
廠商: NEC Corp.
元件分類: 8位微控制器
英文描述: 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
中文描述: 8位微控制器與2/4/8K字節(jié)在系統(tǒng)可編程閃存
文件頁數(shù): 8/96頁
文件大?。?/td> 482K
代理商: MPD789322
Preliminary Product Information U14673EJ1V0PM00
16
PD789322,789324,789326,789327
4.3 Processor Registers
4.3.1 Control registers
(1) Program counter (PC)
The PC is a 16-bit register that holds the address information of the next program to be executed.
Figure 4-3. Program Counter Configuration
0
15
PC14
PC15
PC
PC13 PC12 PC11 PC10
PC9
PC8
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
(2) Program status word (PSW)
The PSW is an 8-bit register that indicates the status of the CPU according to the results of instruction execution.
Figure 4-4. Program Status Word Configuration
IE
Z
0
AC
0
1
CY
70
(a) Interrupt enable flag (IE)
This flag controls the interrupt request acknowledgement of the CPU.
(b) Zero flag (Z)
This flag is set (1) if the result of an 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 at 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)
The SP is a 16-bit register that holds the start address of the stack area. Only the internal RAM area (FD00H to
FEFFH) can be specified as the stack area.
Figure 4-5. Stack Pointer Configuration
0
15
SP14
SP15
SP
SP13 SP12 SP11 SP10
SP9
SP8
SP7
SP6
SP5
SP4
SP3
SP2
SP1
SP0
Caution RESET input makes the SP contents undefined, so be sure to initialize the SP before instruction
execution.
相關PDF資料
PDF描述
mPD789327GB-xxx-8ET 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
MPDTH03060WAH 1-OUTPUT 25 W DC-DC REG PWR SUPPLY MODULE
MPLC0525L2R2 1 ELEMENT, 2.2 uH, GENERAL PURPOSE INDUCTOR, SMD
MPM21PDA300A 32-BIT, 300 MHz, MICROPROCESSOR, XMA
MPN2-01000200-28P 1000 MHz - 2000 MHz RF/MICROWAVE WIDE BAND MEDIUM POWER AMPLIFIER
相關代理商/技術參數(shù)
參數(shù)描述
MPD789322GB-XXX-8ET 制造商:NEC 制造商全稱:NEC 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLER
MPD789324 制造商:NEC 制造商全稱:NEC 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLER
MPD789324GB-XXX-8ET 制造商:NEC 制造商全稱:NEC 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLER
MPD789326 制造商:NEC 制造商全稱:NEC 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLER
MPD789326GB-XXX-8ET 制造商:NEC 制造商全稱:NEC 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLER