📄 net_cfg.lst
字号:
C51 COMPILER V7.10 NET_CFG 07/27/2007 17:19:45 PAGE 1
C51 COMPILER V7.10, COMPILATION OF MODULE NET_CFG
OBJECT MODULE PLACED IN NET_CFG.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE NET_CFG.H DEBUG OBJECTEXTEND CODE LISTINCLUDE SYMBOLS
line level source
1 #include "my66x.h" //头文件定义,包含很多用到的宏的定义
1 =1 #include <stdio.h>
1 =2 /*--------------------------------------------------------------------------
2 =2 STDIO.H
3 =2
4 =2 Prototypes for standard I/O functions.
5 =2 Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
6 =2 All rights reserved.
7 =2 --------------------------------------------------------------------------*/
8 =2
9 =2 #ifndef __STDIO_H__
10 =2 #define __STDIO_H__
11 =2
12 =2 #ifndef EOF
13 =2 #define EOF -1
14 =2 #endif
15 =2
16 =2 #ifndef NULL
17 =2 #define NULL ((void *) 0)
18 =2 #endif
19 =2
20 =2 #ifndef _SIZE_T
21 =2 #define _SIZE_T
22 =2 typedef unsigned int size_t;
23 =2 #endif
24 =2
25 =2 #pragma SAVE
26 =2 #pragma REGPARMS
27 =2 extern char _getkey (void);
28 =2 extern char getchar (void);
29 =2 extern char ungetchar (char);
30 =2 extern char putchar (char);
31 =2 extern int printf (const char *, ...);
32 =2 extern int sprintf (char *, const char *, ...);
33 =2 extern int vprintf (const char *, char *);
34 =2 extern int vsprintf (char *, const char *, char *);
35 =2 extern char *gets (char *, int n);
36 =2 extern int scanf (const char *, ...);
37 =2 extern int sscanf (char *, const char *, ...);
38 =2 extern int puts (const char *);
39 =2
40 =2 #pragma RESTORE
41 =2
42 =2 #endif
43 =2
2 =1 #include <ctype.h>
1 =2 /*--------------------------------------------------------------------------
2 =2 CTYPE.H
3 =2
4 =2 Prototypes for character functions.
5 =2 Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
6 =2 All rights reserved.
7 =2 --------------------------------------------------------------------------*/
8 =2
9 =2 #ifndef __CTYPE_H__
C51 COMPILER V7.10 NET_CFG 07/27/2007 17:19:45 PAGE 2
10 =2 #define __CTYPE_H__
11 =2
12 =2 #pragma SAVE
13 =2 #pragma REGPARMS
14 =2 extern bit isalpha (unsigned char);
15 =2 extern bit isalnum (unsigned char);
16 =2 extern bit iscntrl (unsigned char);
17 =2 extern bit isdigit (unsigned char);
18 =2 extern bit isgraph (unsigned char);
19 =2 extern bit isprint (unsigned char);
20 =2 extern bit ispunct (unsigned char);
21 =2 extern bit islower (unsigned char);
22 =2 extern bit isupper (unsigned char);
23 =2 extern bit isspace (unsigned char);
24 =2 extern bit isxdigit (unsigned char);
25 =2 extern unsigned char tolower (unsigned char);
26 =2 extern unsigned char toupper (unsigned char);
27 =2 extern unsigned char toint (unsigned char);
28 =2
29 =2 #define _tolower(c) ( (c)-'A'+'a' )
30 =2 #define _toupper(c) ( (c)-'a'+'A' )
31 =2 #define toascii(c) ( (c) & 0x7F )
32 =2 #pragma RESTORE
33 =2
34 =2 #endif
3 =1 #include <absacc.h>
1 =2 /*--------------------------------------------------------------------------
2 =2 ABSACC.H
3 =2
4 =2 Direct access to 8051, extended 8051 and Philips 80C51MX memory areas.
5 =2 Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
6 =2 All rights reserved.
7 =2 --------------------------------------------------------------------------*/
8 =2
9 =2 #ifndef __ABSACC_H__
10 =2 #define __ABSACC_H__
11 =2
12 =2 #define CBYTE ((unsigned char volatile code *) 0)
13 =2 #define DBYTE ((unsigned char volatile data *) 0)
14 =2 #define PBYTE ((unsigned char volatile pdata *) 0)
15 =2 #define XBYTE ((unsigned char volatile xdata *) 0)
16 =2
17 =2 #define CWORD ((unsigned int volatile code *) 0)
18 =2 #define DWORD ((unsigned int volatile data *) 0)
19 =2 #define PWORD ((unsigned int volatile pdata *) 0)
20 =2 #define XWORD ((unsigned int volatile xdata *) 0)
21 =2
22 =2
23 =2 #ifdef __CX51__
=2 #define FVAR(object, addr) (*((object volatile far *) (addr)))
=2 #define FARRAY(object, base) ((object volatile far *) (base))
=2 #define FCVAR(object, addr) (*((object const far *) (addr)))
=2 #define FCARRAY(object, base) ((object const far *) (base))
=2 #else
29 =2 #define FVAR(object, addr) (*((object volatile far *) ((addr)+0x10000L)))
30 =2 #define FCVAR(object, addr) (*((object const far *) ((addr)+0x810000L)))
31 =2 #define FARRAY(object, base) ((object volatile far *) ((base)+0x10000L))
32 =2 #define FCARRAY(object, base) ((object const far *) ((base)+0x810000L))
33 =2 #endif
34 =2
35 =2 #endif
4 =1 #include <intrins.h>
C51 COMPILER V7.10 NET_CFG 07/27/2007 17:19:45 PAGE 3
1 =2 /*--------------------------------------------------------------------------
2 =2 INTRINS.H
3 =2
4 =2 Intrinsic functions for C51.
5 =2 Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
6 =2 All rights reserved.
7 =2 --------------------------------------------------------------------------*/
8 =2
9 =2 #ifndef __INTRINS_H__
10 =2 #define __INTRINS_H__
11 =2
12 =2 extern void _nop_ (void);
13 =2 extern bit _testbit_ (bit);
14 =2 extern unsigned char _cror_ (unsigned char, unsigned char);
15 =2 extern unsigned int _iror_ (unsigned int, unsigned char);
16 =2 extern unsigned long _lror_ (unsigned long, unsigned char);
17 =2 extern unsigned char _crol_ (unsigned char, unsigned char);
18 =2 extern unsigned int _irol_ (unsigned int, unsigned char);
19 =2 extern unsigned long _lrol_ (unsigned long, unsigned char);
20 =2 extern unsigned char _chkfloat_(float);
21 =2
22 =2 #endif
23 =2
5 =1 #include <math.h>
1 =2 /*--------------------------------------------------------------------------
2 =2 MATH.H
3 =2
4 =2 Prototypes for mathematic functions.
5 =2 Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
6 =2 All rights reserved.
7 =2 --------------------------------------------------------------------------*/
8 =2
9 =2 #ifndef __MATH_H__
10 =2 #define __MATH_H__
11 =2
12 =2 #pragma SAVE
13 =2 #pragma REGPARMS
14 =2 extern char cabs (char val);
15 =2 extern int abs (int val);
16 =2 extern long labs (long val);
17 =2 extern float fabs (float val);
18 =2 extern float sqrt (float val);
19 =2 extern float exp (float val);
20 =2 extern float log (float val);
21 =2 extern float log10 (float val);
22 =2 extern float sin (float val);
23 =2 extern float cos (float val);
24 =2 extern float tan (float val);
25 =2 extern float asin (float val);
26 =2 extern float acos (float val);
27 =2 extern float atan (float val);
28 =2 extern float sinh (float val);
29 =2 extern float cosh (float val);
30 =2 extern float tanh (float val);
31 =2 extern float atan2 (float y, float x);
32 =2
33 =2 extern float ceil (float val);
34 =2 extern float floor (float val);
35 =2 extern float modf (float val, float *n);
36 =2 extern float fmod (float x, float y);
37 =2 extern float pow (float x, float y);
38 =2
C51 COMPILER V7.10 NET_CFG 07/27/2007 17:19:45 PAGE 4
39 =2 #pragma RESTORE
40 =2
41 =2 #endif
6 =1 #include <setjmp.h>
1 =2 /*--------------------------------------------------------------------------
2 =2 SETJMP.H
3 =2
4 =2 Prototypes for longjmp facility.
5 =2 Copyright (c) 1988-2003 Keil Elektronik GmbH and Keil Software, Inc.
6 =2 All rights reserved.
7 =2 --------------------------------------------------------------------------*/
8 =2
9 =2 /* define the buffer type for holding the state information */
10 =2 #ifndef __SETJMP_H__
11 =2 #define __SETJMP_H__
12 =2
13 =2 #ifdef __CX51__
=2 #define _JBLEN 9 /* SP, SPE, ?C_XBP, ?C_IBP, ?C_PBP, RET-ADDR */
=2 #else
16 =2 #define _JBLEN 7 /* RET-ADDR, ?C_XBP, ?C_IBP, ?C_PBP, SP */
17 =2 /* for Dallas 390: RET-ADDR, ?C_XBP, ?C_IBP, PCX, SP */
18 =2 #endif
19 =2
20 =2 typedef char jmp_buf[_JBLEN];
21 =2
22 =2 /* function prototypes */
23 =2 extern int setjmp (jmp_buf);
24 =2 extern void longjmp (jmp_buf, int);
25 =2 #endif
26 =2
7 =1 #include <stdarg.h>
1 =2 /*--------------------------------------------------------------------------
2 =2 STDARG.H
3 =2
4 =2 Prototypes for variable argument lists.
5 =2 Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
6 =2 All rights reserved.
7 =2 --------------------------------------------------------------------------*/
8 =2
9 =2 #ifndef __STDARG_H__
10 =2 #define __STDARG_H__
11 =2
12 =2 #ifndef NULL
=2 #define NULL ((void *) 0)
=2 #endif
15 =2
16 =2 #ifndef _VA_LIST_DEFINED
17 =2 typedef char *va_list;
18 =2 #define _VA_LIST_DEFINED
19 =2 #endif
20 =2
21 =2 #define va_start(ap,v) ap = (va_list)&v + sizeof(v)
22 =2 #define va_arg(ap,t) (((t *)ap)++[0])
23 =2 #define va_end(ap)
24 =2
25 =2 #endif
8 =1 #include <stdlib.h>
1 =2 /*--------------------------------------------------------------------------
2 =2 STDLIB.H
3 =2
4 =2 Standard functions.
5 =2 Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
C51 COMPILER V7.10 NET_CFG 07/27/2007 17:19:45 PAGE 5
6 =2 All rights reserved.
7 =2 --------------------------------------------------------------------------*/
8 =2
9 =2 #ifndef __STDLIB_H__
10 =2 #define __STDLIB_H__
11 =2
12 =2 #ifndef _SIZE_T
=2 #define _SIZE_T
=2 typedef unsigned int size_t;
=2 #endif
16 =2
17 =2 #ifndef NULL
=2 #define NULL ((void *) 0L)
=2 #endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -