DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC17CR42-08/SP View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC17CR42-08/SP
Microchip
Microchip Technology 
PIC17CR42-08/SP Datasheet PDF : 240 Pages
First Prev 111 112 113 114 115 116 117 118 119 120 Next Last
PIC17C4X
ANDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
AND WREG with f
[ label ] ANDWF f,d
0 f 255
d ∈ [0,1]
(WREG) .AND. (f) (dest)
Z
0000 101d ffff ffff
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
Q2
Read
register 'f'
Q3
Execute
Q4
Write to
destination
Example:
ANDWF REG, 1
Before Instruction
WREG = 0x17
REG = 0xC2
After Instruction
WREG = 0x17
REG = 0x02
BCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
Bit Clear f
[ label ] BCF f,b
0 f 255
0b7
0 (f<b>)
None
1000 1bbb ffff
Bit 'b' in register 'f' is cleared.
1
1
ffff
Q2
Read
register 'f'
Q3
Execute
Q4
Write
register 'f'
Example:
BCF
Before Instruction
FLAG_REG = 0xC7
After Instruction
FLAG_REG = 0x47
FLAG_REG, 7
DS30412C-page 114
© 1996 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]