![]() |
Electronic Components Datasheet Search |
|
MC81F4104S Datasheet(PDF) 36 Page - Finechips |
|
MC81F4104S Datasheet(HTML) 36 Page - Finechips |
36 / 118 page ![]() MC81F4104 36 October 19, 2009 Ver.1.35 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 – 0BFH) 15 8 7 0 Hardware fixed 00H – 0BFH 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 0BFH 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 “BFH” is used. PCH PCL PSW 00BF 00BE 00BD 00BC Pop up At execution of RETI instruction 00BC 00BF PCH PCL PSW 00BF 00BE 00BD 00BC Push down At acceptance of interrupt 00BF 00BC PCH PCL 00BF 00BE 00BD 00BC Pop up At execution of RET instruction 00BD 00BF PCH PCL 00BF 00BE 00BD 00BC Push down At execution of A CALL/TCALL/PCALL 00BF 00BD SP befor execution SP after exccution A 00BF 00BE 00BD 00BC Pop up At execution Of POP instruction POP A(X,Y,PSW) 00BF 00BE A 00BF 00BE 00BD 00BC Push down At execution Of PUSH instruction PUSH A(X,Y,PSW) 00BF 00BE SP befor execution SP after exccution Stack Depth 00BF 0100 Figure 9-3 Stack Pointer Figure 9-4 Stack Operation |
Similar Part No. - MC81F4104S |
|
Similar Description - MC81F4104S |
|
|
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 |