| 数据搜索系统,热门电子元器件搜索 |
|
CF745 数据表(PDF) 52 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
CF745 数据表(HTML) 52 Page - Microchip Technology |
|
52 / 217 page ![]() PIC16C5X DS30453B-page 52 Preliminary © 1998 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 Encoding: 0000 0000 0011 Description: Time-out status bit (TO) is set. The power down status bit (PD) is cleared. 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 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |