PIC16C662-04E/L Microchip Technology, PIC16C662-04E/L Datasheet - Page 83
![IC MCU OTP 4KX14 COMP 44PLCC](/photos/6/63/66325/150-44-plcc_sml.jpg)
PIC16C662-04E/L
Manufacturer Part Number
PIC16C662-04E/L
Description
IC MCU OTP 4KX14 COMP 44PLCC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C662-04E/L
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, LED, POR, WDT
Number Of I /o
33
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
44-PLCC
For Use With
DVA16XL441 - ADAPTER DEVICE ICE 44PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16C662-04E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
RLF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
1996 Microchip Technology Inc.
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.
1
2
After Interrupt
Rotate Left f through Carry
[ label ]
0
d
See description below
C
The contents of register 'f' are rotated
one bit to the left through the Carry
Flag. If 'd' is 0 the result is placed in
the W register. If 'd' is 1 the result is
stored back in register 'f'.
1
1
Before Instruction
After Instruction
RETURN
RLF
00
00
f
[0,1]
127
PC
C
PC =
RETURN
REG1
C
REG1
W
C
0000
RLF
1101
REG1,0
Register f
TOS
f,d
0000
=
=
=
=
=
dfff
1110 0110
0
1110 0110
1100 1100
1
1000
ffff
PIC16C64X & PIC16C66X
RRF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
SLEEP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Rotate Right f through Carry
[ label ]
0
d
See description below
C
The contents of register 'f' are rotated
one bit to the right through the Carry
Flag. If 'd' is 0 the result is placed in
the W register. If 'd' is 1 the result is
placed back in register 'f'.
1
1
Before Instruction
After Instruction
[ label ]
None
00h
0
1
0
TO, PD
The power-down status bit, PD is
cleared. Time-out status bit, TO is
set. Watchdog Timer and its pres-
caler are cleared.
The processor is put into SLEEP
mode with the oscillator stopped.
See Power-Down Mode (SLEEP) for
more details.
1
1
SLEEP
RRF
00
f
00
[0,1]
WDT prescaler,
TO,
PD
127
C
WDT,
REG1
C
REG1
W
C
RRF f,d
1100
SLEEP
0000
DS30559A-page 83
Register f
REG1,0
=
=
=
=
=
dfff
0110
1110 0110
0
1110 0110
0111 0011
0
0011
ffff