PIC16F688-I/SL Microchip Technology Inc., PIC16F688-I/SL Datasheet - Page 137

no-image

PIC16F688-I/SL

Manufacturer Part Number
PIC16F688-I/SL
Description
14 PIN, 7 KB FLASH, 256 RAM, 12 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F688-I/SL

A/d Inputs
8-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
12
Interface
USART
Memory Type
Flash
Number Of Bits
8
Package Type
14-pin SOIC-N
Programmable Memory
7K Bytes
Ram Size
256 Bytes
Speed
20 MHz
Timers
1-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F688-I/SL
Manufacturer:
MICROCHIP
Quantity:
4 952
Part Number:
PIC16F688-I/SL
Manufacturer:
Microchip Technology
Quantity:
27 564
Part Number:
PIC16F688-I/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F688-I/SL
0
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
© 2006 Microchip Technology Inc.
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 setting Global
Interrupt Enable bit, GIE
(INTCON<7>). This is a two-cycle
instruction.
1
2
After Interrupt
RETFIE
GIE
PC,
PC =
GIE =
RETFIE
TOS
1
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
TABLE
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Description:
Return from Subroutine
[ label ]
None
TOS
None
Return from subroutine. The stack
is POPed and the top of the stack
(TOS) is loaded into the program
counter. This is a two-cycle
instruction.
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
Before Instruction
After Instruction
CALL TABLE;W contains
table
ADDWF PC ;W = offset
RETLW k1 ;Begin table
RETLW k2 ;
RETLW kn ; End of table
k
(W);
;offset value
;W now has table value
PIC16F688
255
PC
PC
W
W
RETURN
RETLW k
=
=
DS41203C-page 135
0x07
value of k8

Related parts for PIC16F688-I/SL