| データシートサーチシステム |
|
PIC16F15213 データシート(PDF) 34 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F15213 データシート(HTML) 34 Page - Microchip Technology |
|
34 / 439 page ![]() Figure 9-2. Program Memory and Stack (PIC16F152x4) Filename: Figure 4-2 Memory Map and Stack (4k).vsdx Title: Last Edit: 1/23/2020 First Used: Notes: Rev. Figure 4-2 1/23/2020 PC[14:0] Stack Level 0 Stack Level 1 Stack Level 15 Reset Vector Interrupt Vector On-chip Program Memory Unimplemented 0000h 0004h 0005h 0FFFh 1000h 7FFFh 15 CALL, CALLW RETURN, RETLW Interrupt, RETFIE 9.1.1 Reading Program Memory as Data There are three methods of accessing constants in program memory. The first method is to use tables of RETLW instructions, the second, to set an FSR to point to the program memory, and the third is to use the NVMREG interface to access the program memory. 9.1.1.1 RETLW Instruction The RETLW instruction can be used to provide access to tables of constants. The recommended way to create such a table is shown in the following example. Example 9-1. Accessing Table of Constants Using the RETLW Instruction constants BRW ;Add Index in W to ;program counter to ;select data RETLW DATA0 ;Index0 data PIC16F15213/14/23/24/43/44 Memory Organization © 2020-2022 Microchip Technology Inc. and its subsidiaries Data Sheet DS40002195E-page 34 |
|
リンク 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 |