PIC17C42 Microchip Technology, PIC17C42 Datasheet - Page 114

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
PIC17C4X
ANDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
DS30412C-page 114
Before Instruction
After Instruction
Decode
REG
WREG
REG
Q1
WREG
=
=
=
=
register 'f'
AND WREG with f
[ label ] ANDWF
0
d
(WREG) .AND. (f)
The contents of WREG are AND’ed with
register 'f'. If 'd' is 0 the result is stored
in WREG. If 'd' is 1 the result is stored
back in register 'f'.
1
1
ANDWF
Z
Read
0000
Q2
0x17
0xC2
0x17
0x02
f
255
REG, 1
101d
Execute
Q3
ffff
f,d
(dest)
destination
Write to
Q4
ffff
BCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
Before Instruction
After Instruction
Decode
FLAG_REG = 0xC7
FLAG_REG = 0x47
Q1
register 'f'
Bit Clear f
[ label ] BCF
0
0
0
None
Bit 'b' in register 'f' is cleared.
1
1
BCF
Read
1000
Q2
f
b
(f<b>)
1996 Microchip Technology Inc.
255
7
FLAG_REG,
1bbb
Execute
Q3
f,b
ffff
7
register 'f'
Write
Q4
ffff

Related parts for PIC17C42