參數(shù)資料
型號(hào): UPD7566A
廠商: NEC Corp.
英文描述: 4-BIT SINGLE-CHIP MICROCOMPUTER
中文描述: 4位單片機(jī)
文件頁數(shù): 15/58頁
文件大?。?/td> 471K
代理商: UPD7566A
μ
PD7566A, 7566A(A)
15
2.2 STACK POINTER (SP)
...... 6 BITS
This is a 6-bit register. When port of the data memory is used as a last-in, first-out (LIFO) stack area, the SP retains
the first address for the stack.
Fig. 2-2 Stack Pointer
SP5
SP4
SP3
SP2
SP1
SP0
SP
The SP contents are decremented when a call instruction has been executed, and are incremented when a return
instruction has been executed.
To obtain a stack area, the SP must be initialized by TAMSP instruction. Note, however, that 0 is is
unconditionally loaded to the LSB for the SP (i.e., bit SP0) when TAMSP instruction has been executed. Stacking
operation begins with decrementing the SP contents. Therefore, the highest address for the stack area +1 is set
in the SP.
If the highest address for the stack area is 3FH, which is the highest address in the data memory, the initial
values for the SP5 to 0 bits must be 00H. However, keep the data to be stored in AM to 40H when TAMSP instruction
is executed, so that the microcomputer can be easily emulated by
μ
PD7500H (EVAKIT-7500B).
Fig. 2-3 Executing TAMSP Instruction
The SP contents cannot be read.
Caution The SP contents are undefined, when the RESET signal has been input. Therefore, make sure that
the SP is initialized at the beginning of the program.
Example: LHLI
00H
0
LAI
ST
LAI
TAMSP
4
; SP = 40H
0
SP4
A3
SP2
SP3
SP0
SP1
A2
A1
A0
(HL)
3
SP5
(HL)
2
(HL)
1
(HL)
0
相關(guān)PDF資料
PDF描述
UPD7566AA 4-BIT SINGLE-CHIP MICROCOMPUTER
UPD7566ACS 4-BIT SINGLE-CHIP MICROCOMPUTER
UPD7566ACSA 4-BIT SINGLE-CHIP MICROCOMPUTER
UPD7566AG 4-BIT SINGLE-CHIP MICROCOMPUTER
UPD75P316BGK-BE9 4-BIT SINGLE-CHIP MICROCOMPUTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD7566CS044 制造商:Panasonic Industrial Company 功能描述:IC
UPD75P0016CU 制造商:Renesas Electronics Corporation 功能描述:MCU 4-Bit 75XL CISC 16KB EPROM 2.5V/3.3V/5V 42-Pin SPDIP
UPD75P0016CU-A 制造商:Renesas Electronics Corporation 功能描述:MCU 4-Bit 75XL CISC 16KB EPROM 2.5V/3.3V/5V 42-Pin SPDIP 制造商:Renesas Electronics 功能描述:75XL 6MHz Cut Tape 制造商:Renesas 功能描述:MCU 4-Bit 75XL CISC 16KB EPROM 2.5V/3.3V/5V 42-Pin SPDIP
UPD75P0016GB-3BS-MTX 制造商:Renesas Electronics 功能描述:MCU 4-Bit 75XL CISC 16KB EPROM 2.5V/3.3V/5V 44-Pin PQFP
UPD75P0016GB-3BS-MTX-A 制造商:Renesas Electronics Corporation 功能描述:MCU 4-bit 75XL CISC 16KB EPROM 2.5V/3.3V/5V 44-Pin PQFP 制造商:Renesas 功能描述:MCU 4-bit 75XL CISC 16KB EPROM 2.5V/3.3V/5V 44-Pin PQFP