Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

PIC16F72/ML Datenblatt(PDF) 20 Page - Microchip Technology

Teilenummer PIC16F72/ML
Bauteilbeschribung  28-Pin, 8-Bit CMOS FLASH MCU with A/D Converter
PDF  136 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F72/ML Datenblatt(HTML) 20 Page - Microchip Technology

Back Button PIC16F72/ML Datasheet HTML 16Page - Microchip Technology PIC16F72/ML Datasheet HTML 17Page - Microchip Technology PIC16F72/ML Datasheet HTML 18Page - Microchip Technology PIC16F72/ML Datasheet HTML 19Page - Microchip Technology PIC16F72/ML Datasheet HTML 20Page - Microchip Technology PIC16F72/ML Datasheet HTML 21Page - Microchip Technology PIC16F72/ML Datasheet HTML 22Page - Microchip Technology PIC16F72/ML Datasheet HTML 23Page - Microchip Technology PIC16F72/ML Datasheet HTML 24Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 136 page
background image
PIC16F72
DS39597B-page 18
 2002 Microchip Technology Inc.
2.3
PCL and PCLATH
The program counter (PC) specifies the address of the
instruction to fetch for execution. The PC is 13-bits
wide. The low byte is called the PCL register. This reg-
ister is readable and writable. The high byte is called
the PCH register. This register contains the PC<12:8>
bits and is not directly readable or writable. All updates
to the PCH register go through the PCLATH register.
Figure 2-3 shows the four situations for the loading of
the PC.
• Example 1 shows how the PC is loaded on a write
to PCL (PCLATH<4:0>
→ PCH).
• Example 2 shows how the PC is loaded during a
GOTO
instruction (PCLATH<4:3>
→ PCH).
• Example 3 shows how the PC is loaded during a
CALL
instruction (PCLATH<4:3>
→ PCH), with
the PC loaded (PUSH’d) onto the Top-of-Stack.
• Example 4 shows how the PC is loaded during
one of the return instructions, where the PC is
loaded (POP’d) from the Top-of-Stack.
FIGURE 2-3:
LOADING OF PC IN DIFFERENT SITUATIONS
PC
12
8
7
0
5
PCLATH<4:0>
PCLATH
ALU result
Opcode <10:0>
8
PC
12
11 10
0
11
PCLATH<4:3>
PCH
PCL
87
2
PCLATH
PCH
PCL
Example 1 - Instruction with PCL as destination
Example 2 - GOTO Instruction
Stack (13-bits x 8)
Top-of-Stack
Stack (13-bits x 8)
Top-of-Stack
Opcode <10:0>
PC
12
11 10
0
11
PCLATH<4:3>
87
2
PCLATH
PCH
PCL
Example 3 - CALL Instruction
Stack (13-bits x 8)
Top-of-Stack
Opcode <10:0>
PC
12
11 10
0
11
87
PCLATH
PCH
PCL
Example 4 - RETURN, RETFIE, or RETLW Instruction
Stack (13-bits x 8)
Top-of-Stack
13
13
Note: PCLATH is not updated with the contents of PCH.



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


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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