Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ST7DALI Datasheet(PDF) 22 Page - STMicroelectronics

Part # ST7DALI
Description  8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI, DALI
Download  141 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST7DALI Datasheet(HTML) 22 Page - STMicroelectronics

Back Button ST7DALI Datasheet HTML 18Page - STMicroelectronics ST7DALI Datasheet HTML 19Page - STMicroelectronics ST7DALI Datasheet HTML 20Page - STMicroelectronics ST7DALI Datasheet HTML 21Page - STMicroelectronics ST7DALI Datasheet HTML 22Page - STMicroelectronics ST7DALI Datasheet HTML 23Page - STMicroelectronics ST7DALI Datasheet HTML 24Page - STMicroelectronics ST7DALI Datasheet HTML 25Page - STMicroelectronics ST7DALI Datasheet HTML 26Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 141 page
background image
ST7DALI
22/141
CPU REGISTERS (Cont’d)
STACK POINTER (SP)
Read/Write
Reset Value: 01FFh
The Stack Pointer is a 16-bit register which is al-
ways pointing to the next free location in the stack.
It is then decremented after data has been pushed
onto the stack and incremented before data is
popped from the stack (see Figure 10).
Since the stack is 128 bytes deep, the 9 most sig-
nificant bits are forced by hardware. Following an
MCU Reset, or after a Reset Stack Pointer instruc-
tion (RSP), the Stack Pointer contains its reset val-
ue (the SP6 to SP0 bits are set) which is the stack
higher address.
The least significant byte of the Stack Pointer
(called S) can be directly accessed by a LD in-
struction.
Note: When the lower limit is exceeded, the Stack
Pointer wraps around to the stack upper limit, with-
out indicating the stack overflow. The previously
stored information is then overwritten and there-
fore lost. The stack also wraps in case of an under-
flow.
The stack is used to save the return address dur-
ing a subroutine call and the CPU context during
an interrupt. The user may also directly manipulate
the stack by means of the PUSH and POP instruc-
tions. In the case of an interrupt, the PCL is stored
at the first location pointed to by the SP. Then the
other registers are stored in the next locations as
shown in Figure 10.
– When an interrupt is received, the SP is decre-
mented and the context is pushed on the stack.
– On return from interrupt, the SP is incremented
and the context is popped from the stack.
A subroutine call occupies two locations and an in-
terrupt five locations in the stack area.
Figure 10. Stack Manipulation Example
15
8
00
00
00
01
70
1
SP6
SP5
SP4
SP3
SP2
SP1
SP0
PCH
PCL
SP
PCH
PCL
SP
PCL
PCH
X
A
CC
PCH
PCL
SP
PCL
PCH
X
A
CC
PCH
PCL
SP
PCL
PCH
X
A
CC
PCH
PCL
SP
SP
Y
CALL
Subroutine
Interrupt
Event
PUSH Y
POP Y
IRET
RET
or RSP
@ 01FFh
@ 0180h
Stack Higher Address = 01FFh
Stack Lower Address = 0180h
1


Similar Part No. - ST7DALI

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
ST7DALI-EVAL STMICROELECTRONICS-ST7DALI-EVAL Datasheet
59Kb / 3P
   ST7DALI-EVAL evaluation kit
ST7DALIF2 STMICROELECTRONICS-ST7DALIF2 Datasheet
1Mb / 171P
   Configurable watchdog timer
February 2009 Rev 3
More results

Similar Description - ST7DALI

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
ST7LITE2 STMICROELECTRONICS-ST7LITE2 Datasheet
1Mb / 131P
   8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI
August 2003 Rev. 2.0
ST7LITE0 STMICROELECTRONICS-ST7LITE0 Datasheet
1Mb / 122P
   8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI
August 2003 Rev. 2.4
ST7FLIT19BF1B6 STMICROELECTRONICS-ST7FLIT19BF1B6 Datasheet
2Mb / 159P
   8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, 5 TIMERS, SPI
ST7LITE1XB STMICROELECTRONICS-ST7LITE1XB Datasheet
2Mb / 157P
   8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, 5 TIMERS, SPI
ST7LITE1XB STMICROELECTRONICS-ST7LITE1XB_08 Datasheet
2Mb / 159P
   8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, 5 TIMERS, SPI
ST7LITE1 STMICROELECTRONICS-ST7LITE1 Datasheet
1Mb / 131P
   8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, 4 TIMERS, SPI
December 2004 Rev. 2.0
ST7FLIT15BF1M6 STMICROELECTRONICS-ST7FLIT15BF1M6 Datasheet
2Mb / 159P
   8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, 5 TIMERS, SPI
ST7L05 STMICROELECTRONICS-ST7L05 Datasheet
1Mb / 104P
   8-bit MCU for automotive with single voltage Flash memory, data EEPROM, ADC, timers, SPI
ST7LITE3 STMICROELECTRONICS-ST7LITE3 Datasheet
3Mb / 167P
   8-BIT MCU WITH SINGLE VOLTAGE FLASH, DATA EEPROM, ADC, TIMERS, SPI, LINSCI
ST7LITE3XF2 STMICROELECTRONICS-ST7LITE3XF2 Datasheet
2Mb / 173P
   8-bit MCU with single voltage Flash, data EEPROM, ADC, timers, SPI, LINSCI?
More results


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




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   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