データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

PIC16F15213 データシート(PDF) 48 Page - Microchip Technology

部品番号 PIC16F15213
部品情報  PIC16F15213/14/23/24/43/44 Low Pin Count Microcontrollers
PDF  439 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  MICROCHIP [Microchip Technology]
ホームページ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F15213 データシート(HTML) 48 Page - Microchip Technology

Back Button PIC16F15213 Datasheet HTML 44Page - Microchip Technology PIC16F15213 Datasheet HTML 45Page - Microchip Technology PIC16F15213 Datasheet HTML 46Page - Microchip Technology PIC16F15213 Datasheet HTML 47Page - Microchip Technology PIC16F15213 Datasheet HTML 48Page - Microchip Technology PIC16F15213 Datasheet HTML 49Page - Microchip Technology PIC16F15213 Datasheet HTML 50Page - Microchip Technology PIC16F15213 Datasheet HTML 51Page - Microchip Technology PIC16F15213 Datasheet HTML 52Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 48 / 439 page
background image
Figure 9-14. Loading of PC in Different Situations
Filename:
10-000042A.vsd
Title:
LOADING OF PC IN DIFFERENT SITUATIONS
Last Edit:
7/30/2013
First Used:
PIC16F1508/9
Note:
7
8
6
14
0
0
4
11
0
6
0
14
7
8
6
0
0
14
15
0
14
0
14
PCL
PCL
PCL
PCL
PCL
PCH
PCH
PCH
PCH
PCH
PC
PC
PC
PC
PC
PCLATH
PCLATH
PCLATH
Instruction
with PCL as
Destination
GOTO,
CALL
CALLW
BRW
BRA
ALU result
OPCODE
[10:0]
W
PC + W
PC + OPCODE
[8:0]
Rev. 10-000042A
7/30/2013
15
9.4.1
Modifying PCL
Executing any instruction with the PCL register as the destination simultaneously causes the Program Counter
PC[14:8] bits (PCH) to be replaced by the contents of the PCLATH register. This allows the entire contents of the
Program Counter to be changed by writing the desired upper seven bits to the PCLATH register. When the lower
eight bits are written to the PCL register, all 15 bits of the Program Counter will change to the values contained in the
PCLATH register and those being written to the PCL register.
9.4.2
Computed GOTO
A computed GOTO is accomplished by adding an offset to the Program Counter (ADDWF PCL). When performing a
table read using a computed GOTO method, care has to be exercised if the table location crosses a PCL memory
boundary (each 256-byte block). Refer to application note AN556, “Implementing a Table Read” (DS00556).
9.4.3
Computed Function Calls
A computed function CALL allows programs to maintain tables of functions and provide another way to execute
state machines or Look-up Tables. When performing a table read using a computed function CALL, care has to be
exercised if the table location crosses a PCL memory boundary (each 256-byte block).
If using the CALL instruction, the PCH[2:0] and PCL registers are loaded with the operand of the CALL instruction.
PCH[6:3] is loaded with PCLATH[6:3].
The CALLW instruction enables computed calls by combining PCLATH and W to form the destination address. A
computed CALLW is accomplished by loading the W register with the desired address and executing CALLW. The PCL
register is loaded with the value of W and PCH is loaded with PCLATH.
PIC16F15213/14/23/24/43/44
Memory Organization
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 48



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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