PIC16HV785 Microchip Technology Inc., PIC16HV785 Datasheet - Page 131

no-image

PIC16HV785

Manufacturer Part Number
PIC16HV785
Description
20-pin Flash-based 8-bit Cmos Microcontroller
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16HV785-E/ML
Manufacturer:
LEGERITY
Quantity:
100
Part Number:
PIC16HV785-E/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16HV785-E/SO
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16HV785-E/SS
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16HV785-I/ML
Manufacturer:
MICROCHIP
Quantity:
12 000
17.2
ADDLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
ADDWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
ANDLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
© 2006 Microchip Technology Inc.
Instruction Descriptions
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’.
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:
PIC16F785/HV785
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
DS41249D-page 129
(destination)
f,d

Related parts for PIC16HV785