參數(shù)資料
型號(hào): UPD17242UC-XXX-5A4
元件分類(lèi): 微控制器/微處理器
英文描述: 4-BIT, MROM, 4.5 MHz, MICROCONTROLLER, PDSO30
封裝: 0.300 INCH, PLASTIC, SSOP-30
文件頁(yè)數(shù): 17/102頁(yè)
文件大?。?/td> 953K
代理商: UPD17242UC-XXX-5A4
21
Data Sheet U15002EJ1V1DS
PD17240, 17241, 17242, 17243, 17244, 17245, 17246
2.3.2
Function of stack
The address stack register stores a return address when the subroutine call instruction or table reference
instruction (first instruction cycle) is executed or when an interrupt is acknowledged. It also stores the contents of
the address registers (ARs) when a stack manipulation instruction (PUSH AR) is executed.
If subroutines or interrupts are nested to more than 5 levels, the RESET pin is internally pulled down and
a reset is effected.
The interrupt stack register (INTSK) saves the contents of the bank register (BANK) and program status word
(PSWORD) when an interrupt is acknowledged. The saved contents are restored when an interrupt return (RETI)
instruction is executed.
INTSK saves data each time an interrupt is acknowledged, but the data stored first is lost if more than 3 levels
of interrupts occur.
2.3.3
Stack pointer (SP) and interrupt stack pointer
Table 2-3 shows the operations of the stack pointer (SP).
The stack pointer can take eight values, 0H to 7H. Because there are only five stack registers available, however,
the RESET pin is internally pulled down and reset is effected if the value of SP is 6 or greater.
Table 2-3. Operations of Stack Pointer
Instruction
Value of Stack Pointer (SP)
Counter of Interrupt Stack Register
CALL addr
10
CALL @AR
MOVT DBF, @AR
(1st instruction cycle)
PUSH AR
SYSCAL entry
When interrupt is acknowledged
–1
RET
+1
0
RETSK
MOVT DBF, @AR
(2nd instruction cycle)
POP AR
RETI
+1
相關(guān)PDF資料
PDF描述
UPD178F054 78K/0 Series for Instructions | User's Manual[10/2001]
UPD178F124 78K/0 Series for Instructions | User's Manual[10/2001]
UPD178F098GF-3BA-A 8-BIT, FLASH, MICROCONTROLLER, PQFP100
UPD17P136BGT MICROCONTROLLER, PDSO28
UPD1913C Consumer IC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD17243 制造商:NEC 制造商全稱(chēng):NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLERS FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTERS
UPD17243MC-XXX-5A4 制造商:NEC 制造商全稱(chēng):NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLERS FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTERS
UPD17244 制造商:NEC 制造商全稱(chēng):NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLERS FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTERS
UPD17244MC-XXX-5A4 制造商:NEC 制造商全稱(chēng):NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLERS FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTERS
UPD17245 制造商:NEC 制造商全稱(chēng):NEC 功能描述:4-BIT SINGLE-CHIP MICROCONTROLLERS FOR SMALL GENERAL-PURPOSE INFRARED REMOTE CONTROL TRANSMITTERS