Electronic Components Datasheet Search |
|
MC81F4204 Datasheet(PDF) 43 Page - Finechips |
|
MC81F4204 Datasheet(HTML) 43 Page - Finechips |
43 / 150 page MC81F4204 October 19, 2009 Ver.1.35 43 These registers also have increment, decrement, comparison and data transfer functions, and they can be used as a simple accumulator. SP 00H Stack Address (00H – 0AFH) 15 8 7 0 Hardware fixed 00H – 0AFH Stack Pointer: Stack Pointer is an 8-bit register which indicates the current „push‟ point in the stack area. It is used to push and pop when interrupts or general function call is occurred. Stack Pointer identifies the location in the stack to be accessed (save or restore). Generally, SP is automatically updated when a subroutine call is executed or an interrupt is accepted. However, if it is used in excess of the stack area permitted by the data memory allocating configuration, the user-processed data may be lost. The stack can be located at any position within 00H to 0AFH of the internal data memory. The SP is not initialized by hardware, requiring to write the initial value (the location with which the use of the stack starts) by using the initialization routine. Normally, the initial value of “AFH” is used. PCH PCL PSW 00AF 00AE 00AD 00AC Pop up At execution of RETI instruction 00AC 00AF PCH PCL PSW 00AF 00AE 00AD 00AC Push down At acceptance of interrupt 00AF 00AC PCH PCL 00AF 00AE 00AD 00AC Pop up At execution of RET instruction 00AD 00AF PCH PCL 00AF 00AE 00AD 00AC Push down At execution of A CALL/TCALL/PCALL 00AF 00AD SP befor execution SP after exccution A 00AF 00AE 00AD 00AC Pop up At execution Of POP instruction POP A(X,Y,PSW) 00AF 00AE A 00AF 00AE 00AD 00AC Push down At execution Of PUSH instruction PUSH A(X,Y,PSW) 00AF 00AE SP befor execution SP after exccution Stack Depth 00AF 0100 Figure 9-3 Stack Pointer Figure 9-4 Stack Operation |
Similar Part No. - MC81F4204 |
|
Similar Description - MC81F4204 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
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 |