PIC16C64A-10/P Microchip Technology, PIC16C64A-10/P Datasheet - Page 76
![IC MCU OTP 2KX14 PWM 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC16C64A-10/P
Manufacturer Part Number
PIC16C64A-10/P
Description
IC MCU OTP 2KX14 PWM 40DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F818-ISO.pdf
(6 pages)
3.PIC16LC62A-04SP.pdf
(337 pages)
4.PIC16C64A-04P.pdf
(8 pages)
5.PIC16C64A-10P.pdf
(137 pages)
Specifications of PIC16C64A-10/P
Core Size
8-Bit
Program Memory Size
3.5KB (2K x 14)
Oscillator Type
External
Core Processor
PIC
Speed
10MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Controller Family/series
PIC16C
No. Of I/o's
33
Ram Memory Size
128Byte
Cpu Speed
10MHz
No. Of Timers
3
No. Of Pwm
RoHS Compliant
Rohs Compliant
Yes
Embedded Interface Type
I2C, SPI
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16C64A-10/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC16C64A-10/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16C64X & PIC16C66X
10.2
ADDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
ADDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS30559A-page 76
Instruction Descriptions
Add Literal and W
[ label ] ADDLW
0
(W) + k
C, DC, Z
The contents of the W register are
added to the eight bit literal 'k' and the
result is placed in the W register
1
1
Before Instruction
After Instruction
Add W and f
[ label ] ADDWF
0
d
(W) + (f)
C, DC, Z
Add the contents of the W register
with 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
Before Instruction
After Instruction
ADDLW
ADDWF
11
00
k
f
127
255
W
W
W
FSR =
W
FSR =
(W)
0x15
111x
0111
FSR, 0
(dest)
=
=
=
=
0x10
0x25
0x17
0xC2
0xD9
0xC2
k
kkkk
dfff
f,d
.
kkkk
ffff
.
ANDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
ANDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
And Literal with W
[ label ] ANDLW
0
(W) .AND. (k)
Z
The contents of W register are
AND’ed with the eight bit literal 'k'. The
result is placed in the W register
1
1
Before Instruction
After Instruction
AND W with f
[ label ] ANDWF
0
d
(W) .AND. (f)
Z
AND the W register with 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
Before Instruction
After Instruction
ANDLW
ANDWF
11
00
k
f
1996 Microchip Technology Inc.
127
255
W
W
FSR =
W
FSR =
W =
1001
0101
0x5F
FSR, 1
=
=
=
.
(dest)
(W)
0xA3
0x03
0x17
0xC2
0x17
0x02
kkkk
dfff
k
f,d
kkkk
ffff
.