Electronic Components Datasheet Search
  English  ▼

X  

UPD17147 Datasheet(PDF) 19 Page - NEC

Part # UPD17147
Description  SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
PDF  102 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD17147 Datasheet(HTML) 19 Page - NEC

Back Button UPD17147 Datasheet HTML 15Page - NEC UPD17147 Datasheet HTML 16Page - NEC UPD17147 Datasheet HTML 17Page - NEC UPD17147 Datasheet HTML 18Page - NEC UPD17147 Datasheet HTML 19Page - NEC UPD17147 Datasheet HTML 20Page - NEC UPD17147 Datasheet HTML 21Page - NEC UPD17147 Datasheet HTML 22Page - NEC UPD17147 Datasheet HTML 23Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 102 page
background image
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.
b2
SPb2
b1
SPb1
b0
SPb0
0H
1H
2H
3H
4H
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
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)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com