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

PIC16F83-10B/SS View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16F83-10B/SS
Microchip
Microchip Technology 
PIC16F83-10B/SS Datasheet PDF : 124 Pages
First Prev 61 62 63 64 65 66 67 68 69 70 Next Last
PIC16F8X
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 prescaler
are cleared.
The processor is put into SLEEP
mode with the oscillator stopped. See
Section 14.8 for more details.
1
1
Q1
Q2
Q3
Q4
Decode No-Opera No-Opera Go to
tion
tion
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
DS30430C-page 66
© 1998 Microchip Technology Inc.

Share Link: 

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