PIC16C926-I/CL Microchip Technology, PIC16C926-I/CL Datasheet - Page 121

no-image

PIC16C926-I/CL

Manufacturer Part Number
PIC16C926-I/CL
Description
64/68-Pin CMOS Microcontrollers with LCD Driver
Manufacturer
Microchip Technology
Datasheet
CLRF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
2001 Microchip Technology Inc.
Before Instruction:
After Instruction:
FLAG_REG =
FLAG_REG =
Z
Clear f
[ label ] CLRF
0
00h
1
Z
The contents of register ’f’ are
cleared and the Z bit is set.
1
1
CLRF
Decode
Q1
=
00
f
Z
127
(f)
0x5A
0x00
1
FLAG_REG
register
0001
Read
Q2
’f’
f
Process
1fff
data
Q3
register
ffff
Write
Q4
’f’
Preliminary
CLRW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
Before Instruction:
After Instruction:
W
W
Z
=
=
=
PIC16C925/926
0x5A
0x00
1
Clear W
[ label ] CLRW
None
00h
1
Z
W register is cleared. Zero bit (Z) is
set.
1
1
CLRW
Decode
Q1
00
Z
(W)
Operation
0001
Q2
No
DS39544A-page 119
Process
0xxx
data
Q3
Write to
xxxx
Q4
W

Related parts for PIC16C926-I/CL