PIC16C505-20/P Microchip Technology, PIC16C505-20/P Datasheet - Page 41

no-image

PIC16C505-20/P

Manufacturer Part Number
PIC16C505-20/P
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,14PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C505-20/P

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
11
Program Memory Size
1.5KB (1K x 12)
Program Memory Type
OTP
Ram Size
72 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
14-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING309-1086 - ADAPTER 14-ZIF BD W/14-SO PLUGS309-1085 - ADAPTER 14-DIP BD W/2 14-SO PLUGAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ADDWF
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Encoding:
Description:
Words:
Cycles:
Example:
ANDLW
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
1999 Microchip Technology Inc.
Before Instruction
After Instruction
Before Instruction
After Instruction
W
FSR =
W
FSR =
W
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 reg-
ister ’f’.
1
1
ADDWF
0x17
0xC2
0xD9
0xC2
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
0xA3
0x03
0001
1110
f
k
31
255
FSR, 0
0x5F
11df
kkkk
(dest)
(W)
f,d
ffff
kkkk
k
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
FSR =
W
FSR =
FLAG_REG = 0xC7
FLAG_REG = 0x47
W
=
=
[ label ] ANDWF
(W) .AND. (f)
The contents of the W register are
[ label ] BCF
AND W with f
0
d
AND’ed 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
ANDWF
0x17
0xC2
0x17
0x02
Bit Clear f
0
0
0
Bit 'b' in register 'f' is cleared.
1
1
BCF
0001
0100
f
f
b
(f<b>)
31
31
7
PIC16C505
FSR,
FLAG_REG,
01df
bbbf
f,b
(dest)
1
DS40192C-page 41
ffff
ffff
f,d
7

Related parts for PIC16C505-20/P