单片机接收主机的数据,然后将数据传送到P0口, 并传回给主机 单片机是8951

源代码在线查看: com.m51

软件大小: 12 K
上传用户: renyumeng
关键词: 8951 单片机 主机 P0口
下载地址: 免注册下载 普通下载 VIP

相关代码

				BL51 BANKED LINKER/LOCATER V6.00                                                        04/29/2009  22:22:07  PAGE 1
				
				
				BL51 BANKED LINKER/LOCATER V6.00, 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"
				            DATA    0008H     0003H     UNIT         ?DT?COM
				            IDATA   000BH     0001H     UNIT         ?STACK
				
				            * * * * * * *   C O D E   M E M O R Y   * * * * * * *
				            CODE    0000H     0003H     ABSOLUTE     
				            CODE    0003H     003BH     UNIT         ?PR?MAIN?COM
				            CODE    003EH     0014H     UNIT         ?PR?SEND_STR?COM
				            CODE    0052H     0012H     UNIT         ?PR?_DELAYMS?COM
				            CODE    0064H     000FH     UNIT         ?PR?SCAN_KEY?COM
				            CODE    0073H     000EH     UNIT         ?CO?COM
				            CODE    0081H     000CH     UNIT         ?C_C51STARTUP
				            CODE    008DH     0009H     UNIT         ?PR?PROC_KEY?COM
				            CODE    0096H     0008H     UNIT         ?PR?_SEND_CHAR?COM
				
				
				
				OVERLAY MAP OF MODULE:   COM (COM)
				
				
				SEGMENT
				  +--> CALLED SEGMENT
				---------------------
				?C_C51STARTUP
				  +--> ?PR?MAIN?COM
				
				?PR?MAIN?COM
				  +--> ?PR?SCAN_KEY?COM
				  +--> ?PR?_DELAYMS?COM
				  +--> ?PR?PROC_KEY?COM
				  +--> ?PR?_SEND_CHAR?COM
				
				?PR?PROC_KEY?COM
				  +--> ?PR?SEND_STR?COM
				
				?PR?SEND_STR?COM
				  +--> ?CO?COM
				
				
				BL51 BANKED LINKER/LOCATER V6.00                                                      04/29/2009  22:22:07  PAGE 2
				
				
				
				SYMBOL TABLE OF MODULE:  COM (COM)
				
				  VALUE           TYPE          NAME
				  ----------------------------------
				
				  -------         MODULE        COM
				  C:0000H         SYMBOL        _ICE_DUMMY_
				  D:0080H         PUBLIC        P0
				  D:0090H         PUBLIC        P1
				  C:0096H         PUBLIC        _send_char
				  D:00A8H         PUBLIC        IE
				  B:0098H.0       PUBLIC        RI
				  B:0098H.1       PUBLIC        TI
				  D:0008H         PUBLIC        key_s
				  D:0009H         PUBLIC        key_v
				  C:0003H         PUBLIC        main
				  D:0099H         PUBLIC        SBUF
				  D:0087H         PUBLIC        PCON
				  D:0098H         PUBLIC        SCON
				  D:0089H         PUBLIC        TMOD
				  D:008DH         PUBLIC        TH1
				  D:008BH         PUBLIC        TL1
				  C:0064H         PUBLIC        scan_key
				  D:000AH         PUBLIC        tmp
				  C:0052H         PUBLIC        _delayms
				  B:0088H.6       PUBLIC        TR1
				  C:0073H         PUBLIC        str
				  C:008DH         PUBLIC        proc_key
				  C:003EH         PUBLIC        send_str
				  B:0090H.7       PUBLIC        K1
				  -------         PROC          MAIN
				  C:0003H         LINE#         23
				  C:0003H         LINE#         24
				  C:0003H         LINE#         25
				  C:0006H         LINE#         26
				  C:0009H         LINE#         27
				  C:000CH         LINE#         29
				  C:000FH         LINE#         30
				  C:0012H         LINE#         32
				  C:0014H         LINE#         33
				  C:0017H         LINE#         35
				  C:0017H         LINE#         36
				  C:0017H         LINE#         37
				  C:001CH         LINE#         38
				  C:001CH         LINE#         39
				  C:0021H         LINE#         40
				  C:0026H         LINE#         41
				  C:0026H         LINE#         42
				  C:0029H         LINE#         43
				  C:002CH         LINE#         44
				  C:002CH         LINE#         45
				  C:002CH         LINE#         46
				  C:002FH         LINE#         47
				  C:002FH         LINE#         48
				  C:0031H         LINE#         49
				  C:0034H         LINE#         50
				BL51 BANKED LINKER/LOCATER V6.00                                                      04/29/2009  22:22:07  PAGE 3
				
				
				  C:0037H         LINE#         51
				  C:003CH         LINE#         52
				  C:003CH         LINE#         53
				  -------         ENDPROC       MAIN
				  -------         PROC          SCAN_KEY
				  C:0064H         LINE#         56
				  C:0064H         LINE#         58
				  C:0064H         LINE#         59
				  C:0067H         LINE#         60
				  C:006CH         LINE#         61
				  C:0072H         LINE#         62
				  -------         ENDPROC       SCAN_KEY
				  -------         PROC          PROC_KEY
				  C:008DH         LINE#         64
				  C:008DH         LINE#         66
				  C:008DH         LINE#         67
				  C:0092H         LINE#         68
				  C:0092H         LINE#         69
				  C:0095H         LINE#         70
				  C:0095H         LINE#         71
				  -------         ENDPROC       PROC_KEY
				  -------         PROC          _SEND_CHAR
				  D:0007H         SYMBOL        txd
				  C:0096H         LINE#         73
				  C:0096H         LINE#         75
				  C:0096H         LINE#         76
				  C:0098H         LINE#         77
				  C:009BH         LINE#         78
				  C:009DH         LINE#         79
				  -------         ENDPROC       _SEND_CHAR
				  -------         PROC          SEND_STR
				  -------         DO            
				  D:0007H         SYMBOL        i
				  -------         ENDDO         
				  C:003EH         LINE#         81
				  C:003EH         LINE#         83
				  C:003EH         LINE#         84
				  C:0040H         LINE#         85
				  C:0047H         LINE#         86
				  C:0047H         LINE#         87
				  C:0049H         LINE#         88
				  C:004CH         LINE#         89
				  C:004EH         LINE#         90
				  C:004FH         LINE#         91
				  C:0051H         LINE#         92
				  -------         ENDPROC       SEND_STR
				  -------         PROC          _DELAYMS
				  D:0007H         SYMBOL        ms
				  -------         DO            
				  D:0006H         SYMBOL        i
				  -------         ENDDO         
				  C:0052H         LINE#         94
				  C:0052H         LINE#         96
				  C:0052H         LINE#         98
				  C:0058H         LINE#         99
				  C:0058H         LINE#         100
				  C:0063H         LINE#         101
				BL51 BANKED LINKER/LOCATER V6.00                                                      04/29/2009  22:22:07  PAGE 4
				
				
				  C:0063H         LINE#         102
				  -------         ENDPROC       _DELAYMS
				  -------         ENDMOD        COM
				
				Program Size: data=12.0 xdata=0 code=158
				LINK/LOCATE RUN COMPLETE.  0 WARNING(S),  0 ERROR(S)
							

相关资源