PIC17C42 Microchip Technology, PIC17C42 Datasheet - Page 113

no-image

PIC17C42

Manufacturer Part Number
PIC17C42
Description
High-Performance 8-Bit CMOS EPROM/ROM Microcontroller
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42-16/JW
Manufacturer:
AD
Quantity:
12
Part Number:
PIC17C42A-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC17C42A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-25/P
Manufacturer:
MICROCLOCK
Quantity:
20 000
ADDWFC
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
1996 Microchip Technology Inc.
Before Instruction
After Instruction
Decode
Carry bit =
REG
WREG
Carry bit =
REG
WREG
Q1
=
=
=
=
register 'f'
ADD WREG and Carry bit to f
[ label ] ADDWFC
0
d
(WREG) + (f) + C
Add WREG, the Carry Flag and data
memory location 'f'. If 'd' is 0, the result is
placed in WREG. If 'd' is 1, the result is
placed in data memory location 'f'.
1
1
ADDWFC
OV, C, DC, Z
Read
Q2
0001
1
0x02
0x4D
0
0x02
0x50
f
255
000d
REG
Execute
Q3
0
f,d
(dest)
ffff
destination
Write to
Q4
ffff
ANDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
Before Instruction
After Instruction
Decode
WREG
WREG
Q1
=
=
Read literal
And Literal with WREG
[ label ] ANDLW
0
(WREG) .AND. (k)
Z
The contents of WREG are AND’ed with
the 8-bit literal 'k'. The result is placed in
WREG.
1
1
ANDLW
1011
Q2
'k'
0xA3
0x03
k
255
PIC17C4X
0101
0x5F
Execute
Q3
DS30412C-page 113
k
kkkk
(WREG)
Write to
WREG
Q4
kkkk

Related parts for PIC17C42