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

PIC16LC71T-20E/SO View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16LC71T-20E/SO
Microchip
Microchip Technology 
PIC16LC71T-20E/SO Datasheet PDF : 176 Pages
First Prev 81 82 83 84 85 86 87 88 89 90 Next Last
PIC16C71X
SLEEP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
[ label ] SLEEP
None
00h WDT,
0 WDT prescaler,
1 TO,
0 PD
TO, PD
00 0000 0110 0011
The power-down status bit, PD is
cleared. Time-out status bit, TO is
set. Watchdog Timer and its pres-
caler are cleared.
The processor is put into SLEEP
mode with the oscillator stopped.
See Section 8.8 for more details.
1
1
Q1 Q2 Q3 Q4
Decode NOP
NOP
Go to
Sleep
Example:
SLEEP
SUBLW
Subtract W from Literal
Syntax:
[ label ] SUBLW k
Operands:
Operation:
0 k 255
k - (W) → (W)
Status Affected: C, DC, Z
Encoding:
11 110x kkkk kkkk
Description:
The W register is subtracted (2’s comple-
ment method) from the eight bit literal 'k'.
The result is placed in the W register.
Words:
1
Cycles:
1
Q Cycle Activity: Q1
Q2
Q3
Q4
Decode Read Process Write to W
literal 'k'
data
Example 1:
Example 2:
Example 3:
SUBLW 0x02
Before Instruction
W= 1
C= ?
Z=?
After Instruction
W=
C=
Z=
1
1; result is positive
0
Before Instruction
W= 2
C= ?
Z=?
After Instruction
W=
C=
Z=
0
1; result is zero
1
Before Instruction
W= 3
C= ?
Z=?
After Instruction
W=
C=
tive
Z=
0xFF
0; result is nega-
0
DS30272A-page 82
© 1997 Microchip Technology Inc.

Share Link: 

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