поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

4571 датащи(PDF) 13 Page - Renesas Technology Corp

номер детали 4571
подробное описание детали  SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
PDF  126 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  RENESAS [Renesas Technology Corp]
домашняя страница  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

4571 датащи(HTML) 13 Page - Renesas Technology Corp

Back Button 4571 Datasheet HTML 9Page - Renesas Technology Corp 4571 Datasheet HTML 10Page - Renesas Technology Corp 4571 Datasheet HTML 11Page - Renesas Technology Corp 4571 Datasheet HTML 12Page - Renesas Technology Corp 4571 Datasheet HTML 13Page - Renesas Technology Corp 4571 Datasheet HTML 14Page - Renesas Technology Corp 4571 Datasheet HTML 15Page - Renesas Technology Corp 4571 Datasheet HTML 16Page - Renesas Technology Corp 4571 Datasheet HTML 17Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 126 page
background image
Rev.1.02
May 25, 2007
Page 13 of 124
REJ03B0179-0102
4571 Group
(5) Stack registers (SKS) and stack pointer (SP)
Stack registers (SKs) are used to temporarily store the contents of
program counter (PC) just before branching until returning to the
original routine when;
• branching to an interrupt service routine (referred to as an
interrupt service routine),
• performing a subroutine call, or
• executing the table reference instruction (TABP p).
Stack registers (SKs) are eight identical registers, so that
subroutines can be nested up to 8 levels. However, one of stack
registers is used respectively when using an interrupt service
routine and when executing a table reference instruction.
Accordingly, be careful not to over the stack when performing
these operations together. The contents of registers SKs are
destroyed when 8 levels are exceeded.
The register SK nesting level is pointed automatically by 3-bit
stack pointer (SP). The contents of the stack pointer (SP) can be
transferred to register A with the TASP instruction.
Figure 11 shows the stack registers (SKs) structure.
Figure 12 shows the example of operation at subroutine call.
(6) Interrupt stack register (SDP)
Interrupt stack register (SDP) is a 1-stage register. When an
interrupt occurs, this register (SDP) is used to temporarily store
the contents of data pointer, carry flag, skip flag, register A, and
register B just before an interrupt until returning to the original
routine.
Unlike the stack registers (SKs), this register (SDP) is not used
when executing the subroutine call instruction and the table
reference instruction.
(7) Skip flag
Skip flag controls skip decision for the conditional skip
instructions and continuous described skip instructions. When an
interrupt occurs, the contents of skip flag is stored automatically
in the interrupt stack register (SDP) and the skip condition is
retained.
Fig 11. Stack registers (SKs) structure
Fig 12. Example of operation at subroutine call
Stack pointer (SP) points “7” at reset or returning
from RAM back-up mode. It points “0” by
executing the first BM instruction, and the
contents of program counter is stored in SK0.
When the BM instruction is executed after eight
stack registers are used ((SP) = 7), (SP) = 0 and
the contents of SK0 is destroyed.
Program counter (PC)
SK0
SK1
SK2
SK3
SK4
SK5
SK6
SK7
Executing BM
instruction
Executing RT
instruction
(SP) = 0
(SP) = 1
(SP) = 2
(SP) = 3
(SP) = 4
(SP) = 5
(SP) = 6
(SP) = 7
(SP)
0
(SK0)
000116
(PC)
SUB1
(PC)
(SK0)
(SP)
7
Main program
Address
000016 NOP
000116 BM SUB1
000216 NOP
SUB1:
NOP
·
·
·
RT
Subroutine
Note : Returning to the BM instruction execution
address with the RT instruction, and the BM
instruction becomes the NOP instruction.



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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