PC机与单片机232串口的通讯,通过调试成功,可以直接使用

源代码在线查看: com.m51

软件大小: 19 K
上传用户: forchwei
关键词: 232 PC机与单片机 串口 通讯
下载地址: 免注册下载 普通下载 VIP

相关代码

				BL51 BANKED LINKER/LOCATER V5.02                                                        03/27/2004  18:32:40  PAGE 1
				
				
				BL51 BANKED LINKER/LOCATER V5.02, INVOKED BY:
				C:\KEIL\C51\BIN\BL51.EXE COM.obj TO com
				
				
				MEMORY MODEL: SMALL
				
				
				INPUT MODULES INCLUDED:
				  COM.obj (COM)
				  C:\KEIL\C51\LIB\C51S.LIB (?C_STARTUP)
				
				
				LINK MAP OF MODULE:  com (COM)
				
				
				            TYPE    BASE      LENGTH    RELOCATION   SEGMENT NAME
				            -----------------------------------------------------
				
				            * * * * * * *   D A T A   M E M O R Y   * * * * * * *
				            REG     0000H     0008H     ABSOLUTE     "REG BANK 0"
				            IDATA   0008H     0001H     UNIT         ?STACK
				
				            * * * * * * *   C O D E   M E M O R Y   * * * * * * *
				            CODE    0000H     0003H     ABSOLUTE     
				            CODE    0003H     0012H     UNIT         ?PR?INIT_COM?COM
				            CODE    0015H     000EH     UNIT         ?PR?MAIN?COM
				            CODE    0023H     000CH     UNIT         ?C_C51STARTUP
				
				
				
				OVERLAY MAP OF MODULE:   com (COM)
				
				
				SEGMENT
				  +--> CALLED SEGMENT
				---------------------
				?C_C51STARTUP
				  +--> ?PR?MAIN?COM
				
				?PR?MAIN?COM
				  +--> ?PR?INIT_COM?COM
				
				
				
				SYMBOL TABLE OF MODULE:  com (COM)
				
				  VALUE           TYPE          NAME
				  ----------------------------------
				
				  -------         MODULE        COM
				  C:0000H         SYMBOL        _ICE_DUMMY_
				  D:0090H         PUBLIC        P1
				  D:00B0H         PUBLIC        P3
				  D:00A8H         PUBLIC        IE
				  C:0003H         PUBLIC        Init_Com
				  D:00B8H         PUBLIC        IP
				  B:0098H.0       PUBLIC        RI
				  C:0015H         PUBLIC        main
				BL51 BANKED LINKER/LOCATER V5.02                                                      03/27/2004  18:32:40  PAGE 2
				
				
				  D:0099H         PUBLIC        SBUF
				  D:0087H         PUBLIC        PCON
				  D:0098H         PUBLIC        SCON
				  D:0089H         PUBLIC        TMOD
				  D:0088H         PUBLIC        TCON
				  D:008DH         PUBLIC        TH1
				  D:008BH         PUBLIC        TL1
				  B:0088H.6       PUBLIC        TR1
				  D:00C8H         PUBLIC        T2CON
				  D:00D0H         PUBLIC        PSW
				  -------         PROC          INIT_COM
				  C:0003H         LINE#         12
				  C:0003H         LINE#         13
				  C:0003H         LINE#         14
				  C:0006H         LINE#         15
				  C:0009H         LINE#         16
				  C:000CH         LINE#         17
				  C:000FH         LINE#         18
				  C:0012H         LINE#         19
				  C:0014H         LINE#         20
				  -------         ENDPROC       INIT_COM
				  -------         PROC          MAIN
				  -------         DO            
				  D:0007H         SYMBOL        dat
				  -------         ENDDO         
				  C:0015H         LINE#         26
				  C:0015H         LINE#         27
				  C:0015H         LINE#         29
				  C:0018H         LINE#         30
				  C:0018H         LINE#         31
				  C:0018H         LINE#         32
				  C:001BH         LINE#         33
				  C:001BH         LINE#         34
				  C:001DH         LINE#         35
				  C:001FH         LINE#         36
				  C:0021H         LINE#         37
				  C:0021H         LINE#         38
				  -------         ENDPROC       MAIN
				  -------         ENDMOD        COM
				
				Program Size: data=9.0 xdata=0 code=47
				LINK/LOCATE RUN COMPLETE.  0 WARNING(S),  0 ERROR(S)
							

相关资源