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

PIC17C752T-25I/P 参数 Datasheet PDF下载

PIC17C752T-25I/P图片预览
型号: PIC17C752T-25I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 高性能8位CMOS微控制器的EPROM [High-Performance 8-Bit CMOS EPROM Microcontrollers]
分类和应用: 微控制器可编程只读存储器电动程控只读存储器
文件页数/大小: 320 页 / 2172 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC17C752T-25I/P的Datasheet PDF文件第207页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第208页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第209页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第210页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第212页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第213页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第214页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第215页  
PIC17C75X  
SLEEP  
SUBLW  
Subtract WREG from Literal  
[ label ] SUBLW k  
0 k 255  
Enter SLEEP mode  
Syntax:  
Syntax:  
[ label ] SLEEP  
None  
Operands:  
Operation:  
Status Affected:  
Encoding:  
Description:  
Operands:  
Operation:  
k – (WREG) → (WREG)  
OV, C, DC, Z  
00h WDT;  
0 WDT postscaler;  
1 TO;  
1011  
0010  
kkkk  
kkkk  
0 PD  
WREG is subtracted from the eight bit  
literal 'k'. The result is placed in  
WREG.  
Status Affected:  
Encoding:  
TO, PD  
0000  
0000  
0000  
0011  
Words:  
Cycles:  
1
1
The power-down status bit (PD) is  
cleared. The time-out status bit (TO)  
is set. Watchdog Timer and its pres-  
caler are cleared.  
Description:  
Q Cycle Activity:  
Q1  
The processor is put into SLEEP  
mode with the oscillator stopped.  
Q2  
Q3  
Q4  
Decode  
Read  
Process  
Data  
Write to  
WREG  
literal 'k'  
Words:  
Cycles:  
1
1
SUBLW 0x02  
Example 1:  
Q Cycle Activity:  
Q1  
Before Instruction  
WREG  
=
1
?
Q2  
Q3  
Q4  
C
=
Decode  
No  
operation  
Process  
Data  
Go to  
sleep  
After Instruction  
WREG  
C
Z
=
=
=
1
1
0
; result is positive  
SLEEP  
Example:  
Before Instruction  
Example 2:  
TO  
=
?
Before Instruction  
PD  
=
?
WREG  
C
=
=
2
?
After Instruction  
TO  
PD  
=
=
1 †  
0
After Instruction  
WREG  
=
=
=
0
1
1
† If WDT causes wake-up, this bit is cleared  
C
Z
; result is zero  
Example 3:  
Before Instruction  
WREG  
C
=
=
3
?
After Instruction  
WREG  
C
Z
=
=
=
FF ; (2’s complement)  
0
1
; result is negative  
1997 Microchip Technology Inc.  
DS30264A-page 211  
 复制成功!