參數(shù)資料
型號: UPD17147CTA1
廠商: NEC Corp.
英文描述: SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 小,通用4位單晶片微控制器
文件頁數(shù): 19/102頁
文件大?。?/td> 408K
代理商: UPD17147CTA1
19
μ
PD17145(A1), 17147(A1), 17149(A1)
4. STACK
The stack is a register to which the return address of the program or the contents of the system registers,
which are described later, are saved when a subroutine call instruction is executed or when an interrupt is
acknowledged.
4.1 Configuration of Stack
Figure 4-1 shows the configuration of the stack.
The stack consists of a 3-bit binary counter, stack pointer (SP), five 10-bit (
μ
PD17145(A1)), 11-bit
(
μ
PD17147(A1)), or 12-bit (
μ
PD17149(A1)) address stack registers (ASRs), and three 5-bit interrupt stack
registers (INTSKs).
Figure 4-1. Configuration of Stack
4.2 Stack Function
The stack is used to save a return address when the subroutine call or table reference instruction is executed.
When an interrupt is acknowledged, the return address of the program and the contents of the program status
word (PSWORD) are automatically saved to the stack. After they are saved to the stack, all the bits of PSWORD
are cleared to 0.
b
2
SPb
2
b
1
SPb
1
b
0
SPb
0
0H
1H
2H
3H
4H
b
11
b
10
b
9
b
8
b
7
b
6
b
5
b
4
b
3
b
2
b
1
b
0
BCDSK0
BCDSK1
BCDSK2
CMPSK0
CMPSK1
CMPSK2
CYSK0
CYSK1
CYSK2
ZSK0
ZSK1
ZSK2
IXESK0
IXESK1
IXESK2
0H
1H
2H
Stack pointer
(SP)
SP is initialized to 5H at
reset.
Address stack registers
(ASRs)
Address stack register 0
Address stack register 1
Address stack register 2
Address stack register 3
Address stack register 4
Interrupt stack registers
(INTSKs)
相關(guān)PDF資料
PDF描述
UPD17149 SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
UPD17149CT SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
UPD17147GT SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
UPD17147GTA1 SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
UPD17149GTA1 SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD17147GT 制造商:NEC 制造商全稱:NEC 功能描述:SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
UPD17147GTA1 制造商:NEC 制造商全稱:NEC 功能描述:SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
UPD17149 制造商:NEC 制造商全稱:NEC 功能描述:SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
UPD17149CT 制造商:NEC 制造商全稱:NEC 功能描述:SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
UPD17149CTA1 制造商:NEC 制造商全稱:NEC 功能描述:SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS