PIC16C925/CL Microchip Technology, PIC16C925/CL Datasheet - Page 128

no-image

PIC16C925/CL

Manufacturer Part Number
PIC16C925/CL
Description
IC MCU EPROM 4KX14 LCDDVR 68CLCC
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16C925/CL

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
7KB (4K x 14)
Program Memory Type
EPROM
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
68-CLCC Window, 68-CERQUAD
For Use With
AC164308 - MODULE SKT FOR PM3 68PLCCDVA16XL680 - ADAPTER DEVICE FOR MPLAB-ICEAC164024 - ADAPTER PICSTART PLUS 68PLCCAC164022 - MODULE SKT PROMATEII 68PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
PIC16C925/926
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DS39544A-page 126
After Interrupt:
2nd Cycle
1st Cycle
PC =
GIE =
TOS
1
Return from Interrupt
[ label ]
None
TOS
1
None
Return from Interrupt. Stack is POPed
and Top-of-Stack (TOS) is loaded in
the PC. Interrupts are enabled by set-
ting Global Interrupt Enable bit, GIE
(INTCON<7>). This is a two-cycle
instruction.
1
2
RETFIE
Operation
Decode
Q1
00
No
GIE
PC,
RETFIE
Operation
Operation
0000
Q2
No
No
Operation
Set the
GIE bit
0000
Q3
No
Operation
Pop from
the Stack
1001
Preliminary
Q4
No
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
Before Instruction:
After Instruction:
2nd Cycle
1st Cycle
W
W
TABLE ADDWF PC
=
=
0x07
value of k8
Return with Literal in W
[ label ]
0
k
TOS
None
The W register is loaded with the eight-
bit literal ’k’. The program counter is
loaded from the top of the stack (the
return address). This is a two-cycle
instruction.
1
2
CALL TABLE ;W contains table
RETLW k1
RETLW k2
RETLW kn
Operation
Decode
Q1
11
k
No
(W);
2001 Microchip Technology Inc.
255
PC
RETLW k
Operation
literal ’k’
01xx
Read
Q2
;offset value
;W = offset
;Begin table
;
; End of table
No
;W now has table value
Operation
Operation
kkkk
Q3
No
No
Write to W,
Pop from
the Stack
Operation
kkkk
Q4
No

Related parts for PIC16C925/CL