參數(shù)資料
型號: PIC12CR509A
廠商: Microchip Technology Inc.
英文描述: 8-Pin, 8-Bit CMOS Microcontrollers
中文描述: 8引腳,8位CMOS微控制器
文件頁數(shù): 56/113頁
文件大?。?/td> 1604K
代理商: PIC12CR509A
PIC12C5XX
DS40139E-page 56
1999 Microchip Technology Inc.
SLEEP
Syntax:
Enter SLEEP Mode
[label
SLEEP
Operands:
None
00h
WDT;
0
WDT prescaler;
1
TO;
0
PD
TO, PD, GPWUF
Operation:
Status Affected:
Encoding:
0000
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:
Cycles:
1
1
Example:
SLEEP
SUBWF
Syntax:
Subtract W from f
[label
0
f
31
d
[0,1]
(f)
– (W)
→ (
dest)
C, DC, Z
SUBWF f,d
Operands:
Operation:
Status Affected:
Encoding:
Description:
0000
10df
ffff
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'.
1
Words:
Cycles:
Example 1:
1
SUBWF REG1, 1
Before Instruction
REG1
W
C
After Instruction
REG1
W
C
=
=
=
3
2
=
=
=
1
2
1 ; result is positive
Example 2:
Before Instruction
REG1
W
C
=
=
=
2
2
After Instruction
REG1
W
C
=
=
=
0
2
1 ; result is zero
Example 3:
Before Instruction
REG1
W
C
After Instruction
REG1
W
C
=
=
=
1
2
=
=
=
FF
2
0 ; result is negative
相關(guān)PDF資料
PDF描述
PIC12F505 8/14-Pin, 8-Bit Flash Microcontrollers
PIC12F506 8/14-Pin, 8-Bit Flash Microcontroller
PIC12F510_07 8/14-Pin, 8-Bit Flash Microcontroller
PIC12F510 8/14-Pin, 8-Bit Flash Microcontroller
PIC12F519 8-Pin, 8-Bit Flash Microcontroller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC12CR509A-04/EJW 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/EP 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/ESM 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/ESN 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CR509A-04/IJW 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers