PIC12CE67 Microchip Technology, PIC12CE67 Datasheet - Page 64

no-image

PIC12CE67

Manufacturer Part Number
PIC12CE67
Description
8-Pin/ 8-Bit CMOS Microcontroller with A/D Converter and EEPROM Data Memory
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12CE673-04/P
Manufacturer:
Microchip
Quantity:
486
Part Number:
PIC12CE673-04I/P
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC12CE673-10/P
Manufacturer:
Microchip
Quantity:
373
Part Number:
PIC12CE673-10E/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC12CE673-10I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC12CE674-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC12CE674-P04
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC12CE674/JW
Manufacturer:
MICROCH
Quantity:
20 000
PIC12CE67X
10.2
ADDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
ADDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS40181B-page 64
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
1998 Microchip Technology Inc.
127
255
W
W
FSR =
W
FSR =
W
1001
0101
0x5F
FSR, 1
=
=
=
=
.
(dest)
(W)
0xA3
0x03
0x17
0xC2
0x17
0x02
kkkk
dfff
k
f,d
kkkk
ffff
.

Related parts for PIC12CE67