BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 1 BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY: D:\KEIL_V5\C51\BIN\BL51.EXE main.obj, lcd.obj, ds1302.obj, i2c.obj, DS18B20.obj TO pro MEMORY MODEL: SMALL WITH FLOATING POINT ARITHMETIC INPUT MODULES INCLUDED: main.obj (MAIN) lcd.obj (LCD) ds1302.obj (DS1302) i2c.obj (I2C) DS18B20.obj (DS18B20) D:\KEIL_V5\C51\LIB\C51FPS.LIB (?C?FPADD) D:\KEIL_V5\C51\LIB\C51FPS.LIB (?C?FPMUL) D:\KEIL_V5\C51\LIB\C51FPS.LIB (?C?FPDIV) D:\KEIL_V5\C51\LIB\C51FPS.LIB (?C?FPCMP) D:\KEIL_V5\C51\LIB\C51FPS.LIB (?C?FCAST) D:\KEIL_V5\C51\LIB\C51FPS.LIB (?C?CASTF) D:\KEIL_V5\C51\LIB\C51FPS.LIB (PRINTF) D:\KEIL_V5\C51\LIB\C51FPS.LIB (?C?FPGETOPN) D:\KEIL_V5\C51\LIB\C51FPS.LIB (?C?FPROUND) D:\KEIL_V5\C51\LIB\C51FPS.LIB (?C?FPCONVERT) D:\KEIL_V5\C51\LIB\C51FPS.LIB (?C?FTNPWR) D:\KEIL_V5\C51\LIB\C51S.LIB (?C_STARTUP) D:\KEIL_V5\C51\LIB\C51S.LIB (?C?CLDPTR) D:\KEIL_V5\C51\LIB\C51S.LIB (?C?CLDOPTR) D:\KEIL_V5\C51\LIB\C51S.LIB (?C?CSTPTR) D:\KEIL_V5\C51\LIB\C51S.LIB (?C?UIDIV) D:\KEIL_V5\C51\LIB\C51S.LIB (?C?SIDIV) D:\KEIL_V5\C51\LIB\C51S.LIB (?C?LNEG) D:\KEIL_V5\C51\LIB\C51S.LIB (?C?PLDIIDATA) D:\KEIL_V5\C51\LIB\C51S.LIB (?C?CCASE) D:\KEIL_V5\C51\LIB\C51S.LIB (PUTCHAR) D:\KEIL_V5\C51\LIB\C51S.LIB (?C_INIT) LINK MAP OF MODULE: pro (MAIN) 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 0007H UNIT ?DT?DS1302 000FH 0011H *** GAP *** BIT 0020H.0 0001H.1 UNIT _BIT_GROUP_ 0021H.1 0000H.7 *** GAP *** DATA 0022H 0028H UNIT _DATA_GROUP_ DATA 004AH 0026H UNIT ?DT?MAIN IDATA 0070H 0001H UNIT ?STACK * * * * * * * C O D E M E M O R Y * * * * * * * CODE 0000H 0003H ABSOLUTE CODE 0003H 069FH UNIT ?C?LIB_CODE CODE 06A2H 046FH UNIT ?PR?PRINTF?PRINTF CODE 0B11H 0283H UNIT ?PR?LCDDISPLAY?MAIN BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 2 CODE 0D94H 027AH UNIT ?PR?DETECTION?MAIN CODE 100EH 00BEH UNIT ?PR?DISPOSE?MAIN CODE 10CCH 0099H UNIT ?PR?GETTIMERESULT?MAIN CODE 1165H 008CH UNIT ?C_C51STARTUP CODE 11F1H 005AH UNIT ?PR?MAIN?MAIN CODE 124BH 004FH UNIT ?PR?TEMPER_CHANGE?DS18B20 CODE 129AH 004AH UNIT ?PR?_DS1302READ?DS1302 CODE 12E4H 0042H UNIT ?PR?_DS18B20_WRITEBYTE?DS18B20 CODE 1326H 0041H UNIT ?PR?_I2CSENDBYTE?I2C CODE 1367H 003EH UNIT ?PR?DS18B20_READBYTE?DS18B20 CODE 13A5H 0035H UNIT ?PR?_DS1302WRITE?DS1302 CODE 13DAH 002AH UNIT ?PR?_LCD1602_DELAY1MS?LCD CODE 1404H 0029H UNIT ?PR?MULTIPLE_READ_BH1750?MAIN CODE 142DH 0027H UNIT ?PR?PUTCHAR?PUTCHAR CODE 1454H 0026H UNIT ?PR?I2CREADBYTE?I2C CODE 147AH 0025H UNIT ?PR?DS18B20_INIT?DS18B20 CODE 149FH 0022H UNIT ?PR?_AT24C02READ?I2C CODE 14C1H 0021H UNIT ?PR?DS18B20_READTEMP?DS18B20 CODE 14E2H 0020H UNIT ?PR?_DELAY_NMS?MAIN CODE 1502H 001EH UNIT ?PR?BH1750_RECVBYTE?MAIN CODE 1520H 001EH UNIT ?PR?_DELAY_MS?DS18B20 CODE 153EH 0019H UNIT ?PR?_BH1750_SENDBYTE?MAIN CODE 1557H 0019H UNIT ?PR?LCDINIT?LCD CODE 1570H 0019H UNIT ?PR?_AT24C02WRITE?I2C CODE 1589H 0018H UNIT ?PR?_BLUETOOTH_SET?MAIN CODE 15A1H 0016H UNIT ?PR?UART_INIT?MAIN CODE 15B7H 0016H UNIT ?PR?DS1302READTIME?DS1302 CODE 15CDH 0014H UNIT ?PR?DS1302INIT?DS1302 CODE 15E1H 0012H UNIT ?PR?_SINGLE_WRITE_BH1750?MAIN CODE 15F3H 0011H UNIT ?PR?DELAY5US?MAIN CODE 1604H 000FH UNIT ?PR?DELAY5MS?MAIN CODE 1613H 000FH UNIT ?PR?BH1750_START?MAIN CODE 1622H 000FH UNIT ?PR?I2CSTART?I2C CODE 1631H 000EH UNIT ?PR?BH1750_SENDACK?MAIN CODE 163FH 000EH UNIT ?PR?_SEND_UART?MAIN CODE 164DH 000EH UNIT ?C_INITSEG CODE 165BH 000EH UNIT ?CO?DS1302 CODE 1669H 000EH UNIT ?PR?DELAY10US?I2C CODE 1677H 000DH UNIT ?PR?BH1750_RECVACK?MAIN CODE 1684H 000DH UNIT ?PR?DELAY10MS?MAIN CODE 1691H 000CH UNIT ?PR?BH1750_STOP?MAIN CODE 169DH 000AH UNIT ?PR?_LCDWRITECOM?LCD CODE 16A7H 000AH UNIT ?PR?_LCDWRITEDATA?LCD CODE 16B1H 000AH UNIT ?PR?I2CSTOP?I2C CODE 16BBH 0007H UNIT ?PR?_US_DELAY?MAIN CODE 16C2H 0005H UNIT ?PR?INIT_BH1750?MAIN CODE 16C7H 0005H UNIT ?CO?MAIN OVERLAY MAP OF MODULE: pro (MAIN) SEGMENT BIT_GROUP DATA_GROUP +--> CALLED SEGMENT START LENGTH START LENGTH -------------------------------------------------------------------------- ?C_C51STARTUP ----- ----- ----- ----- BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 3 +--> ?PR?MAIN?MAIN +--> ?C_INITSEG ?PR?MAIN?MAIN ----- ----- 0022H 000CH +--> ?PR?DS1302INIT?DS1302 +--> ?PR?UART_INIT?MAIN +--> ?PR?LCDINIT?LCD +--> ?PR?DS1302READTIME?DS1302 +--> ?PR?LCDDISPLAY?MAIN +--> ?PR?DETECTION?MAIN +--> ?PR?DISPOSE?MAIN +--> ?CO?MAIN +--> ?PR?PRINTF?PRINTF +--> ?PR?_BLUETOOTH_SET?MAIN ?PR?DS1302INIT?DS1302 ----- ----- ----- ----- +--> ?PR?_DS1302WRITE?DS1302 ?PR?LCDINIT?LCD ----- ----- ----- ----- +--> ?PR?_LCDWRITECOM?LCD ?PR?_LCDWRITECOM?LCD ----- ----- ----- ----- +--> ?PR?_LCD1602_DELAY1MS?LCD ?PR?DS1302READTIME?DS1302 ----- ----- ----- ----- +--> ?CO?DS1302 +--> ?PR?_DS1302READ?DS1302 ?PR?LCDDISPLAY?MAIN ----- ----- 002EH 0002H +--> ?PR?_LCDWRITECOM?LCD +--> ?PR?_LCDWRITEDATA?LCD ?PR?_LCDWRITEDATA?LCD ----- ----- ----- ----- +--> ?PR?_LCD1602_DELAY1MS?LCD ?PR?DETECTION?MAIN ----- ----- 002EH 0002H +--> ?PR?_SINGLE_WRITE_BH1750?MAIN +--> ?PR?_DELAY_NMS?MAIN +--> ?PR?MULTIPLE_READ_BH1750?MAIN +--> ?PR?TEMPER_CHANGE?DS18B20 +--> ?PR?DELAY10MS?MAIN +--> ?PR?_LCDWRITECOM?LCD ?PR?_SINGLE_WRITE_BH1750?MAIN ----- ----- ----- ----- +--> ?PR?BH1750_START?MAIN +--> ?PR?_BH1750_SENDBYTE?MAIN +--> ?PR?BH1750_STOP?MAIN ?PR?BH1750_START?MAIN ----- ----- ----- ----- +--> ?PR?DELAY5US?MAIN ?PR?_BH1750_SENDBYTE?MAIN ----- ----- ----- ----- +--> ?PR?DELAY5US?MAIN +--> ?PR?BH1750_RECVACK?MAIN ?PR?BH1750_RECVACK?MAIN ----- ----- ----- ----- +--> ?PR?DELAY5US?MAIN BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 4 ?PR?BH1750_STOP?MAIN ----- ----- ----- ----- +--> ?PR?DELAY5US?MAIN ?PR?MULTIPLE_READ_BH1750?MAIN ----- ----- ----- ----- +--> ?PR?BH1750_START?MAIN +--> ?PR?_BH1750_SENDBYTE?MAIN +--> ?PR?BH1750_RECVBYTE?MAIN +--> ?PR?BH1750_SENDACK?MAIN +--> ?PR?BH1750_STOP?MAIN +--> ?PR?DELAY5MS?MAIN ?PR?BH1750_RECVBYTE?MAIN ----- ----- ----- ----- +--> ?PR?DELAY5US?MAIN ?PR?BH1750_SENDACK?MAIN 0020H.0 0000H.1 ----- ----- +--> ?PR?DELAY5US?MAIN ?PR?TEMPER_CHANGE?DS18B20 ----- ----- 0030H 0004H +--> ?PR?DS18B20_READTEMP?DS18B20 ?PR?DS18B20_READTEMP?DS18B20 ----- ----- 0034H 0001H +--> ?PR?_DS18B20_WRITEBYTE?DS18B20 +--> ?PR?DS18B20_READBYTE?DS18B20 ?PR?_DS18B20_WRITEBYTE?DS18B20 ----- ----- 0035H 0002H +--> ?PR?DS18B20_INIT?DS18B20 +--> ?PR?_DELAY_MS?DS18B20 ?PR?DS18B20_INIT?DS18B20 ----- ----- ----- ----- +--> ?PR?_DELAY_MS?DS18B20 ?PR?DISPOSE?MAIN ----- ----- ----- ----- +--> ?PR?GETTIMERESULT?MAIN ?PR?GETTIMERESULT?MAIN ----- ----- 002EH 0006H ?PR?PRINTF?PRINTF 0020H.0 0001H.1 002EH 001CH +--> ?PR?PUTCHAR?PUTCHAR ?PR?_BLUETOOTH_SET?MAIN ----- ----- ----- ----- +--> ?PR?_SEND_UART?MAIN +--> ?PR?_US_DELAY?MAIN SYMBOL TABLE OF MODULE: pro (MAIN) VALUE TYPE NAME ---------------------------------- ------- MODULE MAIN C:0000H SYMBOL _ICE_DUMMY_ B:00A0H.7 PUBLIC key4 D:0090H PUBLIC P1 D:00A0H PUBLIC P2 D:00B0H PUBLIC P3 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 5 B:00A0H.5 PUBLIC LED0 B:00A8H.7 PUBLIC EA B:00A0H.6 PUBLIC LED1 B:00A0H.1 PUBLIC LED2 C:1604H PUBLIC Delay5ms B:00A0H.4 PUBLIC LED3 C:1404H PUBLIC Multiple_read_BH1750 B:0090H.0 PUBLIC SDA1 B:00A0H.3 PUBLIC LED4 C:163FH PUBLIC _Send_Uart C:15E1H PUBLIC _Single_Write_BH1750 C:15F3H PUBLIC Delay5us B:0090H.1 PUBLIC SCL1 C:15A1H PUBLIC Uart_Init C:1631H PUBLIC BH1750_SendACK B:00B0H.7 PUBLIC IN B:00A8H.4 PUBLIC ES C:1677H PUBLIC BH1750_RecvACK B:00D0H.7 PUBLIC CY B:0098H.1 PUBLIC TI C:0D94H PUBLIC Detection C:11F1H PUBLIC main D:0099H PUBLIC SBUF D:0087H PUBLIC PCON D:0098H PUBLIC SCON C:1684H PUBLIC Delay10ms D:0089H PUBLIC TMOD D:004AH PUBLIC dis_data C:14E2H PUBLIC _delay_nms C:1589H PUBLIC _Bluetooth_Set C:1613H PUBLIC BH1750_Start D:004CH PUBLIC cut D:008DH PUBLIC TH1 C:16C2H PUBLIC Init_BH1750 D:004EH PUBLIC userInfo D:008BH PUBLIC TL1 C:10CCH PUBLIC getTimeResult B:0088H.6 PUBLIC TR1 C:100EH PUBLIC Dispose C:16BBH PUBLIC _us_delay C:153EH PUBLIC _BH1750_SendByte D:0068H PUBLIC BUF C:1691H PUBLIC BH1750_Stop C:1502H PUBLIC BH1750_RecvByte C:0B11H PUBLIC LcdDisplay B:00B0H.6 PUBLIC OUT B:0090H.2 PUBLIC key1 B:0090H.3 PUBLIC key2 B:00A0H.2 PUBLIC key3 ------- PROC _DELAY_NMS D:0006H SYMBOL k ------- DO D:0004H SYMBOL i D:0002H SYMBOL j ------- ENDDO C:14E2H LINE# 90 C:14E2H LINE# 91 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 6 C:14E2H LINE# 93 C:14ECH LINE# 94 C:14ECH LINE# 95 C:14EFH LINE# 96 C:1501H LINE# 97 ------- ENDPROC _DELAY_NMS ------- PROC DELAY5US C:15F3H LINE# 99 C:15F3H LINE# 100 C:15F3H LINE# 101 C:15F7H LINE# 102 C:15FBH LINE# 103 C:15FFH LINE# 104 C:1603H LINE# 105 ------- ENDPROC DELAY5US ------- PROC DELAY5MS ------- DO D:0006H SYMBOL n ------- ENDDO C:1604H LINE# 107 C:1604H LINE# 108 C:1604H LINE# 109 C:1608H LINE# 111 C:1612H LINE# 112 ------- ENDPROC DELAY5MS ------- PROC BH1750_START C:1613H LINE# 117 C:1613H LINE# 118 C:1613H LINE# 119 C:1615H LINE# 120 C:1617H LINE# 121 C:161AH LINE# 122 C:161CH LINE# 123 C:161FH LINE# 124 C:1621H LINE# 125 ------- ENDPROC BH1750_START ------- PROC BH1750_STOP C:1691H LINE# 130 C:1691H LINE# 131 C:1691H LINE# 132 C:1693H LINE# 133 C:1695H LINE# 134 C:1698H LINE# 135 C:169AH LINE# 136 ------- ENDPROC BH1750_STOP ------- PROC BH1750_SENDACK B:0020H.0 SYMBOL ack C:1631H LINE# 143 C:1631H LINE# 144 C:1631H LINE# 145 C:1635H LINE# 146 C:1637H LINE# 147 C:163AH LINE# 148 C:163CH LINE# 149 ------- ENDPROC BH1750_SENDACK ------- PROC BH1750_RECVACK C:1677H LINE# 155 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 7 C:1677H LINE# 156 C:1677H LINE# 157 C:1679H LINE# 158 C:167CH LINE# 159 C:167EH LINE# 160 C:1680H LINE# 161 C:1683H LINE# 163 C:1683H LINE# 164 ------- ENDPROC BH1750_RECVACK ------- PROC _BH1750_SENDBYTE D:0007H SYMBOL dat ------- DO D:0006H SYMBOL i ------- ENDDO C:153EH LINE# 169 C:153EH LINE# 170 C:153EH LINE# 173 C:1540H LINE# 174 C:1540H LINE# 175 C:1544H LINE# 176 C:1546H LINE# 177 C:1548H LINE# 178 C:154BH LINE# 179 C:154DH LINE# 180 C:1550H LINE# 181 C:1554H LINE# 182 ------- ENDPROC _BH1750_SENDBYTE ------- PROC BH1750_RECVBYTE ------- DO D:0006H SYMBOL i D:0007H SYMBOL dat ------- ENDDO C:1502H LINE# 188 C:1502H LINE# 189 C:1502H LINE# 191 C:1504H LINE# 193 C:1506H LINE# 194 C:1507H LINE# 195 C:1507H LINE# 196 C:150BH LINE# 197 C:150DH LINE# 198 C:1510H LINE# 199 C:1516H LINE# 200 C:1518H LINE# 201 C:151BH LINE# 202 C:151FH LINE# 203 C:151FH LINE# 204 ------- ENDPROC BH1750_RECVBYTE ------- PROC _SINGLE_WRITE_BH1750 D:0005H SYMBOL REG_Address C:15E1H LINE# 208 C:15E3H LINE# 209 C:15E3H LINE# 210 C:15E6H LINE# 211 C:15EBH LINE# 212 C:15F0H LINE# 214 ------- ENDPROC _SINGLE_WRITE_BH1750 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 8 ------- PROC MULTIPLE_READ_BH1750 ------- DO D:0005H SYMBOL i ------- ENDDO C:1404H LINE# 237 C:1404H LINE# 239 C:1404H LINE# 240 C:1407H LINE# 241 C:140CH LINE# 243 C:140EH LINE# 244 C:140EH LINE# 245 C:1417H LINE# 246 C:141AH LINE# 247 C:141AH LINE# 249 C:141CH LINE# 250 C:141EH LINE# 252 C:141EH LINE# 253 C:1423H LINE# 254 C:1423H LINE# 255 C:1427H LINE# 257 C:142AH LINE# 258 ------- ENDPROC MULTIPLE_READ_BH1750 ------- PROC INIT_BH1750 C:16C2H LINE# 263 C:16C2H LINE# 264 C:16C2H LINE# 265 ------- ENDPROC INIT_BH1750 ------- PROC UART_INIT C:15A1H LINE# 270 C:15A1H LINE# 271 C:15A1H LINE# 272 C:15A4H LINE# 273 C:15A7H LINE# 274 C:15AAH LINE# 275 C:15ADH LINE# 276 C:15B0H LINE# 277 C:15B2H LINE# 278 C:15B4H LINE# 279 C:15B6H LINE# 280 ------- ENDPROC UART_INIT ------- PROC _US_DELAY D:0007H SYMBOL t C:16BBH LINE# 282 C:16BBH LINE# 283 C:16BBH LINE# 284 C:16C1H LINE# 285 ------- ENDPROC _US_DELAY ------- PROC _SEND_UART D:0007H SYMBOL value C:163FH LINE# 287 C:163FH LINE# 288 C:163FH LINE# 289 C:1641H LINE# 290 C:1643H LINE# 291 C:1645H LINE# 292 C:1648H LINE# 293 C:164AH LINE# 294 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 9 C:164CH LINE# 295 ------- ENDPROC _SEND_UART ------- PROC _BLUETOOTH_SET D:0001H SYMBOL puf C:1589H LINE# 297 C:1589H LINE# 298 C:1589H LINE# 299 C:158FH LINE# 300 C:158FH LINE# 301 C:1592H LINE# 302 C:1597H LINE# 303 C:159EH LINE# 304 C:15A0H LINE# 305 ------- ENDPROC _BLUETOOTH_SET ------- PROC DETECTION ------- DO D:002EH SYMBOL i ------- ENDDO C:0D94H LINE# 307 C:0D94H LINE# 308 C:0D94H LINE# 309 C:0D99H LINE# 310 C:0D9EH LINE# 311 C:0DA3H LINE# 312 C:0DAAH LINE# 313 C:0DADH LINE# 314 C:0DB3H LINE# 315 C:0DC1H LINE# 316 C:0DDAH LINE# 318 C:0DE1H LINE# 319 C:0DECH LINE# 320 C:0DEFH LINE# 321 C:0DEFH LINE# 322 C:0DF2H LINE# 323 C:0DF5H LINE# 324 C:0DFBH LINE# 325 C:0E08H LINE# 326 C:0E0DH LINE# 327 C:0E0DH LINE# 328 C:0E0DH LINE# 329 C:0E1DH LINE# 330 C:0E20H LINE# 331 C:0E28H LINE# 332 C:0E2AH LINE# 333 C:0E2FH LINE# 334 C:0E2FH LINE# 336 C:0E32H LINE# 337 C:0E32H LINE# 338 C:0E35H LINE# 339 C:0E38H LINE# 340 C:0E3EH LINE# 341 C:0E4BH LINE# 342 C:0E50H LINE# 343 C:0E52H LINE# 344 C:0E5FH LINE# 345 C:0E64H LINE# 346 C:0E69H LINE# 347 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 10 C:0E69H LINE# 348 C:0E6EH LINE# 349 C:0E6EH LINE# 350 C:0E7EH LINE# 351 C:0E81H LINE# 352 C:0E89H LINE# 353 C:0E8BH LINE# 354 C:0E90H LINE# 355 C:0E90H LINE# 357 C:0E93H LINE# 358 C:0E93H LINE# 359 C:0E96H LINE# 360 C:0E99H LINE# 361 C:0EA1H LINE# 362 C:0EB2H LINE# 363 C:0EB2H LINE# 364 C:0EC2H LINE# 365 C:0EC5H LINE# 366 C:0ECDH LINE# 367 C:0ECFH LINE# 368 C:0ED4H LINE# 369 C:0ED4H LINE# 371 C:0ED7H LINE# 372 C:0ED7H LINE# 373 C:0EDAH LINE# 374 C:0EDDH LINE# 375 C:0EE5H LINE# 376 C:0EF3H LINE# 377 C:0EF3H LINE# 378 C:0F03H LINE# 379 C:0F06H LINE# 380 C:0F0EH LINE# 381 C:0F10H LINE# 382 C:0F15H LINE# 383 C:0F15H LINE# 385 C:0F18H LINE# 386 C:0F18H LINE# 387 C:0F1BH LINE# 388 C:0F1EH LINE# 389 C:0F26H LINE# 390 C:0F36H LINE# 391 C:0F36H LINE# 392 C:0F46H LINE# 393 C:0F49H LINE# 394 C:0F51H LINE# 395 C:0F53H LINE# 396 C:0F58H LINE# 397 C:0F58H LINE# 399 C:0F5EH LINE# 400 C:0F5EH LINE# 401 C:0F61H LINE# 402 C:0F67H LINE# 403 C:0F6DH LINE# 404 C:0F75H LINE# 405 C:0F85H LINE# 406 C:0F8FH LINE# 407 C:0F97H LINE# 408 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 11 C:0FA7H LINE# 409 C:0FB1H LINE# 410 C:0FB9H LINE# 411 C:0FC9H LINE# 412 C:0FD3H LINE# 413 C:0FDBH LINE# 414 C:0FEBH LINE# 415 C:0FEBH LINE# 416 C:0FFBH LINE# 417 C:0FFEH LINE# 418 C:1006H LINE# 419 C:1008H LINE# 420 C:100DH LINE# 421 C:100DH LINE# 422 C:100DH LINE# 423 ------- ENDPROC DETECTION ------- PROC GETTIMERESULT ------- DO D:0004H SYMBOL result D:002EH SYMBOL Nowtime ------- ENDDO C:10CCH LINE# 426 C:10CCH LINE# 427 C:10CCH LINE# 428 C:10D0H LINE# 431 C:10E9H LINE# 432 C:1100H LINE# 434 C:1124H LINE# 435 C:1141H LINE# 436 C:1160H LINE# 438 C:1164H LINE# 439 ------- ENDPROC GETTIMERESULT ------- PROC DISPOSE C:100EH LINE# 442 C:100EH LINE# 443 C:100EH LINE# 445 C:1017H LINE# 446 C:1035H LINE# 447 C:1058H LINE# 448 C:1077H LINE# 449 C:1096H LINE# 450 C:10A9H LINE# 453 C:10A9H LINE# 454 C:10A9H LINE# 455 C:10ABH LINE# 456 C:10B1H LINE# 457 C:10B9H LINE# 458 C:10BBH LINE# 459 C:10C3H LINE# 460 C:10C3H LINE# 461 C:10C3H LINE# 462 C:10CBH LINE# 463 ------- ENDPROC DISPOSE ------- PROC MAIN ------- DO D:0022H SYMBOL i D:0024H SYMBOL str BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 12 ------- ENDDO C:11F1H LINE# 465 C:11F1H LINE# 466 C:11F1H LINE# 467 C:11F6H LINE# 469 C:11F9H LINE# 470 C:11FCH LINE# 471 C:11FFH LINE# 473 C:1205H LINE# 474 C:120AH LINE# 475 C:120EH LINE# 477 C:1213H LINE# 478 C:1218H LINE# 479 C:121CH LINE# 481 C:121CH LINE# 482 C:121CH LINE# 483 C:121FH LINE# 484 C:1222H LINE# 485 C:1225H LINE# 486 C:1228H LINE# 487 C:1240H LINE# 488 C:1249H LINE# 489 ------- ENDPROC MAIN ------- PROC LCDDISPLAY ------- DO D:002EH SYMBOL temp_data ------- ENDDO C:0B11H LINE# 492 C:0B11H LINE# 493 C:0B11H LINE# 495 C:0B1CH LINE# 497 C:0B1FH LINE# 498 C:0B2AH LINE# 499 C:0B34H LINE# 500 C:0B39H LINE# 501 C:0B44H LINE# 502 C:0B4EH LINE# 503 C:0B53H LINE# 505 C:0B5EH LINE# 506 C:0B68H LINE# 507 C:0B6DH LINE# 508 C:0B78H LINE# 509 C:0B82H LINE# 510 C:0B87H LINE# 511 C:0B92H LINE# 512 C:0B9CH LINE# 514 C:0BA1H LINE# 515 C:0BABH LINE# 517 C:0BB0H LINE# 518 C:0BBFH LINE# 519 C:0BCAH LINE# 520 C:0BDCH LINE# 521 C:0BEBH LINE# 522 C:0BFDH LINE# 523 C:0C0CH LINE# 524 C:0C1EH LINE# 525 C:0C2DH LINE# 526 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 13 C:0C35H LINE# 527 C:0C3AH LINE# 528 C:0C3FH LINE# 529 C:0C44H LINE# 530 C:0C56H LINE# 531 C:0C68H LINE# 532 C:0C6DH LINE# 534 C:0C72H LINE# 535 C:0C8BH LINE# 536 C:0C8FH LINE# 537 C:0C92H LINE# 538 C:0C95H LINE# 539 C:0CA7H LINE# 540 C:0CB9H LINE# 541 C:0CBEH LINE# 542 C:0CD0H LINE# 543 C:0CE2H LINE# 544 C:0CE7H LINE# 545 C:0CF9H LINE# 546 C:0D0BH LINE# 547 C:0D10H LINE# 549 C:0D18H LINE# 551 C:0D1DH LINE# 552 C:0D2FH LINE# 553 C:0D41H LINE# 554 C:0D46H LINE# 555 C:0D58H LINE# 556 C:0D6AH LINE# 557 C:0D6FH LINE# 558 C:0D81H LINE# 559 C:0D93H LINE# 560 C:0D93H LINE# 561 ------- ENDPROC LCDDISPLAY ------- PROC DELAY10MS ------- DO D:0005H SYMBOL a D:0006H SYMBOL b D:0007H SYMBOL c ------- ENDDO C:1684H LINE# 564 C:1684H LINE# 565 C:1684H LINE# 567 C:1686H LINE# 568 C:1688H LINE# 569 C:1690H LINE# 570 ------- ENDPROC DELAY10MS ------- ENDMOD MAIN ------- MODULE LCD C:0000H SYMBOL _ICE_DUMMY_ D:0080H PUBLIC P0 D:0090H PUBLIC P1 C:16A7H PUBLIC _LcdWriteData B:0090H.6 PUBLIC LCD1602_RS B:0090H.5 PUBLIC LCD1602_RW C:1557H PUBLIC LcdInit B:0090H.4 PUBLIC LCD1602_E BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 14 C:169DH PUBLIC _LcdWriteCom C:13EBH PUBLIC _Lcd1602_Delay1ms ------- PROC L?0015 ------- ENDPROC L?0015 ------- PROC _LCD1602_DELAY1MS D:0006H SYMBOL c ------- DO D:0004H SYMBOL a D:0005H SYMBOL b ------- ENDDO C:13EBH LINE# 11 C:13EBH LINE# 12 C:13EBH LINE# 14 C:13F4H LINE# 15 C:13F4H LINE# 16 C:13F6H LINE# 17 C:13F6H LINE# 18 C:13FAH LINE# 19 C:13FCH LINE# 20 C:1403H LINE# 22 ------- ENDPROC _LCD1602_DELAY1MS ------- PROC _LCDWRITECOM D:0007H SYMBOL com C:169DH LINE# 31 C:169DH LINE# 32 C:169DH LINE# 33 C:169FH LINE# 34 C:16A1H LINE# 35 C:16A1H LINE# 37 C:16A1H LINE# 38 C:16A1H LINE# 40 C:16A1H LINE# 41 C:16A4H LINE# 42 C:16A6H LINE# 43 ------- ENDPROC _LCDWRITECOM ------- PROC _LCDWRITEDATA D:0007H SYMBOL dat C:16A7H LINE# 74 C:16A7H LINE# 75 C:16A7H LINE# 76 C:16A9H LINE# 77 C:16ABH LINE# 78 C:16ABH LINE# 80 C:16ABH LINE# 81 C:16ABH LINE# 83 C:16ABH LINE# 84 C:16AEH LINE# 85 C:16B0H LINE# 86 ------- ENDPROC _LCDWRITEDATA ------- PROC LCDINIT C:1557H LINE# 116 C:1557H LINE# 117 C:1557H LINE# 118 C:155CH LINE# 119 C:1561H LINE# 120 C:1566H LINE# 121 C:156BH LINE# 122 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 15 ------- ENDPROC LCDINIT ------- ENDMOD LCD ------- MODULE DS1302 C:0000H SYMBOL _ICE_DUMMY_ D:00B0H PUBLIC P3 C:13A5H PUBLIC _Ds1302Write C:15B7H PUBLIC Ds1302ReadTime C:15CDH PUBLIC Ds1302Init B:00B0H.5 PUBLIC SCLK D:0008H PUBLIC TIME B:00B0H.4 PUBLIC DSIO C:1662H PUBLIC WRITE_RTC_ADDR C:165BH PUBLIC READ_RTC_ADDR B:00B0H.3 PUBLIC RST C:129AH PUBLIC _Ds1302Read ------- PROC _DS1302WRITE D:0007H SYMBOL addr D:0005H SYMBOL dat ------- DO D:0006H SYMBOL n ------- ENDDO C:13A5H LINE# 14 C:13A5H LINE# 15 C:13A5H LINE# 17 C:13A7H LINE# 18 C:13A8H LINE# 20 C:13AAH LINE# 21 C:13ABH LINE# 22 C:13ADH LINE# 23 C:13AEH LINE# 25 C:13B0H LINE# 26 C:13B0H LINE# 27 C:13B4H LINE# 28 C:13B8H LINE# 29 C:13BAH LINE# 30 C:13BBH LINE# 31 C:13BDH LINE# 32 C:13BEH LINE# 33 C:13C2H LINE# 34 C:13C4H LINE# 35 C:13C4H LINE# 36 C:13C8H LINE# 37 C:13CCH LINE# 38 C:13CEH LINE# 39 C:13CFH LINE# 40 C:13D1H LINE# 41 C:13D2H LINE# 42 C:13D6H LINE# 44 C:13D8H LINE# 45 C:13D9H LINE# 46 ------- ENDPROC _DS1302WRITE ------- PROC _DS1302READ D:0007H SYMBOL addr ------- DO D:0005H SYMBOL n D:0006H SYMBOL dat BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 16 D:0007H SYMBOL dat1 ------- ENDDO C:129AH LINE# 48 C:129AH LINE# 49 C:129AH LINE# 51 C:129CH LINE# 52 C:129DH LINE# 54 C:129FH LINE# 55 C:12A0H LINE# 56 C:12A2H LINE# 57 C:12A3H LINE# 59 C:12A5H LINE# 60 C:12A5H LINE# 61 C:12A9H LINE# 62 C:12ADH LINE# 63 C:12AFH LINE# 64 C:12B0H LINE# 65 C:12B2H LINE# 66 C:12B3H LINE# 67 C:12B7H LINE# 68 C:12B8H LINE# 69 C:12BAH LINE# 70 C:12BAH LINE# 71 C:12BFH LINE# 72 C:12CBH LINE# 73 C:12CDH LINE# 74 C:12CEH LINE# 75 C:12D0H LINE# 76 C:12D1H LINE# 77 C:12D5H LINE# 79 C:12D7H LINE# 80 C:12D8H LINE# 81 C:12DAH LINE# 82 C:12DBH LINE# 83 C:12DDH LINE# 84 C:12DEH LINE# 85 C:12E0H LINE# 86 C:12E1H LINE# 87 C:12E3H LINE# 88 ------- ENDPROC _DS1302READ ------- PROC DS1302INIT ------- DO D:0007H SYMBOL n ------- ENDDO C:15CDH LINE# 90 C:15CDH LINE# 91 C:15CDH LINE# 93 C:15D4H LINE# 94 C:15D6H LINE# 95 C:15D6H LINE# 97 C:15DAH LINE# 98 ------- ENDPROC DS1302INIT ------- PROC DS1302READTIME ------- DO D:0003H SYMBOL n ------- ENDDO C:15B7H LINE# 101 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 17 C:15B7H LINE# 102 C:15B7H LINE# 104 C:15B9H LINE# 105 C:15B9H LINE# 106 C:15C8H LINE# 107 C:15CCH LINE# 108 ------- ENDPROC DS1302READTIME ------- ENDMOD DS1302 ------- MODULE I2C C:0000H SYMBOL _ICE_DUMMY_ D:00A0H PUBLIC P2 C:1326H PUBLIC _I2cSendByte C:16B1H PUBLIC I2cStop C:166EH PUBLIC Delay10us B:00A0H.0 PUBLIC SDA C:149FH PUBLIC _At24c02Read B:00A0H.1 PUBLIC SCL C:1622H PUBLIC I2cStart C:1570H PUBLIC _At24c02Write C:1454H PUBLIC I2cReadByte C:1669H SYMBOL L?0024 ------- PROC L?0023 ------- ENDPROC L?0023 C:1669H SYMBOL L?0024 ------- PROC DELAY10US ------- DO D:0006H SYMBOL a D:0007H SYMBOL b ------- ENDDO C:166EH LINE# 10 C:166EH LINE# 11 C:166EH LINE# 13 C:1670H LINE# 14 C:1676H LINE# 16 ------- ENDPROC DELAY10US ------- PROC I2CSTART C:1622H LINE# 25 C:1622H LINE# 26 C:1622H LINE# 27 C:1624H LINE# 28 C:1624H LINE# 29 C:1624H LINE# 30 C:1627H LINE# 31 C:1629H LINE# 32 C:162CH LINE# 33 C:162EH LINE# 34 ------- ENDPROC I2CSTART ------- PROC I2CSTOP C:16B1H LINE# 44 C:16B1H LINE# 45 C:16B1H LINE# 46 C:16B3H LINE# 47 C:16B3H LINE# 48 C:16B3H LINE# 49 C:16B6H LINE# 50 C:16B8H LINE# 51 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 18 ------- ENDPROC I2CSTOP ------- PROC _I2CSENDBYTE D:0005H SYMBOL dat ------- DO D:0003H SYMBOL a D:0002H SYMBOL b ------- ENDDO C:1326H LINE# 61 C:1328H LINE# 62 C:1328H LINE# 63 C:132BH LINE# 64 C:132BH LINE# 65 C:132BH LINE# 66 C:1336H LINE# 67 C:133AH LINE# 68 C:133AH LINE# 69 C:133AH LINE# 70 C:133DH LINE# 71 C:133FH LINE# 72 C:1342H LINE# 73 C:1346H LINE# 74 C:1348H LINE# 75 C:134BH LINE# 76 C:134DH LINE# 77 C:1350H LINE# 78 C:1350H LINE# 79 C:1351H LINE# 80 C:1357H LINE# 81 C:1357H LINE# 82 C:1359H LINE# 83 C:135CH LINE# 84 C:135FH LINE# 85 C:135FH LINE# 86 C:135FH LINE# 87 C:1361H LINE# 88 C:1364H LINE# 89 C:1366H LINE# 90 ------- ENDPROC _I2CSENDBYTE ------- PROC I2CREADBYTE ------- DO D:0005H SYMBOL a D:0004H SYMBOL dat ------- ENDDO C:1454H LINE# 99 C:1454H LINE# 100 C:1454H LINE# 101 C:1457H LINE# 102 C:1459H LINE# 103 C:145CH LINE# 104 C:145CH LINE# 105 C:145CH LINE# 106 C:145EH LINE# 107 C:1461H LINE# 108 C:1465H LINE# 109 C:146BH LINE# 110 C:146EH LINE# 111 C:1470H LINE# 112 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 19 C:1473H LINE# 113 C:1477H LINE# 114 C:1479H LINE# 115 ------- ENDPROC I2CREADBYTE ------- PROC _AT24C02WRITE D:0001H SYMBOL addr D:0004H SYMBOL dat C:1570H LINE# 125 C:1574H LINE# 126 C:1574H LINE# 127 C:1577H LINE# 128 C:157CH LINE# 129 C:1581H LINE# 130 C:1586H LINE# 131 ------- ENDPROC _AT24C02WRITE ------- PROC _AT24C02READ D:0004H SYMBOL addr ------- DO D:0005H SYMBOL num ------- ENDDO C:149FH LINE# 140 C:14A1H LINE# 141 C:14A1H LINE# 143 C:14A4H LINE# 144 C:14A9H LINE# 145 C:14AEH LINE# 146 C:14B1H LINE# 147 C:14B6H LINE# 148 C:14BBH LINE# 149 C:14BEH LINE# 150 C:14C0H LINE# 151 ------- ENDPROC _AT24C02READ ------- ENDMOD I2C ------- MODULE DS18B20 C:0000H SYMBOL _ICE_DUMMY_ D:00B0H PUBLIC P3 C:1367H PUBLIC DS18B20_ReadByte C:147AH PUBLIC DS18B20_Init C:14C1H PUBLIC DS18B20_ReadTemp B:00B0H.2 PUBLIC DS18B20 C:12F0H PUBLIC _DS18B20_WriteByte C:124BH PUBLIC Temper_change C:1520H PUBLIC _delay_ms ------- PROC _DELAY_MS D:0006H SYMBOL x ------- DO D:0006H SYMBOL y D:0004H SYMBOL z ------- ENDDO C:1520H LINE# 5 C:1520H LINE# 6 C:1520H LINE# 8 C:1529H LINE# 9 C:153DH LINE# 10 ------- ENDPROC _DELAY_MS ------- PROC DS18B20_INIT BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 20 ------- DO D:0003H SYMBOL i ------- ENDDO C:147AH LINE# 12 C:147AH LINE# 13 C:147AH LINE# 15 C:147CH LINE# 16 C:147EH LINE# 17 C:1484H LINE# 18 C:1486H LINE# 19 C:1488H LINE# 20 C:148BH LINE# 21 C:148BH LINE# 22 C:1492H LINE# 23 C:1493H LINE# 24 C:1499H LINE# 25 C:1499H LINE# 26 C:149CH LINE# 27 C:149CH LINE# 28 C:149CH LINE# 29 C:149EH LINE# 30 ------- ENDPROC DS18B20_INIT ------- PROC DS18B20_READBYTE ------- DO D:0001H SYMBOL byte D:0003H SYMBOL bi D:0006H SYMBOL i D:0004H SYMBOL j ------- ENDDO C:1367H LINE# 32 C:1367H LINE# 33 C:1367H LINE# 36 C:136BH LINE# 37 C:136BH LINE# 38 C:136DH LINE# 39 C:1371H LINE# 40 C:1373H LINE# 41 C:1377H LINE# 42 C:137BH LINE# 43 C:137FH LINE# 44 C:138BH LINE# 45 C:138FH LINE# 46 C:1399H LINE# 47 C:13A2H LINE# 48 C:13A4H LINE# 49 ------- ENDPROC DS18B20_READBYTE ------- PROC L?0042 ------- ENDPROC L?0042 ------- PROC _DS18B20_WRITEBYTE D:0007H SYMBOL dat ------- DO D:0035H SYMBOL i D:0002H SYMBOL j ------- ENDDO C:12F0H LINE# 51 C:12F0H LINE# 52 C:12F0H LINE# 54 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 21 C:12F3H LINE# 55 C:12F3H LINE# 56 C:12F5H LINE# 57 C:12FDH LINE# 58 C:1301H LINE# 59 C:1307H LINE# 60 C:1314H LINE# 61 C:1316H LINE# 62 C:131AH LINE# 63 C:1325H LINE# 64 ------- ENDPROC _DS18B20_WRITEBYTE ------- PROC DS18B20_READTEMP ------- DO D:0006H SYMBOL temp D:0007H SYMBOL tmh D:0034H SYMBOL tml ------- ENDDO C:14C1H LINE# 66 C:14C1H LINE# 67 C:14C1H LINE# 68 C:14C4H LINE# 70 C:14C4H LINE# 71 C:14C4H LINE# 72 C:14C7H LINE# 73 C:14CCH LINE# 75 C:14CCH LINE# 76 C:14CCH LINE# 77 C:14CFH LINE# 78 C:14D4H LINE# 80 C:14D9H LINE# 81 C:14DCH LINE# 82 C:14DCH LINE# 83 C:14DEH LINE# 84 C:14E1H LINE# 85 C:14E1H LINE# 86 ------- ENDPROC DS18B20_READTEMP ------- PROC TEMPER_CHANGE ------- DO D:0006H SYMBOL temper D:0030H SYMBOL tp ------- ENDDO C:124BH LINE# 89 C:124BH LINE# 90 C:124BH LINE# 94 C:124EH LINE# 95 C:1254H LINE# 96 C:1254H LINE# 97 C:1259H LINE# 98 C:125FH LINE# 99 C:125FH LINE# 100 C:125FH LINE# 101 C:1261H LINE# 103 C:1261H LINE# 104 C:127BH LINE# 105 C:1299H LINE# 106 C:1299H LINE# 107 C:1299H LINE# 108 BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 22 ------- ENDPROC TEMPER_CHANGE ------- ENDMOD DS18B20 ------- MODULE ?C?FPADD C:000AH PUBLIC ?C?FPADD C:0006H PUBLIC ?C?FPSUB ------- ENDMOD ?C?FPADD ------- MODULE ?C?FPMUL C:00FBH PUBLIC ?C?FPMUL ------- ENDMOD ?C?FPMUL ------- MODULE ?C?FPDIV C:0204H PUBLIC ?C?FPDIV ------- ENDMOD ?C?FPDIV ------- MODULE ?C?FPCMP C:02A3H PUBLIC ?C?FPCMP C:02A1H PUBLIC ?C?FPCMP3 ------- ENDMOD ?C?FPCMP ------- MODULE ?C?FCAST C:0324H PUBLIC ?C?FCASTC C:031FH PUBLIC ?C?FCASTI C:031AH PUBLIC ?C?FCASTL ------- ENDMOD ?C?FCAST ------- MODULE ?C?CASTF C:0358H PUBLIC ?C?CASTF ------- ENDMOD ?C?CASTF ------- MODULE PRINTF D:002EH PUBLIC ?_PRINTF?BYTE D:002EH PUBLIC ?_SPRINTF?BYTE C:0704H PUBLIC _PRINTF C:06FEH PUBLIC _SPRINTF ------- ENDMOD PRINTF ------- MODULE ?C?FPROUND C:03D9H PUBLIC ?C?FPROUND ------- ENDMOD ?C?FPROUND ------- MODULE ?C?FPCONVERT C:0408H PUBLIC ?C?FPCONVERT ------- ENDMOD ?C?FPCONVERT ------- MODULE ?C?FTNPWR C:053BH PUBLIC ?C?FTNPWR ------- ENDMOD ?C?FTNPWR ------- MODULE ?C?CLDPTR C:057BH PUBLIC ?C?CLDPTR ------- ENDMOD ?C?CLDPTR ------- MODULE ?C?CLDOPTR C:0594H PUBLIC ?C?CLDOPTR ------- ENDMOD ?C?CLDOPTR BL51 BANKED LINKER/LOCATER V6.22 05/01/2022 12:24:18 PAGE 23 ------- MODULE ?C?CSTPTR C:05C1H PUBLIC ?C?CSTPTR ------- ENDMOD ?C?CSTPTR ------- MODULE ?C?UIDIV C:05D3H PUBLIC ?C?UIDIV ------- ENDMOD ?C?UIDIV ------- MODULE ?C?SIDIV C:0628H PUBLIC ?C?SIDIV ------- ENDMOD ?C?SIDIV ------- MODULE ?C?LNEG C:065EH PUBLIC ?C?LNEG ------- ENDMOD ?C?LNEG ------- MODULE ?C?PLDIIDATA C:066CH PUBLIC ?C?PLDIIDATA ------- ENDMOD ?C?PLDIIDATA ------- MODULE ?C?CCASE C:067CH PUBLIC ?C?CCASE ------- ENDMOD ?C?CCASE ------- MODULE PUTCHAR C:142DH PUBLIC _PUTCHAR ------- ENDMOD PUTCHAR *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?INIT_BH1750?MAIN *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?_AT24C02WRITE?I2C *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?_AT24C02READ?I2C Program Size: data=95.1 xdata=0 code=5836 LINK/LOCATE RUN COMPLETE. 3 WARNING(S), 0 ERROR(S)