| データシートサーチシステム |
|
PIC16F15213 データシート(PDF) 50 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F15213 データシート(HTML) 50 Page - Microchip Technology |
|
50 / 439 page ![]() Figure 9-15. Accessing the Stack Example 1 Filename: 10-000043A.vsd Title: ACCESSING THE STACK EXAMPLE 1 Last Edit: 7/30/2013 First Used: PIC16F1508/9 Note: STKPTR = 0x1F Stack Reset Disabled (STVREN = 0) Stack Reset Enabled (STVREN = 1) Initial Stack Configuration: After Reset, the stack is empty. The empty stack is initialized so the Stack Pointer is pointing at 0x1F. If the Stack Overflow/Underflow Reset is enabled, the TOSH/ TOSL register will return ‘0’. If the Stack Overflow/Underflow Reset is disabled, the TOSH/TOSL register will return the contents of stack address 0x0F. 0x0000 STKPTR = 0x1F TOSH:TOSL 0x0F 0x0E 0x0D 0x0C 0x0B 0x0A 0x09 0x08 0x07 0x06 0x04 0x05 0x03 0x02 0x01 0x00 0x1F TOSH:TOSL Rev. 10-000043A 7/30/2013 Figure 9-16. Accessing the Stack Example 2 Filename: 10-000043B.vsd Title: ACCESSING THE STACKS EXAMPLE 2 Last Edit: 7/30/2013 First Used: PIC16F1508/9 Note: 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 PIC16F15213/14/23/24/43/44 Memory Organization © 2020-2022 Microchip Technology Inc. and its subsidiaries Data Sheet DS40002195E-page 50 |
|
リンク URL |
| ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | データシートへのリンク | リンク交換 | メーカーリスト 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 |