STC单片机内部的ISP和IAP系统
源代码在线查看: powerdown.lst
C51 COMPILER V8.12 POWERDOWN 07/15/2008 23:55:48 PAGE 1
C51 COMPILER V8.12, COMPILATION OF MODULE POWERDOWN
NO OBJECT MODULE REQUESTED
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE powerdown.c BROWSE DEBUG OBJECTEXTEND SRC(.\powerdown.SRC)
line level source
1 //---------------进入的功耗状态--------------------------------
2
3
4
5 void power_down(void)
6 {
7 1 #pragma asm
8 1 CLR P3.6
9 1 SETB P3.5
10 1 MOV A,PCON
11 1 ORL A,#02H
12 1 MOV PCON,A
13 1 #pragma endasm
14 1 }
15
16 //void power_down2(void)
17 //{
18
19 // BEEP = 0;
20 // PD = 2;
21
22 //}
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 16 ----
CONSTANT SIZE = ---- ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)