HardwareDriver/c51/relay_controller/relay.M51

459 lines
17 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 1
BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY:
D:\PROGRAMS\C51\C51\BIN\BL51.EXE STARTUP.obj, main.obj TO relay RAMSIZE (256)
MEMORY MODEL: SMALL
INPUT MODULES INCLUDED:
STARTUP.obj (?C_STARTUP)
main.obj (MAIN)
D:\PROGRAMS\C51\C51\LIB\C51S.LIB (?C_INIT)
D:\PROGRAMS\C51\C51\LIB\C51S.LIB (?C?CLDPTR)
D:\PROGRAMS\C51\C51\LIB\C51S.LIB (?C?MEMSET)
LINK MAP OF MODULE: relay (?C_STARTUP)
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?_SENDWIFI?MAIN
DATA 000BH 0003H UNIT _DATA_GROUP_
000EH 0012H *** GAP ***
BIT 0020H.0 0000H.6 UNIT ?BI?MAIN
BIT 0020H.6 0000H.2 UNIT _BIT_GROUP_
DATA 0021H 0033H UNIT ?DT?MAIN
IDATA 0054H 0001H UNIT ?STACK
* * * * * * * C O D E M E M O R Y * * * * * * *
CODE 0000H 0003H ABSOLUTE
0003H 0020H *** GAP ***
CODE 0023H 0003H ABSOLUTE
0026H 07DAH *** GAP ***
CODE 0800H 00DBH UNIT ?PR?UART_ISR?MAIN
CODE 08DBH 008CH UNIT ?C_C51STARTUP
CODE 0967H 0063H UNIT ?PR?MAIN?MAIN
CODE 09CAH 0058H UNIT ?CO?MAIN
CODE 0A22H 0045H UNIT ?C?LIB_CODE
CODE 0A67H 0034H UNIT ?C_INITSEG
CODE 0A9BH 002CH UNIT ?PR?_SENDSTRING?MAIN
CODE 0AC7H 0029H UNIT ?PR?CALLBACKUART?MAIN
CODE 0AF0H 001DH UNIT ?PR?UART_INIT?MAIN
CODE 0B0DH 001BH UNIT ?PR?_SENDWIFI?MAIN
CODE 0B28H 000FH UNIT ?PR?DELAY3020MS?MAIN
CODE 0B37H 000FH UNIT ?PR?DELAY500MS?MAIN
CODE 0B46H 000DH UNIT ?PR?_SENDDATA?MAIN
CODE 0B53H 0009H UNIT ?PR?DELAY1020US?MAIN
CODE 0B5CH 0007H UNIT ?PR?P1_UART?MAIN
CODE 0B63H 0004H UNIT ?PR?P3_UART?MAIN
OVERLAY MAP OF MODULE: relay (?C_STARTUP)
BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 2
SEGMENT BIT_GROUP DATA_GROUP
+--> CALLED SEGMENT START LENGTH START LENGTH
------------------------------------------------------------------
?C_C51STARTUP ----- ----- ----- -----
+--> ?PR?MAIN?MAIN
+--> ?C_INITSEG
?PR?MAIN?MAIN 0020H.6 0000H.2 ----- -----
+--> ?PR?DELAY3020MS?MAIN
+--> ?PR?UART_INIT?MAIN
+--> ?PR?P1_UART?MAIN
+--> ?PR?DELAY1020US?MAIN
+--> ?CO?MAIN
+--> ?PR?_SENDSTRING?MAIN
+--> ?PR?CALLBACKUART?MAIN
?PR?_SENDSTRING?MAIN ----- ----- 000BH 0003H
+--> ?PR?DELAY1020US?MAIN
+--> ?PR?_SENDDATA?MAIN
?PR?CALLBACKUART?MAIN ----- ----- ----- -----
+--> ?PR?P3_UART?MAIN
+--> ?PR?_SENDSTRING?MAIN
+--> ?PR?P1_UART?MAIN
*** NEW ROOT ***************************************************
?PR?UART_ISR?MAIN ----- ----- ----- -----
+--> ?CO?MAIN
SYMBOL TABLE OF MODULE: relay (?C_STARTUP)
VALUE TYPE NAME
----------------------------------
------- MODULE ?C_STARTUP
C:08DBH SEGMENT ?C_C51STARTUP
I:0054H SEGMENT ?STACK
C:0000H PUBLIC ?C_STARTUP
D:00E0H SYMBOL ACC
D:00F0H SYMBOL B
D:0083H SYMBOL DPH
D:0082H SYMBOL DPL
N:0000H SYMBOL IBPSTACK
N:0100H SYMBOL IBPSTACKTOP
N:0080H SYMBOL IDATALEN
C:08DEH SYMBOL IDATALOOP
N:0000H SYMBOL PBPSTACK
N:0100H SYMBOL PBPSTACKTOP
N:0000H SYMBOL PDATALEN
N:0000H SYMBOL PDATASTART
N:0000H SYMBOL PPAGE
N:0000H SYMBOL PPAGEENABLE
D:00A0H SYMBOL PPAGE_SFR
D:0081H SYMBOL SP
BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 3
C:08DBH SYMBOL STARTUP1
N:0000H SYMBOL XBPSTACK
N:0000H SYMBOL XBPSTACKTOP
N:0000H SYMBOL XDATALEN
N:0000H SYMBOL XDATASTART
C:0000H LINE# 126
C:08DBH LINE# 133
C:08DDH LINE# 134
C:08DEH LINE# 135
C:08DFH LINE# 136
C:08E1H LINE# 185
C:08E4H LINE# 196
------- ENDMOD ?C_STARTUP
------- MODULE MAIN
C:0000H SYMBOL _ICE_DUMMY_
C:0A13H PUBLIC AT_SendData
D:0092H PUBLIC P1M0
C:0B5CH PUBLIC P1_Uart
D:0091H PUBLIC P1M1
D:0080H PUBLIC P0
D:0090H PUBLIC P1
C:0B63H PUBLIC P3_Uart
D:00A0H PUBLIC P2
D:00B0H PUBLIC P3
D:00C0H PUBLIC P4
B:0020H.2 PUBLIC recv_flag_global
D:00C8H PUBLIC P5
B:00A8H.7 PUBLIC EA
C:0A9BH PUBLIC _SendString
C:0B46H PUBLIC _SendData
D:00A8H PUBLIC IE
C:0AF0H PUBLIC Uart_Init
B:00A8H.4 PUBLIC ES
D:00B8H PUBLIC IP
C:0B28H PUBLIC Delay3020ms
D:0026H PUBLIC index
B:0098H.0 PUBLIC RI
B:0098H.1 PUBLIC TI
C:0B0DH PUBLIC _SendWifi
C:0B53H PUBLIC Delay1020us
D:00D8H PUBLIC CCON
C:0967H PUBLIC main
C:0800H PUBLIC Uart_Isr
D:0099H PUBLIC SBUF
D:0087H PUBLIC PCON
D:0027H PUBLIC gSendbuf
D:0098H PUBLIC SCON
D:0089H PUBLIC TMOD
D:0088H PUBLIC TCON
B:0020H.3 PUBLIC connected_flag
D:008EH PUBLIC AUXR
C:09EAH PUBLIC AT_Connect
B:0020H.4 PUBLIC busy
D:00E0H PUBLIC ACC
B:00A8H.3 PUBLIC ET1
D:008DH PUBLIC TH1
BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 4
D:0035H PUBLIC index_tmp
C:0AC7H PUBLIC callbackUart
D:0036H PUBLIC recv_buf
D:008BH PUBLIC TL1
B:0088H.6 PUBLIC TR1
B:0098H.4 PUBLIC REN
C:0B37H PUBLIC Delay500ms
C:09CCH PUBLIC AT_SetUp
D:00A2H PUBLIC AUXR1
B:0020H.5 PUBLIC overflow_flag
D:00D0H PUBLIC PSW
------- PROC P1_UART
C:0B5CH LINE# 49
C:0B5CH LINE# 50
C:0B5FH LINE# 51
C:0B62H LINE# 52
------- ENDPROC P1_UART
------- PROC P3_UART
C:0B63H LINE# 53
C:0B63H LINE# 54
C:0B66H LINE# 55
------- ENDPROC P3_UART
------- PROC DELAY3020MS
------- DO
D:0007H SYMBOL i
D:0006H SYMBOL j
D:0005H SYMBOL k
------- ENDDO
C:0B28H LINE# 56
C:0B28H LINE# 57
C:0B28H LINE# 60
C:0B29H LINE# 61
C:0B2AH LINE# 62
C:0B2CH LINE# 63
C:0B2EH LINE# 64
C:0B30H LINE# 66
C:0B30H LINE# 68
C:0B30H LINE# 69
C:0B32H LINE# 70
C:0B34H LINE# 71
C:0B36H LINE# 72
------- ENDPROC DELAY3020MS
------- PROC DELAY500MS
------- DO
D:0007H SYMBOL i
D:0006H SYMBOL j
D:0005H SYMBOL k
------- ENDDO
C:0B37H LINE# 73
C:0B37H LINE# 74
C:0B37H LINE# 77
C:0B38H LINE# 78
C:0B39H LINE# 79
C:0B3BH LINE# 80
C:0B3DH LINE# 81
C:0B3FH LINE# 83
C:0B3FH LINE# 85
BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 5
C:0B3FH LINE# 86
C:0B41H LINE# 87
C:0B43H LINE# 88
C:0B45H LINE# 89
------- ENDPROC DELAY500MS
------- PROC DELAY1020US
------- DO
D:0007H SYMBOL i
D:0006H SYMBOL j
------- ENDDO
C:0B53H LINE# 91
C:0B53H LINE# 92
C:0B53H LINE# 95
C:0B55H LINE# 96
C:0B57H LINE# 98
C:0B57H LINE# 99
C:0B59H LINE# 100
C:0B5BH LINE# 101
------- ENDPROC DELAY1020US
------- PROC UART_INIT
C:0AF0H LINE# 102
C:0AF0H LINE# 103
C:0AF3H LINE# 104
C:0AF6H LINE# 105
C:0AF9H LINE# 106
C:0AFCH LINE# 107
C:0AFFH LINE# 108
C:0B02H LINE# 109
C:0B05H LINE# 110
C:0B08H LINE# 111
C:0B0AH LINE# 112
C:0B0CH LINE# 113
------- ENDPROC UART_INIT
------- PROC CALLBACKUART
C:0AC7H LINE# 115
C:0AC7H LINE# 116
C:0ACDH LINE# 117
C:0AD0H LINE# 118
C:0AD9H LINE# 119
C:0AE8H LINE# 120
C:0AEAH LINE# 121
C:0AECH LINE# 122
C:0AEFH LINE# 123
C:0AEFH LINE# 124
------- ENDPROC CALLBACKUART
------- PROC MAIN
------- DO
D:0007H SYMBOL i
B:0020H.6 SYMBOL flag1
B:0020H.7 SYMBOL flag2
------- ENDDO
C:0967H LINE# 125
C:0967H LINE# 126
C:0967H LINE# 127
C:0969H LINE# 128
C:096BH LINE# 129
C:096DH LINE# 130
BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 6
C:0970H LINE# 132
C:0973H LINE# 133
C:0976H LINE# 134
C:0979H LINE# 136
C:097BH LINE# 137
C:097EH LINE# 140
C:0980H LINE# 141
C:0982H LINE# 142
C:0984H LINE# 143
C:0987H LINE# 144
C:098AH LINE# 147
C:098DH LINE# 149
C:098EH LINE# 150
C:0997H LINE# 151
C:099BH LINE# 152
C:099BH LINE# 153
C:099EH LINE# 154
C:09A0H LINE# 155
C:09A9H LINE# 156
C:09ACH LINE# 158
C:09ACH LINE# 159
C:09AFH LINE# 160
C:09B5H LINE# 161
C:09B7H LINE# 162
C:09C0H LINE# 163
C:09C3H LINE# 164
C:09C5H LINE# 166
C:09C5H LINE# 167
C:09C8H LINE# 168
------- ENDPROC MAIN
------- PROC UART_ISR
------- DO
D:0021H SYMBOL last_byte
D:0022H SYMBOL sec_last_byte
D:0023H SYMBOL trd_last_byte
D:0024H SYMBOL four_last_byte
B:0020H.0 SYMBOL flag_recv
B:0020H.1 SYMBOL flag_need_read
D:0025H SYMBOL recv_cnt
------- ENDDO
C:0800H LINE# 178
C:0809H LINE# 188
C:080FH LINE# 189
C:080FH LINE# 190
C:0811H LINE# 191
C:0825H LINE# 194
C:0825H LINE# 195
C:082CH LINE# 196
C:082EH LINE# 197
C:0831H LINE# 198
C:0834H LINE# 199
C:0837H LINE# 200
C:083AH LINE# 201
C:083DH LINE# 203
C:083DH LINE# 204
C:0851H LINE# 205
C:0851H LINE# 206
BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 7
C:0853H LINE# 207
C:0856H LINE# 208
C:0856H LINE# 211
C:0859H LINE# 212
C:0862H LINE# 213
C:0864H LINE# 214
C:0866H LINE# 215
C:086DH LINE# 216
C:086FH LINE# 217
C:0872H LINE# 218
C:0875H LINE# 219
C:0878H LINE# 220
C:087BH LINE# 221
C:087EH LINE# 222
C:087EH LINE# 223
C:087EH LINE# 225
C:0880H LINE# 226
C:0887H LINE# 227
C:088AH LINE# 228
C:0893H LINE# 229
C:089BH LINE# 230
C:089BH LINE# 231
C:08A4H LINE# 232
C:08ACH LINE# 233
C:08ACH LINE# 234
C:08B5H LINE# 235
C:08BDH LINE# 236
C:08BDH LINE# 238
C:08BFH LINE# 239
C:08C8H LINE# 240
C:08CBH LINE# 241
C:08CDH LINE# 242
C:08CDH LINE# 243
C:08CDH LINE# 244
C:08D0H LINE# 245
C:08D0H LINE# 246
C:08D2H LINE# 247
C:08D4H LINE# 248
C:08D4H LINE# 249
------- ENDPROC UART_ISR
------- PROC _SENDDATA
D:0007H SYMBOL dat
C:0B46H LINE# 256
C:0B46H LINE# 257
C:0B46H LINE# 258
C:0B4AH LINE# 259
C:0B4BH LINE# 261
C:0B4DH LINE# 262
C:0B4FH LINE# 263
C:0B52H LINE# 264
------- ENDPROC _SENDDATA
------- PROC _SENDSTRING
D:000BH SYMBOL s
C:0A9BH LINE# 271
C:0AA1H LINE# 272
C:0AA1H LINE# 273
C:0AACH LINE# 274
BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 8
C:0AACH LINE# 275
C:0AAFH LINE# 276
C:0AC4H LINE# 277
C:0AC6H LINE# 278
------- ENDPROC _SENDSTRING
------- PROC _SENDWIFI
D:0008H SYMBOL dat
C:0B0DH LINE# 279
C:0B13H LINE# 280
C:0B1CH LINE# 281
C:0B1FH LINE# 282
------- ENDPROC _SENDWIFI
------- ENDMOD MAIN
------- MODULE ?C?CLDPTR
C:0A22H PUBLIC ?C?CLDPTR
------- ENDMOD ?C?CLDPTR
------- MODULE ?C?MEMSET
C:0A3BH PUBLIC ?C?MEMSET
------- ENDMOD ?C?MEMSET
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?DELAY500MS?MAIN
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?_SENDWIFI?MAIN
******************************************************************************
* RESTRICTED VERSION WITH 0800H BYTE CODE SIZE LIMIT; USED: 02A7H BYTE (33%) *
******************************************************************************
Program Size: data=67.0 xdata=0 code=877
LINK/LOCATE RUN COMPLETE. 2 WARNING(S), 0 ERROR(S)