2000 Microchip Technology Inc.
DS30605C-page 101
PIC16C63A/65B/73B/74B
14.1
Instruction Descriptions
ADDLW
Add Literal and W
Syntax:
[label] ADDLW k
Operands:
0
≤
k
≤
255
Operation:
(W) + k
→
(W)
Status Affected:
C, DC, Z
Description:
The contents of the W register are
added to the eight bit literal ’k’ and the
result is placed in the W register.
ADDWF
Add W and f
Syntax:
[label] ADDWF f,d
Operands:
0
≤
f
≤
127
d
∈ [0,1]
Operation:
(W) + (f)
→
(destination)
Status Affected:
C, DC, Z
Description:
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’.
ANDLW
AND Literal with W
Syntax:
[label] ANDLW k
Operands:
0
≤
k
≤
255
Operation:
(W) .AND. (k)
→
(W)
Status Affected:
Z
Description:
The contents of W register are
AND’ed with the eight bit literal 'k'.
The result is placed in the W register.
ANDWF
AND W with f
Syntax:
[label] ANDWF f,d
Operands:
0
≤
f
≤
127
d
∈ [0,1]
Operation:
(W) .AND. (f)
→
(destination)
Status Affected:
Z
Description:
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'.
BCF
Bit Clear f
Syntax:
[label] BCF f,b
Operands:
0
≤
f
≤
127
0
≤
b
≤
7
Operation:
0
→
(f<b>)
Status Affected:
None
Description:
Bit 'b' in register 'f' is cleared.
BSF
Bit Set f
Syntax:
[label] BSF f,b
Operands:
0
≤
f
≤
127
0
≤
b
≤
7
Operation:
1
→
(f<b>)
Status Affected:
None
Description:
Bit 'b' in register 'f' is set.
Summary of Contents for PIC16C63A
Page 4: ...PIC16C63A 65B 73B 74B DS30605C page 4 2000 Microchip Technology Inc NOTES ...
Page 6: ...PIC16C63A 65B 73B 74B DS30605C page 6 2000 Microchip Technology Inc NOTES ...
Page 8: ...PIC16C63A 65B 73B 74B DS30605C page 8 2000 Microchip Technology Inc NOTES ...
Page 28: ...PIC16C63A 65B 73B 74B DS30605C page 28 2000 Microchip Technology Inc NOTES ...
Page 42: ...PIC16C63A 65B 73B 74B DS30605C page 42 2000 Microchip Technology Inc NOTES ...
Page 78: ...PIC16C63A 65B 73B 74B DS30605C page 78 2000 Microchip Technology Inc NOTES ...
Page 112: ...PIC16C63A 65B 73B 74B DS30605C page 112 2000 Microchip Technology Inc NOTES ...
Page 152: ...PIC16C63A 65B 73B 74B DS30605C page 152 2000 Microchip Technology Inc NOTES ...
Page 164: ...PIC16C63A 65B 73B 74B DS30605C page 164 2000 Microchip Technology Inc NOTES ...
Page 174: ...PIC16C63A 65B 73B 74B DS30605C page 174 2000 Microchip Technology Inc NOTES ...
Page 178: ...PIC16C63A 65B 73B 74B DS30605C page 178 2000 Microchip Technology Inc NOTES ...
Page 179: ... 2000 Microchip Technology Inc DS30605C page 179 PIC16C63A 65B 73B 74B NOTES ...
Page 180: ...PIC16C63A 65B 73B 74B DS30605C page 180 2000 Microchip Technology Inc NOTES ...
Page 181: ... 2000 Microchip Technology Inc DS30605C page 181 PIC16C63A 65B 73B 74B NOTES ...
Page 182: ...PIC16C63A 65B 73B 74B DS30605C page 182 2000 Microchip Technology Inc NOTES ...
Page 183: ... 2000 Microchip Technology Inc DS30605C page 183 PIC16C63A 65B 73B 74B NOTES ...