label] SLEE" />
參數(shù)資料
型號: PIC12C508A-04I/P
廠商: Microchip Technology
文件頁數(shù): 66/113頁
文件大小: 0K
描述: IC MCU OTP 512X12 8DIP
產(chǎn)品培訓模塊: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
標準包裝: 60
系列: PIC® 12C
核心處理器: PIC
芯體尺寸: 8-位
速度: 4MHz
外圍設(shè)備: POR,WDT
輸入/輸出數(shù): 5
程序存儲器容量: 768B(512 x 12)
程序存儲器類型: OTP
RAM 容量: 25 x 8
電壓 - 電源 (Vcc/Vdd): 3 V ~ 5.5 V
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 8-DIP(0.300",7.62mm)
包裝: 管件
配用: ISPICR1-ND - ADAPTER IN-CIRCUIT PROGRAMMING
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
相關(guān)PDF資料
PDF描述
PIC12F675-I/P IC MCU CMOS FLASH-BASE 8BIT 8DIP
PIC12F675-E/SN IC MCU CMOS 1K FLASH W/AD 8-SOIC
PIC16C765/JW IC MCU EPROM 8KX14 USB 40CDIP
PIC16LF1823-I/ML IC MCU 8BIT FLASH 16QFN
PIC16C745/JW IC MCU EPROM8KX14 USB A/D 28CDIP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC12C508A-04I-SM 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:Errata Sheet for PIC12C508A/509A (Rev. A Silicon)
PIC12C508AT 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C508AT-04/EJW 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C508AT-04/EP 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C508AT-04/ESM 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers