pic16c62b-20i-ss Microchip Technology Inc., pic16c62b-20i-ss Datasheet - Page 69

no-image

pic16c62b-20i-ss

Manufacturer Part Number
pic16c62b-20i-ss
Description
28-pin 8-bit Cmos Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet
11.1
ADDLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
ADDWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
ANDLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
1999 Microchip Technology Inc.
Instruction Descriptions
[ label ] ADDWF
(W) + (f)
C, DC, Z
Add W and f
0
d
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’
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
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
f
k
k
127
255
255
(W)
(destination)
(W)
f,d
k
k
.
.
Preliminary
.
ANDWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
BCF
Syntax:
Operands:
Operation:
Status Affected:
Description:
BSF
Syntax:
Operands:
Operation:
Status Affected:
Description:
PIC16C62B/72A
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'
Bit Clear f
[ label ] BCF
0
0
0
None
Bit 'b' in register 'f' is cleared
Bit Set f
[ label ] BSF
0
0
1
None
Bit 'b' in register 'f' is set.
f
f
b
f
b
(f<b>)
(f<b>)
127
127
127
7
7
f,b
f,b
.
(destination)
DS35008B-page 69
f,d
.

Related parts for pic16c62b-20i-ss