поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

PIC16F15213 датащи(PDF) 49 Page - Microchip Technology

номер детали PIC16F15213
подробное описание детали  PIC16F15213/14/23/24/43/44 Full-Featured 8/14/20-Pin Microcontrollers
PDF  420 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  MICROCHIP [Microchip Technology]
домашняя страница  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F15213 датащи(HTML) 49 Page - Microchip Technology

Back Button 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 PIC16F15213 Datasheet HTML 53Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 420 page
background image
9.4
PCL and PCLATH
The Program Counter (PC) is 15 bits wide. The low byte comes from the PCL register, which is a readable and
writable register. The high byte (PC[14:8]) is not directly readable or writable and comes from PCLATH. On any Reset
the PC is cleared. Figure 9-8 shows the five situations for the loading of the PC.
Figure 9-8. 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 should 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 should 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].
PIC16F15213/14/23/24/43/44
Memory Organization
© 2020 Microchip Technology Inc.
Preliminary Datasheet
DS40002195A-page 49



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



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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