| Electronic Components Datasheet Search |
|
16LF1613 Datasheet(PDF) 46 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
16LF1613 Datasheet(HTML) 46 Page - Microchip Technology |
|
46 / 396 page ![]() 2014-2016 Microchip Technology Inc. DS40001737B-page 46 PIC12(L)F1612/16(L)F1613 FIGURE 3-5: ACCESSING THE STACK EXAMPLE 2 FIGURE 3-6: ACCESSING THE STACK EXAMPLE 3 STKPTR = 0x00 Return Address This figure shows the stack configuration after the first CALL or a single interrupt. If a RETURN instruction is executed, the return address will be placed in the Program Counter and the Stack Pointer decremented to the empty state (0x1F). 0x0F 0x0E 0x0D 0x0C 0x0B 0x0A 0x09 0x08 0x07 0x06 0x04 0x05 0x03 0x02 0x01 0x00 TOSH:TOSL Rev. 10-000043B 7/30/2013 STKPTR = 0x06 After seven CALLsorsix CALLs and an interrupt, the stack looks like the figure on the left. A series of RETURN instructions will repeatedly place the return addresses into the Program Counter and pop the stack. Return Address 0x0F 0x0E 0x0D 0x0C 0x0B 0x0A 0x09 0x08 0x07 0x06 0x04 0x05 0x03 0x02 0x01 0x00 Return Address Return Address Return Address Return Address Return Address Return Address TOSH:TOSL Rev. 10-000043C 7/30/2013 |
|
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 |
| 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 |