label] SLEE" />
參數(shù)資料
型號: PIC12C508/JW
廠商: Microchip Technology
文件頁數(shù): 66/113頁
文件大?。?/td> 0K
描述: IC MCU EPROM 512X12 8CDIP
標準包裝: 56
系列: PIC® 12C
核心處理器: PIC
芯體尺寸: 8-位
速度: 4MHz
外圍設備: POR,WDT
輸入/輸出數(shù): 5
程序存儲器容量: 768B(512 x 12)
程序存儲器類型: EPROM,UV
RAM 容量: 25 x 8
電壓 - 電源 (Vcc/Vdd): 2.5 V ~ 5.5 V
振蕩器型: 內部
工作溫度: 0°C ~ 70°C
封裝/外殼: 8-CDIP(0.300",7.62mm)窗口
包裝: 管件
配用: DVMCPA-ND - KIT DVR BOARD EVAL SYSTEM MXDEV1
DVA12XP080-ND - ADAPTER DEVICE FOR MPLAB-ICE
AC124001-ND - MODULE SKT PROMATEII 8DIP/SOIC
PIC12C5XX
DS40139E-page 56
1999 Microchip Technology Inc.
SLEEP
Enter SLEEP Mode
Syntax:
[
label]
SLEEP
Operands:
None
Operation:
00h
→ WDT;
0
→ WDT prescaler;
1
→ TO;
0
→ PD
Status Affected:
TO, PD, GPWUF
Encoding:
0000
0011
Description:
Time-out status bit (TO) is set. The
power down status bit (PD) is cleared.
GPWUF is unaffected.
The WDT and its prescaler are
cleared.
The processor is put into SLEEP mode
with the oscillator stopped. See sec-
tion on SLEEP for more details.
Words:
1
Cycles:
1
Example:
SLEEP
SUBWF
Subtract W from f
Syntax:
[
label]
SUBWF f,d
Operands:
0
≤ f ≤ 31
d
∈ [0,1]
Operation:
(f) – (W)
→ (dest)
Status Affected:
C, DC, Z
Encoding:
0000
10df
ffff
Description:
Subtract (2’s complement method) the
W register from register 'f'. If 'd' is 0 the
result is stored in the W register. If 'd' is
1 the result is stored back in register 'f'.
Words:
1
Cycles:
1
Example 1:
SUBWF
REG1, 1
Before Instruction
REG1
=
3
W=
2
C=
?
After Instruction
REG1
=
1
W=
2
C
=
1
; result is positive
Example 2:
Before Instruction
REG1
=
2
W=
2
C=
?
After Instruction
REG1
=
0
W=
2
C
=
1
; result is zero
Example 3:
Before Instruction
REG1
=
1
W=
2
C=
?
After Instruction
REG1
=
FF
W=
2
C
=
0
; result is negative
相關PDF資料
PDF描述
PIC24FJ256DA110-I/PT MCU PIC 16BIT FLASH 256K 100TQFP
PIC32MX564F128L-I/PF MCU PIC 128KB FLASH 100TQFP
PIC17C42A-16/P IC MCU OTP 2KX16 PWM 40DIP
PIC16F874-20/L IC MCU FLASH 4KX14 EE 44PLCC
PIC24FJ128DA110-I/BG MCU PIC 16BIT FLASH 128K 121BGA
相關代理商/技術參數(shù)
參數(shù)描述
PIC12C508T 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontroller
PIC12C508T-04/EJW 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C508T-04/EP 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C508T-04/ESM 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C508T-04/ESN 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers