PIC16C620 Microchip Technology, PIC16C620 Datasheet - Page 63

no-image

PIC16C620

Manufacturer Part Number
PIC16C620
Description
EPROM-Based 8-Bit CMOS Microcontroller
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C620-04/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C620-04I/P
Quantity:
8
Part Number:
PIC16C620/JW
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC16C620A-04/P
Quantity:
19
Part Number:
PIC16C620A-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C620A-04/SO
Manufacturer:
MICROCHI
Quantity:
84
Part Number:
PIC16C620A-04/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C620A-041/P
Quantity:
358
Part Number:
PIC16C620A-04I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C620A-04I/SS
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16C620A-40/P
Manufacturer:
Microchip Technology
Quantity:
135
10.1
ADDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
ADDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
1998 Microchip Technology Inc.
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
.
Preliminary
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
PIC16C62X
127
255
W
W
FSR =
W
FSR =
W
1001
0101
0x5F
FSR, 1
=
=
=
=
.
(dest)
DS30235G-page 63
(W)
0xA3
0x03
0x17
0xC2
0x17
0x02
kkkk
dfff
k
f,d
kkkk
ffff
.

Related parts for PIC16C620