📄 init8051.lst
字号:
C51 COMPILER V7.07 INIT8051 04/20/2004 18:04:40 PAGE 1
C51 COMPILER V7.07, COMPILATION OF MODULE INIT8051
OBJECT MODULE PLACED IN .\out\init8051.obj
COMPILER INVOKED BY: F:\Keil\C51\BIN\C51.EXE src\init8051.c BROWSE DEBUG OBJECTEXTEND PRINT(.\lst\init8051.lst) OBJECT(.
-\out\init8051.obj)
stmt level source
1 /*
2 * Copyright (C) 2002 by TechiZ. All rights reserved.
3 *
4 * This program was written in Korean(Comment and some more).
5 *
6 * This program was developed by TechiZ(The Company name).
7 * TechiZ want to share this program with you who loves the 8051 & the TCP/IP.
8 *
9 * You MUST DOWNLOAD THIS CODE from TechiZ Homepage.
10 * You DO NOT USE THIS CODE FOR COMMERCIAL PURPOSE.
11 * This code is ONLY FREE FOR THE STUDY.
12 * If you want more, send me E-mail.
13 *
14 * E-mail: techiz@techiz.com
15 * ( Subject is : [T89C51RD2 & TinyTCP] bla~ bla bla.... )
16 *
17 * Homepage: http://www.techiz.com
18 *
19 * You DO NOT DELETE THIS COPYRIGHT MESSAGE IN THE USING OF THIS CODE.
20 *
21 * In the using of this code, TechiZ does NOT GUARANTEE ABOUT WORKING WITHOUT ERROR.
22 */
23
24 /*******************************************************************/
25 /* S Y S T E M I n i t i a l i z e
- */
26 /*******************************************************************/
27 #include <aduc812.h>
*** WARNING C318 IN LINE 27 OF src\init8051.c: can't open file 'aduc812.h'
28 #include "depend.h"
29
30
31 void system_init(void);
32
33 extern union t { /* time out variable for interrupt */
34 word hl;
35 byte reg[2];
36 word watchdog_counter;
37 }time[2];
38
39
40 void system_init(void) /* hardware setting, it is very importand !!! */
41 {
42 1 char ch;
43 1
44 1 EA = 0;
*** ERROR C202 IN LINE 44 OF SRC\INIT8051.C: 'EA': undefined identifier
45 1 TMOD = 0x20;
*** ERROR C202 IN LINE 45 OF SRC\INIT8051.C: 'TMOD': undefined identifier
46 1 PCON = 0x80;
*** ERROR C202 IN LINE 46 OF SRC\INIT8051.C: 'PCON': undefined identifier
47 1 TH1 = 0xFD;
*** ERROR C202 IN LINE 47 OF SRC\INIT8051.C: 'TH1': undefined identifier
48 1 TH0 = 0xFD;
C51 COMPILER V7.07 INIT8051 04/20/2004 18:04:40 PAGE 2
*** ERROR C202 IN LINE 48 OF SRC\INIT8051.C: 'TH0': undefined identifier
49 1 SCON = 0x52;
*** ERROR C202 IN LINE 49 OF SRC\INIT8051.C: 'SCON': undefined identifier
50 1 TCON = 0x40;
*** ERROR C202 IN LINE 50 OF SRC\INIT8051.C: 'TCON': undefined identifier
51 1 TR1 = 1;
*** ERROR C202 IN LINE 51 OF SRC\INIT8051.C: 'TR1': undefined identifier
52 1 TI = 1;
*** ERROR C202 IN LINE 52 OF SRC\INIT8051.C: 'TI': undefined identifier
53 1 RI = 0;
*** ERROR C202 IN LINE 53 OF SRC\INIT8051.C: 'RI': undefined identifier
54 1 ch = SBUF;
*** ERROR C202 IN LINE 54 OF SRC\INIT8051.C: 'SBUF': undefined identifier
55 1
56 1 }
C51 COMPILATION COMPLETE. 1 WARNING(S), 11 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -