Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC16C57CLPE/S Datasheet(PDF) 31 Page - Microchip Technology

Part # PIC16C57CLPE/S
Description  EPROM/ROM-Based 8-bit CMOS Microcontroller Series
PDF  192 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16C57CLPE/S Datasheet(HTML) 31 Page - Microchip Technology

Back Button PIC16C57CLPE/S Datasheet HTML 27Page - Microchip Technology PIC16C57CLPE/S Datasheet HTML 28Page - Microchip Technology PIC16C57CLPE/S Datasheet HTML 29Page - Microchip Technology PIC16C57CLPE/S Datasheet HTML 30Page - Microchip Technology PIC16C57CLPE/S Datasheet HTML 31Page - Microchip Technology PIC16C57CLPE/S Datasheet HTML 32Page - Microchip Technology PIC16C57CLPE/S Datasheet HTML 33Page - Microchip Technology PIC16C57CLPE/S Datasheet HTML 34Page - Microchip Technology PIC16C57CLPE/S Datasheet HTML 35Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 192 page
background image
 1997-2013 Microchip Technology Inc.
Preliminary
DS30453E-page 31
PIC16C5X
6.5
Program Counter
As a program instruction is executed, the Program
Counter (PC) will contain the address of the next pro-
gram instruction to be executed. The PC value is
increased by one, every instruction cycle, unless an
instruction changes the PC.
For a GOTO instruction, bits 8:0 of the PC are provided
by the GOTO instruction word. The PC Latch (PCL) is
mapped to PC<7:0> (Figure 6-7, Figure 6-8 and
Figure 6-9).
For
the
PIC16C56,
PIC16CR56,
PIC16C57,
PIC16CR57, PIC16C58 and PIC16CR58, a page num-
ber must be supplied as well. Bit5 and bit6 of the STA-
TUS Register provide page information to bit9 and
bit10 of the PC (Figure 6-8 and Figure 6-9).
For a CALL instruction, or any instruction where the
PCL is the destination, bits 7:0 of the PC again are pro-
vided by the instruction word. However, PC<8> does
not come from the instruction word, but is always
cleared (Figure 6-7 and Figure 6-8).
Instructions where the PCL is the destination, or modify
PCL instructions, include MOVWF PCL, ADDWF PCL,
and BSF PCL,5.
For
the
PIC16C56,
PIC16CR56,
PIC16C57,
PIC16CR57, PIC16C58 and PIC16CR58, a page num-
ber again must be supplied. Bit5 and bit6 of the STA-
TUS Register provide page information to bit9 and
bit10 of the PC (Figure 6-8 and Figure 6-9).
FIGURE 6-7:
LOADING OF PC
BRANCH INSTRUCTIONS
- PIC16C54, PIC16CR54,
PIC16C55
FIGURE 6-8:
LOADING OF PC
BRANCH INSTRUCTIONS
- PIC16C56/PIC16CR56
FIGURE 6-9:
LOADING OF PC
BRANCH INSTRUCTIONS
- PIC16C57/PIC16CR57,
AND PIC16C58/
PIC16CR58
Note:
Because PC<8> is cleared in the CALL
instruction, or any modify PCL instruction,
all subroutine calls or computed jumps are
limited to the first 256 locations of any pro-
gram memory page (512 words long).
PC
87
0
PCL
PC
87
0
PCL
Reset to '0'
Instruction Word
Instruction Word
GOTO Instruction
CALL or Modify PCL Instruction
PA<1:0>
2
STATUS
PC
87
0
PCL
9
10
PA<1:0>
2
STATUS
PC
87
0
PCL
9
10
Instruction Word
Reset to ‘0’
Instruction Word
70
70
GOTO Instruction
CALL or Modify PCL Instruction
0
0
0
0
PA<1:0>
2
STATUS
PC
87
0
PCL
9
10
PA<1:0>
2
STATUS
PC
87
0
PCL
9
10
Instruction Word
Reset to ‘0’
Instruction Word
70
70
GOTO Instruction
CALL or Modify PCL Instruction



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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