?? main.lst
字號:
C51 COMPILER V6.23a MAIN 11/14/2002 00:31:21 PAGE 1
C51 COMPILER V6.23a, COMPILATION OF MODULE MAIN
OBJECT MODULE PLACED IN main.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE main.c LARGE DEBUG OBJECTEXTEND
stmt level source
1 #include <REG52.H> /* special function register declarations */
2 /* for the intended 8051 derivative */
3
4 #include <stdio.h> /* prototype declarations for I/O functions */
5
6 #ifdef MONITOR51 /* Debugging with Monitor-51 needs */
char code reserve [3] _at_ 0x23; /* space for serial interrupt if */
#endif /* Stop Exection with Serial Intr. */
9 /* is enabled */
10 /*------------------------------------------------
11 The main C function. Program execution starts
12 here after stack initialization.
13 ------------------------------------------------*/
14
15 sbit CLR=P0^0;
16 sbit READY=P0^1;
17
18 void delay();
19
20 main()
21 {
22 1 unsigned char indata;
23 1 CLR=0;
24 1 while(1)
25 1 {
26 2 while(READY)
27 2 {
28 3 indata=P1;
29 3 CLR=1;
30 3 delay();
31 3 CLR=0;
32 3 }
33 2 }
34 1 }
35
36 void delay()
37 {
38 1 int i=0;
39 1 while(i<100)i++;
40 1 }
41
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 35 ----
CONSTANT SIZE = ---- ----
XDATA SIZE = ---- 1
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -