PIC16C55A-20E/SP Microchip Technology, PIC16C55A-20E/SP Datasheet - Page 53
![IC MCU OTP 512X12 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC16C55A-20E/SP
Manufacturer Part Number
PIC16C55A-20E/SP
Description
IC MCU OTP 512X12 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C55A-20E/SP
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
20
Program Memory Size
768B (512 x 12)
Program Memory Type
OTP
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
- Current page: 53 of 194
- Download datasheet (3Mb)
ADDWF
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Description:
Words:
Cycles:
Example:
ANDLW
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
2002 Microchip Technology Inc.
Encoding:
Before Instruction
After Instruction
Before Instruction
After Instruction
W
W
W
TEMP_REG =
TEMP_REG =
W
=
=
Add W and f
[ label ] ADDWF
0
d
(W) + (f)
Add the contents of the W register
and register ’f’. If ’d’ is 0 the result
is stored in the W register. If ’d’ is
’1’ the result is stored back in
1
1
ADDWF TEMP_REG, 0
AND literal with W
[ label ] ANDLW
0
(W).AND. (k)
The contents of the W register are
AND’ed with the eight-bit literal 'k'.
The result is placed in the W regis-
ter.
1
1
ANDLW H’5F’
register ’f’.
0001
1110
0xA3
0x03
f
k
=
=
31
255
0x17
0xC2
0xD9
0xC2
11df
kkkk
(dest)
(W)
ffff
kkkk
f,d
k
Preliminary
ANDWF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
BCF
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
Before Instruction
After Instruction
FLAG_REG =
FLAG_REG =
W
TEMP_REG =
W
TEMP_REG =
AND W with f
[ label ] ANDWF
0
d
(W) .AND. (f)
The contents of the W register are
AND’ed with register 'f'. If 'd' is 0
the result is stored in the W regis-
ter. If 'd' is '1' the result is stored
back in register 'f'.
1
1
ANDWF TEMP_REG, 1
Bit Clear f
[ label ] BCF
0
0
0
Bit 'b' in register 'f' is cleared.
1
1
BCF
0001
0100
f
f
b
=
(f<b>)
=
31
31
7
0xC7
0x47
FLAG_REG,
0xC2
0x17
0x17
0x02
PIC16C5X
01df
bbbf
f,b
(dest)
DS30453D-page 51
ffff
ffff
f,d
7
Related parts for PIC16C55A-20E/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C55A-04/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-04/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-04I/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-20/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-20I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-04/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-20/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-20/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-04I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-04I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-04/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-40/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-40/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-40/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55A-04I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 28SSOP
Manufacturer:
Microchip Technology
Datasheet: