欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC16C715-04E/SS 参数 Datasheet PDF下载

PIC16C715-04E/SS图片预览
型号: PIC16C715-04E/SS
PDF下载: 下载PDF文件 查看货源
内容描述: 8位CMOS微控制器与A / D转换器 [8-Bit CMOS Microcontrollers with A/D Converter]
分类和应用: 转换器微控制器
文件页数/大小: 176 页 / 1596 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16C715-04E/SS的Datasheet PDF文件第78页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第79页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第80页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第81页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第83页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第84页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第85页浏览型号PIC16C715-04E/SS的Datasheet PDF文件第86页  
PIC16C71X  
SLEEP  
SUBLW  
Subtract W from Literal  
Syntax:  
[ label ]  
SUBLW k  
Syntax:  
[ label ] SLEEP  
Operands:  
Operation:  
0 k 255  
Operands:  
Operation:  
None  
k - (W) → (W)  
00h WDT,  
0 WDT prescaler,  
1 TO,  
Status Affected: C, DC, Z  
Encoding:  
11  
110x  
kkkk  
kkkk  
0 PD  
The W register is subtracted (2’s comple-  
ment method) from the eight bit literal 'k'.  
The result is placed in the W register.  
Description:  
Status Affected:  
Encoding:  
TO, PD  
00  
0000  
0110  
0011  
Words:  
1
1
The power-down status bit, PD is  
cleared. Time-out status bit, TO is  
set. Watchdog Timer and its pres-  
caler are cleared.  
Description:  
Cycles:  
Q Cycle Activity:  
Q1  
Q2  
Q3  
Q4  
The processor is put into SLEEP  
mode with the oscillator stopped.  
See Section 8.8 for more details.  
Decode  
Read  
literal 'k'  
Process Write to W  
data  
Words:  
1
1
Example 1:  
SUBLW  
0x02  
Cycles:  
Before Instruction  
Q Cycle Activity:  
Q1  
Q2  
Q3  
Q4  
W
C
Z
=
=
=
1
?
?
Decode  
NOP  
NOP  
Go to  
Sleep  
After Instruction  
Example:  
SLEEP  
W
C
Z
=
=
=
1
1; result is positive  
0
Example 2:  
Before Instruction  
W
C
Z
=
=
=
2
?
?
After Instruction  
W
C
Z
=
=
=
0
1; result is zero  
1
Example 3:  
Before Instruction  
W
C
Z
=
=
=
3
?
?
After Instruction  
W
C
=
=
0xFF  
0; result is nega-  
tive  
Z
=
0
DS30272A-page 82  
1997 Microchip Technology Inc.  
 复制成功!