PIC16C642-04E/SO Microchip Technology, PIC16C642-04E/SO Datasheet - Page 83

IC MCU OTP 4KX14 COMP 28SOIC

PIC16C642-04E/SO

Manufacturer Part Number
PIC16C642-04E/SO
Description
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C642-04E/SO

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, LED, POR, WDT
Number Of I /o
22
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
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
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

Related parts for PIC16C642-04E/SO