PIC16C662-04/P Microchip Technology, PIC16C662-04/P Datasheet - Page 84

IC MCU OTP 4KX14 COMP 40DIP

PIC16C662-04/P

Manufacturer Part Number
PIC16C662-04/P
Description
IC MCU OTP 4KX14 COMP 40DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C662-04/P

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
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
176 B
Interface Type
RS- 232
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
33
Number Of Timers
8
Operating Supply Voltage
3 V to 6 V
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
0 C
On-chip Adc
10 bit
Data Rom Size
176 B
Height
3.81 mm
Length
52.26 mm
Supply Voltage (max)
6 V
Supply Voltage (min)
4 V
Width
13.84 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C662-04/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C662-04/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16C64X & PIC16C66X
SUBLW
Syntax:
Operands:
Operation:
Status
Affected:
Encoding:
Description:
Words:
Cycles:
Example 1:
Example 2:
Example 3:
DS30559A-page 84
Subtract W from Literal
[ label ]
0
k - (W)
C, DC, Z
The W register is subtracted (2’s com-
plement method) from the eight bit literal
'k'. The result is placed in the W register.
1
1
SUBLW
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
11
k
255
W
C
W
C
W
C
W
C
W
C
W
C
tive
SUBLW k
0x02
W)
110x
=
=
=
=
=
=
=
=
=
=
=
=
1
?
1
1; result is positive
2
?
0
1; result is zero
3
?
0xFF
0; result is nega-
kkkk
kkkk
SUBWF
Syntax:
Operands:
Operation:
Status
Affected:
Encoding:
Description:
Words:
Cycles:
Example 1:
Example 2:
Example 3:
[ label ]
0
d
Subtract (2’s complement method) W reg-
ister from register 'f'. If 'd' is 0 the result is
stored in the W register. If 'd' is 1 the
result is stored back in register 'f'.
1
1
SUBWF
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
Subtract W from f
(f) - (W)
C, DC, Z
00
f
[0,1]
REG1
W
C
REG1
W
C
REG1
W
C
REG1
W
C
REG1
W
C
REG1
W
C
127
1996 Microchip Technology Inc.
SUBWF f,d
REG1,1
dest)
0010
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
3
2
?
1
2
1; result is positive
2
2
?
0
2
1; result is zero
1
2
?
0xFF
2
0; result is negative
dfff
ffff

Related parts for PIC16C662-04/P