📄 pc16bios.lst
字号:
C51 COMPILER V7.06 PC16BIOS 03/06/2004 21:01:59 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE PC16BIOS
OBJECT MODULE PLACED IN PC16BIOS.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE PC16BIOS.C BROWSE DEBUG OBJECTEXTEND
stmt level source
1 //-------------------------------------------------------------------------
2 // Filename : PC16BIOS.H
3 // Language : C for AT89S8252
4 // Date :
5 // Description : Header file for user call
6 //-------------------------------------------------------------------------
7 // define constant
8 #define NULL 0
9 #define PASS 2
10 #define FAIL 1
11 #define TRUE 1
12 #define FALSE 0
13 #define ON 1
14 #define OFF 0
15 //-------------------------------------------------------------------------
16 // function prototype
17 void output_port (char , char);
18 void init_system(void);
19 void delay( unsigned int );
20 void disp_pilot(char , char);
21 char get_key(char );
22 char input_port(char );
23 char get_outstus(char );
24 char _scan_manual();
25 unsigned _current_time();
26 //-------------------------------------------------------
27 //output_port ( char c, char s )
28 //define c for output address
29 //define s for output command
30 //
31 //------------------------------------------------------
32 void output_port ( char c,char s)
33 {
34 1 // char c,s;
35 1 char output_buf; // in time0 interrupt
36 1 while(c)
37 1 switch(c)
38 1 {
39 2 case 1:
40 2 // s=s&&0xfeh;
41 2 // s=s||0x01h;
42 2 P1=output_buf+s;break;
*** ERROR C202 IN LINE 42 OF PC16BIOS.C: 'P1': undefined identifier
43 2 case 2:
44 2 // s=s&&0xfdh;
45 2 // s=s||0x02h;
46 2 P1=output_buf+s;break;
*** ERROR C202 IN LINE 46 OF PC16BIOS.C: 'P1': undefined identifier
47 2 case 3:
48 2 // s=s&&0xfeh;
49 2 // s=s||0x03h;
50 2 P1=P1&&s;break;
*** ERROR C202 IN LINE 50 OF PC16BIOS.C: 'P1': undefined identifier
51 2 case 4:
52 2 s=s&&0xfbh;
C51 COMPILER V7.06 PC16BIOS 03/06/2004 21:01:59 PAGE 2
*** ERROR C141 IN LINE 52 OF PC16BIOS.C: syntax error near 'h'
*** ERROR C202 IN LINE 52 OF PC16BIOS.C: 'h': undefined identifier
53 2 s=s||0x04h;
*** ERROR C141 IN LINE 53 OF PC16BIOS.C: syntax error near 'h'
*** ERROR C202 IN LINE 53 OF PC16BIOS.C: 'h': undefined identifier
54 2 P1=P1&&s;break;
*** ERROR C202 IN LINE 54 OF PC16BIOS.C: 'P1': undefined identifier
55 2 case 5:
56 2 s=s&&0xfah;
*** ERROR C141 IN LINE 56 OF PC16BIOS.C: syntax error near 'h'
*** ERROR C202 IN LINE 56 OF PC16BIOS.C: 'h': undefined identifier
57 2 s=s||0x05h;
*** ERROR C141 IN LINE 57 OF PC16BIOS.C: syntax error near 'h'
*** ERROR C202 IN LINE 57 OF PC16BIOS.C: 'h': undefined identifier
58 2 P1=P1&&s;break;
*** ERROR C202 IN LINE 58 OF PC16BIOS.C: 'P1': undefined identifier
59 2 case 6:
60 2 s=s&&0xf9h;
*** ERROR C141 IN LINE 60 OF PC16BIOS.C: syntax error near 'h'
*** ERROR C202 IN LINE 60 OF PC16BIOS.C: 'h': undefined identifier
61 2 s=s||0x05h;
*** ERROR C141 IN LINE 61 OF PC16BIOS.C: syntax error near 'h'
*** ERROR C202 IN LINE 61 OF PC16BIOS.C: 'h': undefined identifier
62 2 P1=P1&&s;break;
*** ERROR C202 IN LINE 62 OF PC16BIOS.C: 'P1': undefined identifier
63 2
64 2
65 2
66 2
67 2
68 2
69 2
70 2
71 2
72 2
73 2
74 2
75 2
76 2
77 2
78 2
79 2 }
80 1 }
C51 COMPILATION COMPLETE. 0 WARNING(S), 18 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -