BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 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 (?C?FPGETOPN) 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?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_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 0015H UNIT _DATA_GROUP_ 001DH 0003H *** GAP *** BIT 0020H.0 0000H.1 UNIT _BIT_GROUP_ 0020H.1 0000H.7 *** GAP *** DATA 0021H 002AH UNIT ?DT?MAIN DATA 004BH 0007H UNIT ?DT?DS1302 IDATA 0052H 0001H UNIT ?STACK * * * * * * * C O D E M E M O R Y * * * * * * * CODE 0000H 0003H ABSOLUTE CODE 0003H 0488H UNIT ?C?LIB_CODE CODE 048BH 0292H UNIT ?PR?DETECTION?MAIN CODE 071DH 0283H UNIT ?PR?LCDDISPLAY?MAIN CODE 09A0H 00DDH UNIT ?PR?DISPOSE?MAIN CODE 0A7DH 0099H UNIT ?PR?GETTIMERESULT?MAIN CODE 0B16H 008CH UNIT ?C_C51STARTUP CODE 0BA2H 004FH UNIT ?PR?TEMPER_CHANGE?DS18B20 CODE 0BF1H 004AH UNIT ?PR?_DS1302READ?DS1302 CODE 0C3BH 0042H UNIT ?PR?_DS18B20_WRITEBYTE?DS18B20 CODE 0C7DH 0041H UNIT ?PR?_I2CSENDBYTE?I2C CODE 0CBEH 003EH UNIT ?PR?DS18B20_READBYTE?DS18B20 CODE 0CFCH 0039H UNIT ?PR?MAIN?MAIN BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 2 CODE 0D35H 0035H UNIT ?PR?_DS1302WRITE?DS1302 CODE 0D6AH 002AH UNIT ?PR?_LCD1602_DELAY1MS?LCD CODE 0D94H 0029H UNIT ?PR?MULTIPLE_READ_BH1750?MAIN CODE 0DBDH 0026H UNIT ?PR?I2CREADBYTE?I2C CODE 0DE3H 0025H UNIT ?PR?DS18B20_INIT?DS18B20 CODE 0E08H 0022H UNIT ?PR?_AT24C02READ?I2C CODE 0E2AH 0021H UNIT ?PR?DS18B20_READTEMP?DS18B20 CODE 0E4BH 0020H UNIT ?PR?_DELAY_NMS?MAIN CODE 0E6BH 001EH UNIT ?PR?BH1750_RECVBYTE?MAIN CODE 0E89H 001EH UNIT ?PR?_DELAY_MS?DS18B20 CODE 0EA7H 0019H UNIT ?PR?_BH1750_SENDBYTE?MAIN CODE 0EC0H 0019H UNIT ?PR?LCDINIT?LCD CODE 0ED9H 0019H UNIT ?PR?_AT24C02WRITE?I2C CODE 0EF2H 0018H UNIT ?PR?_BLUETOOTH_SET?MAIN CODE 0F0AH 0016H UNIT ?PR?UART_INIT?MAIN CODE 0F20H 0016H UNIT ?C_INITSEG CODE 0F36H 0016H UNIT ?PR?DS1302READTIME?DS1302 CODE 0F4CH 0014H UNIT ?PR?DS1302INIT?DS1302 CODE 0F60H 0012H UNIT ?PR?_SINGLE_WRITE_BH1750?MAIN CODE 0F72H 0011H UNIT ?PR?DELAY5US?MAIN CODE 0F83H 000FH UNIT ?PR?DELAY5MS?MAIN CODE 0F92H 000FH UNIT ?PR?BH1750_START?MAIN CODE 0FA1H 000FH UNIT ?PR?I2CSTART?I2C CODE 0FB0H 000EH UNIT ?PR?BH1750_SENDACK?MAIN CODE 0FBEH 000EH UNIT ?PR?_SEND_UART?MAIN CODE 0FCCH 000EH UNIT ?CO?DS1302 CODE 0FDAH 000EH UNIT ?PR?DELAY10US?I2C CODE 0FE8H 000DH UNIT ?PR?BH1750_RECVACK?MAIN CODE 0FF5H 000DH UNIT ?PR?DELAY10MS?MAIN CODE 1002H 000CH UNIT ?PR?BH1750_STOP?MAIN CODE 100EH 000AH UNIT ?PR?_LCDWRITECOM?LCD CODE 1018H 000AH UNIT ?PR?_LCDWRITEDATA?LCD CODE 1022H 000AH UNIT ?PR?I2CSTOP?I2C CODE 102CH 0007H UNIT ?PR?_US_DELAY?MAIN CODE 1033H 0005H UNIT ?PR?INIT_BH1750?MAIN OVERLAY MAP OF MODULE: pro (MAIN) SEGMENT BIT_GROUP DATA_GROUP +--> CALLED SEGMENT START LENGTH START LENGTH -------------------------------------------------------------------------- ?C_C51STARTUP ----- ----- ----- ----- +--> ?PR?MAIN?MAIN +--> ?C_INITSEG ?PR?MAIN?MAIN ----- ----- 0008H 000CH +--> ?PR?DS1302INIT?DS1302 +--> ?PR?UART_INIT?MAIN +--> ?PR?LCDINIT?LCD +--> ?PR?DS1302READTIME?DS1302 +--> ?PR?LCDDISPLAY?MAIN +--> ?PR?DETECTION?MAIN +--> ?PR?DISPOSE?MAIN BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 3 ?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 ----- ----- 0014H 0002H +--> ?PR?_LCDWRITECOM?LCD +--> ?PR?_LCDWRITEDATA?LCD ?PR?_LCDWRITEDATA?LCD ----- ----- ----- ----- +--> ?PR?_LCD1602_DELAY1MS?LCD ?PR?DETECTION?MAIN ----- ----- 0014H 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 ?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 BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 4 ?PR?BH1750_SENDACK?MAIN 0020H.0 0000H.1 ----- ----- +--> ?PR?DELAY5US?MAIN ?PR?TEMPER_CHANGE?DS18B20 ----- ----- 0016H 0004H +--> ?PR?DS18B20_READTEMP?DS18B20 ?PR?DS18B20_READTEMP?DS18B20 ----- ----- 001AH 0001H +--> ?PR?_DS18B20_WRITEBYTE?DS18B20 +--> ?PR?DS18B20_READBYTE?DS18B20 ?PR?_DS18B20_WRITEBYTE?DS18B20 ----- ----- 001BH 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 ----- ----- 0014H 0006H 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 B:00A0H.5 PUBLIC LED0 B:00A8H.7 PUBLIC EA B:00A0H.6 PUBLIC LED1 B:00A0H.1 PUBLIC LED2 C:0F83H PUBLIC Delay5ms B:00A0H.4 PUBLIC LED3 C:0D94H PUBLIC Multiple_read_BH1750 B:0090H.0 PUBLIC SDA1 B:00A0H.3 PUBLIC LED4 C:0FBEH PUBLIC _Send_Uart B:0090H.7 PUBLIC LED5 C:0F60H PUBLIC _Single_Write_BH1750 C:0F72H PUBLIC Delay5us B:0090H.1 PUBLIC SCL1 C:0F0AH PUBLIC Uart_Init C:0FB0H PUBLIC BH1750_SendACK B:00B0H.7 PUBLIC IN B:00A8H.4 PUBLIC ES C:0FE8H PUBLIC BH1750_RecvACK B:00D0H.7 PUBLIC CY B:0098H.1 PUBLIC TI C:048BH PUBLIC Detection BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 5 C:0CFCH PUBLIC main D:0099H PUBLIC SBUF D:0087H PUBLIC PCON D:0098H PUBLIC SCON C:0FF5H PUBLIC Delay10ms D:0089H PUBLIC TMOD D:0023H PUBLIC dis_data C:0E4BH PUBLIC _delay_nms C:0EF2H PUBLIC _Bluetooth_Set C:0F92H PUBLIC BH1750_Start D:0025H PUBLIC cut D:008DH PUBLIC TH1 C:1033H PUBLIC Init_BH1750 D:0027H PUBLIC userInfo D:008BH PUBLIC TL1 C:0A7DH PUBLIC getTimeResult B:0088H.6 PUBLIC TR1 B:00A0H.0 PUBLIC SDA C:09A0H PUBLIC Dispose C:102CH PUBLIC _us_delay C:0EA7H PUBLIC _BH1750_SendByte D:0041H PUBLIC BUF C:1002H PUBLIC BH1750_Stop C:0E6BH PUBLIC BH1750_RecvByte B:00A0H.1 PUBLIC SCL D:0049H PUBLIC led_num C:071DH 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:0E4BH LINE# 93 C:0E4BH LINE# 94 C:0E4BH LINE# 96 C:0E55H LINE# 97 C:0E55H LINE# 98 C:0E58H LINE# 99 C:0E6AH LINE# 100 ------- ENDPROC _DELAY_NMS ------- PROC DELAY5US C:0F72H LINE# 102 C:0F72H LINE# 103 C:0F72H LINE# 104 C:0F76H LINE# 105 C:0F7AH LINE# 106 C:0F7EH LINE# 107 C:0F82H LINE# 108 ------- ENDPROC DELAY5US ------- PROC DELAY5MS ------- DO D:0006H SYMBOL n BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 6 ------- ENDDO C:0F83H LINE# 110 C:0F83H LINE# 111 C:0F83H LINE# 112 C:0F87H LINE# 114 C:0F91H LINE# 115 ------- ENDPROC DELAY5MS ------- PROC BH1750_START C:0F92H LINE# 120 C:0F92H LINE# 121 C:0F92H LINE# 122 C:0F94H LINE# 123 C:0F96H LINE# 124 C:0F99H LINE# 125 C:0F9BH LINE# 126 C:0F9EH LINE# 127 C:0FA0H LINE# 128 ------- ENDPROC BH1750_START ------- PROC BH1750_STOP C:1002H LINE# 133 C:1002H LINE# 134 C:1002H LINE# 135 C:1004H LINE# 136 C:1006H LINE# 137 C:1009H LINE# 138 C:100BH LINE# 139 ------- ENDPROC BH1750_STOP ------- PROC BH1750_SENDACK B:0020H.0 SYMBOL ack C:0FB0H LINE# 146 C:0FB0H LINE# 147 C:0FB0H LINE# 148 C:0FB4H LINE# 149 C:0FB6H LINE# 150 C:0FB9H LINE# 151 C:0FBBH LINE# 152 ------- ENDPROC BH1750_SENDACK ------- PROC BH1750_RECVACK C:0FE8H LINE# 158 C:0FE8H LINE# 159 C:0FE8H LINE# 160 C:0FEAH LINE# 161 C:0FEDH LINE# 162 C:0FEFH LINE# 163 C:0FF1H LINE# 164 C:0FF4H LINE# 166 C:0FF4H LINE# 167 ------- ENDPROC BH1750_RECVACK ------- PROC _BH1750_SENDBYTE D:0007H SYMBOL dat ------- DO D:0006H SYMBOL i ------- ENDDO C:0EA7H LINE# 172 C:0EA7H LINE# 173 C:0EA7H LINE# 176 C:0EA9H LINE# 177 BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 7 C:0EA9H LINE# 178 C:0EADH LINE# 179 C:0EAFH LINE# 180 C:0EB1H LINE# 181 C:0EB4H LINE# 182 C:0EB6H LINE# 183 C:0EB9H LINE# 184 C:0EBDH LINE# 185 ------- ENDPROC _BH1750_SENDBYTE ------- PROC BH1750_RECVBYTE ------- DO D:0006H SYMBOL i D:0007H SYMBOL dat ------- ENDDO C:0E6BH LINE# 191 C:0E6BH LINE# 192 C:0E6BH LINE# 194 C:0E6DH LINE# 196 C:0E6FH LINE# 197 C:0E70H LINE# 198 C:0E70H LINE# 199 C:0E74H LINE# 200 C:0E76H LINE# 201 C:0E79H LINE# 202 C:0E7FH LINE# 203 C:0E81H LINE# 204 C:0E84H LINE# 205 C:0E88H LINE# 206 C:0E88H LINE# 207 ------- ENDPROC BH1750_RECVBYTE ------- PROC _SINGLE_WRITE_BH1750 D:0005H SYMBOL REG_Address C:0F60H LINE# 211 C:0F62H LINE# 212 C:0F62H LINE# 213 C:0F65H LINE# 214 C:0F6AH LINE# 215 C:0F6FH LINE# 217 ------- ENDPROC _SINGLE_WRITE_BH1750 ------- PROC MULTIPLE_READ_BH1750 ------- DO D:0005H SYMBOL i ------- ENDDO C:0D94H LINE# 227 C:0D94H LINE# 229 C:0D94H LINE# 230 C:0D97H LINE# 231 C:0D9CH LINE# 233 C:0D9EH LINE# 234 C:0D9EH LINE# 235 C:0DA7H LINE# 236 C:0DAAH LINE# 237 C:0DAAH LINE# 239 C:0DACH LINE# 240 C:0DAEH LINE# 242 C:0DAEH LINE# 243 C:0DB3H LINE# 244 BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 8 C:0DB3H LINE# 245 C:0DB7H LINE# 247 C:0DBAH LINE# 248 ------- ENDPROC MULTIPLE_READ_BH1750 ------- PROC INIT_BH1750 C:1033H LINE# 253 C:1033H LINE# 254 C:1033H LINE# 255 ------- ENDPROC INIT_BH1750 ------- PROC UART_INIT C:0F0AH LINE# 260 C:0F0AH LINE# 261 C:0F0AH LINE# 262 C:0F0DH LINE# 263 C:0F10H LINE# 264 C:0F13H LINE# 265 C:0F16H LINE# 266 C:0F19H LINE# 267 C:0F1BH LINE# 268 C:0F1DH LINE# 269 C:0F1FH LINE# 270 ------- ENDPROC UART_INIT ------- PROC _US_DELAY D:0007H SYMBOL t C:102CH LINE# 272 C:102CH LINE# 273 C:102CH LINE# 274 C:1032H LINE# 275 ------- ENDPROC _US_DELAY ------- PROC _SEND_UART D:0007H SYMBOL value C:0FBEH LINE# 277 C:0FBEH LINE# 278 C:0FBEH LINE# 279 C:0FC0H LINE# 280 C:0FC2H LINE# 281 C:0FC4H LINE# 282 C:0FC7H LINE# 283 C:0FC9H LINE# 284 C:0FCBH LINE# 285 ------- ENDPROC _SEND_UART ------- PROC _BLUETOOTH_SET D:0001H SYMBOL puf C:0EF2H LINE# 287 C:0EF2H LINE# 288 C:0EF2H LINE# 289 C:0EF8H LINE# 290 C:0EF8H LINE# 291 C:0EFBH LINE# 292 C:0F00H LINE# 293 C:0F07H LINE# 294 C:0F09H LINE# 295 ------- ENDPROC _BLUETOOTH_SET ------- PROC DETECTION ------- DO D:0021H SYMBOL num D:0014H SYMBOL i BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 9 ------- ENDDO C:048BH LINE# 299 C:048BH LINE# 300 C:048BH LINE# 302 C:0490H LINE# 303 C:0495H LINE# 304 C:049AH LINE# 305 C:04A1H LINE# 306 C:04A4H LINE# 307 C:04AAH LINE# 308 C:04B8H LINE# 309 C:04D1H LINE# 311 C:04D8H LINE# 312 C:04E3H LINE# 315 C:04E6H LINE# 316 C:04E6H LINE# 317 C:04E9H LINE# 318 C:04ECH LINE# 319 C:04F2H LINE# 320 C:04FFH LINE# 321 C:0504H LINE# 322 C:0512H LINE# 323 C:0516H LINE# 324 C:0516H LINE# 325 C:0516H LINE# 326 C:0526H LINE# 327 C:0529H LINE# 328 C:0531H LINE# 329 C:0533H LINE# 330 C:0538H LINE# 331 C:0538H LINE# 334 C:053BH LINE# 335 C:053BH LINE# 336 C:053EH LINE# 337 C:0541H LINE# 338 C:0547H LINE# 339 C:054FH LINE# 340 C:055FH LINE# 341 C:0561H LINE# 342 C:056EH LINE# 343 C:0573H LINE# 344 C:0578H LINE# 345 C:0578H LINE# 346 C:057DH LINE# 347 C:057DH LINE# 348 C:058DH LINE# 349 C:0590H LINE# 350 C:0598H LINE# 351 C:059AH LINE# 352 C:059FH LINE# 353 C:059FH LINE# 355 C:05A2H LINE# 356 C:05A2H LINE# 357 C:05A5H LINE# 358 C:05A8H LINE# 359 C:05B0H LINE# 360 C:05C1H LINE# 361 BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 10 C:05C1H LINE# 362 C:05D1H LINE# 363 C:05D4H LINE# 364 C:05DCH LINE# 365 C:05DEH LINE# 366 C:05E3H LINE# 367 C:05E3H LINE# 370 C:05E6H LINE# 371 C:05E6H LINE# 372 C:05E9H LINE# 373 C:05ECH LINE# 374 C:05F4H LINE# 375 C:0602H LINE# 376 C:0602H LINE# 377 C:0612H LINE# 378 C:0615H LINE# 379 C:061DH LINE# 380 C:061FH LINE# 381 C:0624H LINE# 382 C:0624H LINE# 385 C:0627H LINE# 386 C:0627H LINE# 387 C:062AH LINE# 388 C:062DH LINE# 389 C:0635H LINE# 390 C:0645H LINE# 391 C:0645H LINE# 392 C:0655H LINE# 393 C:0658H LINE# 394 C:0660H LINE# 395 C:0662H LINE# 396 C:0667H LINE# 397 C:0667H LINE# 400 C:066DH LINE# 401 C:066DH LINE# 402 C:0670H LINE# 403 C:0676H LINE# 405 C:067CH LINE# 406 C:0684H LINE# 407 C:0694H LINE# 408 C:069EH LINE# 409 C:06A6H LINE# 410 C:06B6H LINE# 411 C:06C0H LINE# 412 C:06C8H LINE# 413 C:06D8H LINE# 414 C:06E2H LINE# 415 C:06EAH LINE# 416 C:06FAH LINE# 417 C:06FAH LINE# 418 C:070AH LINE# 419 C:070DH LINE# 420 C:0715H LINE# 421 C:0717H LINE# 422 C:071CH LINE# 423 C:071CH LINE# 424 C:071CH LINE# 425 BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 11 ------- ENDPROC DETECTION ------- PROC GETTIMERESULT ------- DO D:0004H SYMBOL result D:0014H SYMBOL Nowtime ------- ENDDO C:0A7DH LINE# 429 C:0A7DH LINE# 430 C:0A7DH LINE# 431 C:0A81H LINE# 434 C:0A9AH LINE# 435 C:0AB1H LINE# 437 C:0AD5H LINE# 438 C:0AF2H LINE# 439 C:0B11H LINE# 441 C:0B15H LINE# 442 ------- ENDPROC GETTIMERESULT ------- PROC DISPOSE C:09A0H LINE# 446 C:09A0H LINE# 447 C:09A0H LINE# 449 C:09A9H LINE# 450 C:09C4H LINE# 451 C:09DFH LINE# 452 C:09FAH LINE# 453 C:0A15H LINE# 454 C:0A24H LINE# 457 C:0A24H LINE# 458 C:0A24H LINE# 459 C:0A26H LINE# 460 C:0A2CH LINE# 461 C:0A3EH LINE# 462 C:0A4CH LINE# 463 C:0A5AH LINE# 464 C:0A6AH LINE# 465 C:0A6CH LINE# 466 C:0A74H LINE# 467 C:0A74H LINE# 468 C:0A74H LINE# 469 C:0A7CH LINE# 470 ------- ENDPROC DISPOSE ------- PROC MAIN ------- DO D:0008H SYMBOL i D:000AH SYMBOL str ------- ENDDO C:0CFCH LINE# 473 C:0CFCH LINE# 474 C:0CFCH LINE# 475 C:0D01H LINE# 477 C:0D04H LINE# 478 C:0D07H LINE# 479 C:0D0AH LINE# 481 C:0D10H LINE# 482 C:0D15H LINE# 483 C:0D19H LINE# 485 C:0D1EH LINE# 486 BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 12 C:0D23H LINE# 487 C:0D27H LINE# 489 C:0D27H LINE# 490 C:0D27H LINE# 491 C:0D2AH LINE# 492 C:0D2DH LINE# 493 C:0D30H LINE# 494 C:0D33H LINE# 495 ------- ENDPROC MAIN ------- PROC LCDDISPLAY ------- DO D:0014H SYMBOL temp_data ------- ENDDO C:071DH LINE# 499 C:071DH LINE# 500 C:071DH LINE# 502 C:0728H LINE# 504 C:072BH LINE# 505 C:0736H LINE# 506 C:0740H LINE# 507 C:0745H LINE# 508 C:0750H LINE# 509 C:075AH LINE# 510 C:075FH LINE# 512 C:076AH LINE# 513 C:0774H LINE# 514 C:0779H LINE# 515 C:0784H LINE# 516 C:078EH LINE# 517 C:0793H LINE# 518 C:079EH LINE# 519 C:07A8H LINE# 521 C:07ADH LINE# 522 C:07B7H LINE# 524 C:07BCH LINE# 525 C:07CBH LINE# 526 C:07D6H LINE# 527 C:07E8H LINE# 528 C:07F7H LINE# 529 C:0809H LINE# 530 C:0818H LINE# 531 C:082AH LINE# 532 C:0839H LINE# 533 C:0841H LINE# 534 C:0846H LINE# 535 C:084BH LINE# 536 C:0850H LINE# 537 C:0862H LINE# 538 C:0874H LINE# 539 C:0879H LINE# 541 C:087EH LINE# 542 C:0897H LINE# 543 C:089BH LINE# 544 C:089EH LINE# 545 C:08A1H LINE# 546 C:08B3H LINE# 547 C:08C5H LINE# 548 BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 13 C:08CAH LINE# 549 C:08DCH LINE# 550 C:08EEH LINE# 551 C:08F3H LINE# 552 C:0905H LINE# 553 C:0917H LINE# 554 C:091CH LINE# 556 C:0924H LINE# 558 C:0929H LINE# 559 C:093BH LINE# 560 C:094DH LINE# 561 C:0952H LINE# 562 C:0964H LINE# 563 C:0976H LINE# 564 C:097BH LINE# 565 C:098DH LINE# 566 C:099FH LINE# 567 C:099FH LINE# 568 ------- ENDPROC LCDDISPLAY ------- PROC DELAY10MS ------- DO D:0005H SYMBOL a D:0006H SYMBOL b D:0007H SYMBOL c ------- ENDDO C:0FF5H LINE# 571 C:0FF5H LINE# 572 C:0FF5H LINE# 574 C:0FF7H LINE# 575 C:0FF9H LINE# 576 C:1001H LINE# 577 ------- ENDPROC DELAY10MS ------- ENDMOD MAIN ------- MODULE LCD C:0000H SYMBOL _ICE_DUMMY_ D:0080H PUBLIC P0 D:0090H PUBLIC P1 C:1018H PUBLIC _LcdWriteData B:0090H.6 PUBLIC LCD1602_RS B:0090H.5 PUBLIC LCD1602_RW C:0EC0H PUBLIC LcdInit B:0090H.4 PUBLIC LCD1602_E C:100EH PUBLIC _LcdWriteCom C:0D7BH 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:0D7BH LINE# 11 C:0D7BH LINE# 12 C:0D7BH LINE# 14 C:0D84H LINE# 15 BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 14 C:0D84H LINE# 16 C:0D86H LINE# 17 C:0D86H LINE# 18 C:0D8AH LINE# 19 C:0D8CH LINE# 20 C:0D93H LINE# 22 ------- ENDPROC _LCD1602_DELAY1MS ------- PROC _LCDWRITECOM D:0007H SYMBOL com C:100EH LINE# 31 C:100EH LINE# 32 C:100EH LINE# 33 C:1010H LINE# 34 C:1012H LINE# 35 C:1012H LINE# 37 C:1012H LINE# 38 C:1012H LINE# 40 C:1012H LINE# 41 C:1015H LINE# 42 C:1017H LINE# 43 ------- ENDPROC _LCDWRITECOM ------- PROC _LCDWRITEDATA D:0007H SYMBOL dat C:1018H LINE# 74 C:1018H LINE# 75 C:1018H LINE# 76 C:101AH LINE# 77 C:101CH LINE# 78 C:101CH LINE# 80 C:101CH LINE# 81 C:101CH LINE# 83 C:101CH LINE# 84 C:101FH LINE# 85 C:1021H LINE# 86 ------- ENDPROC _LCDWRITEDATA ------- PROC LCDINIT C:0EC0H LINE# 116 C:0EC0H LINE# 117 C:0EC0H LINE# 118 C:0EC5H LINE# 119 C:0ECAH LINE# 120 C:0ECFH LINE# 121 C:0ED4H LINE# 122 ------- ENDPROC LCDINIT ------- ENDMOD LCD ------- MODULE DS1302 C:0000H SYMBOL _ICE_DUMMY_ D:00B0H PUBLIC P3 C:0D35H PUBLIC _Ds1302Write C:0F36H PUBLIC Ds1302ReadTime C:0F4CH PUBLIC Ds1302Init B:00B0H.5 PUBLIC SCLK D:004BH PUBLIC TIME B:00B0H.4 PUBLIC DSIO C:0FD3H PUBLIC WRITE_RTC_ADDR C:0FCCH PUBLIC READ_RTC_ADDR BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 15 B:00B0H.3 PUBLIC RST C:0BF1H PUBLIC _Ds1302Read ------- PROC _DS1302WRITE D:0007H SYMBOL addr D:0005H SYMBOL dat ------- DO D:0006H SYMBOL n ------- ENDDO C:0D35H LINE# 14 C:0D35H LINE# 15 C:0D35H LINE# 17 C:0D37H LINE# 18 C:0D38H LINE# 20 C:0D3AH LINE# 21 C:0D3BH LINE# 22 C:0D3DH LINE# 23 C:0D3EH LINE# 25 C:0D40H LINE# 26 C:0D40H LINE# 27 C:0D44H LINE# 28 C:0D48H LINE# 29 C:0D4AH LINE# 30 C:0D4BH LINE# 31 C:0D4DH LINE# 32 C:0D4EH LINE# 33 C:0D52H LINE# 34 C:0D54H LINE# 35 C:0D54H LINE# 36 C:0D58H LINE# 37 C:0D5CH LINE# 38 C:0D5EH LINE# 39 C:0D5FH LINE# 40 C:0D61H LINE# 41 C:0D62H LINE# 42 C:0D66H LINE# 44 C:0D68H LINE# 45 C:0D69H LINE# 46 ------- ENDPROC _DS1302WRITE ------- PROC _DS1302READ D:0007H SYMBOL addr ------- DO D:0005H SYMBOL n D:0006H SYMBOL dat D:0007H SYMBOL dat1 ------- ENDDO C:0BF1H LINE# 48 C:0BF1H LINE# 49 C:0BF1H LINE# 51 C:0BF3H LINE# 52 C:0BF4H LINE# 54 C:0BF6H LINE# 55 C:0BF7H LINE# 56 C:0BF9H LINE# 57 C:0BFAH LINE# 59 C:0BFCH LINE# 60 C:0BFCH LINE# 61 C:0C00H LINE# 62 BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 16 C:0C04H LINE# 63 C:0C06H LINE# 64 C:0C07H LINE# 65 C:0C09H LINE# 66 C:0C0AH LINE# 67 C:0C0EH LINE# 68 C:0C0FH LINE# 69 C:0C11H LINE# 70 C:0C11H LINE# 71 C:0C16H LINE# 72 C:0C22H LINE# 73 C:0C24H LINE# 74 C:0C25H LINE# 75 C:0C27H LINE# 76 C:0C28H LINE# 77 C:0C2CH LINE# 79 C:0C2EH LINE# 80 C:0C2FH LINE# 81 C:0C31H LINE# 82 C:0C32H LINE# 83 C:0C34H LINE# 84 C:0C35H LINE# 85 C:0C37H LINE# 86 C:0C38H LINE# 87 C:0C3AH LINE# 88 ------- ENDPROC _DS1302READ ------- PROC DS1302INIT ------- DO D:0007H SYMBOL n ------- ENDDO C:0F4CH LINE# 90 C:0F4CH LINE# 91 C:0F4CH LINE# 93 C:0F53H LINE# 94 C:0F55H LINE# 95 C:0F55H LINE# 97 C:0F59H LINE# 98 ------- ENDPROC DS1302INIT ------- PROC DS1302READTIME ------- DO D:0003H SYMBOL n ------- ENDDO C:0F36H LINE# 101 C:0F36H LINE# 102 C:0F36H LINE# 104 C:0F38H LINE# 105 C:0F38H LINE# 106 C:0F47H LINE# 107 C:0F4BH LINE# 108 ------- ENDPROC DS1302READTIME ------- ENDMOD DS1302 ------- MODULE I2C C:0000H SYMBOL _ICE_DUMMY_ D:00A0H PUBLIC P2 C:0C7DH PUBLIC _I2cSendByte C:1022H PUBLIC I2cStop BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 17 C:0FDFH PUBLIC Delay10us B:00A0H.0 PUBLIC SDA C:0E08H PUBLIC _At24c02Read B:00A0H.1 PUBLIC SCL C:0FA1H PUBLIC I2cStart C:0ED9H PUBLIC _At24c02Write C:0DBDH PUBLIC I2cReadByte C:0FDAH SYMBOL L?0024 ------- PROC L?0023 ------- ENDPROC L?0023 C:0FDAH SYMBOL L?0024 ------- PROC DELAY10US ------- DO D:0006H SYMBOL a D:0007H SYMBOL b ------- ENDDO C:0FDFH LINE# 10 C:0FDFH LINE# 11 C:0FDFH LINE# 13 C:0FE1H LINE# 14 C:0FE7H LINE# 16 ------- ENDPROC DELAY10US ------- PROC I2CSTART C:0FA1H LINE# 25 C:0FA1H LINE# 26 C:0FA1H LINE# 27 C:0FA3H LINE# 28 C:0FA3H LINE# 29 C:0FA3H LINE# 30 C:0FA6H LINE# 31 C:0FA8H LINE# 32 C:0FABH LINE# 33 C:0FADH LINE# 34 ------- ENDPROC I2CSTART ------- PROC I2CSTOP C:1022H LINE# 44 C:1022H LINE# 45 C:1022H LINE# 46 C:1024H LINE# 47 C:1024H LINE# 48 C:1024H LINE# 49 C:1027H LINE# 50 C:1029H LINE# 51 ------- ENDPROC I2CSTOP ------- PROC _I2CSENDBYTE D:0005H SYMBOL dat ------- DO D:0003H SYMBOL a D:0002H SYMBOL b ------- ENDDO C:0C7DH LINE# 61 C:0C7FH LINE# 62 C:0C7FH LINE# 63 C:0C82H LINE# 64 C:0C82H LINE# 65 C:0C82H LINE# 66 C:0C8DH LINE# 67 BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 18 C:0C91H LINE# 68 C:0C91H LINE# 69 C:0C91H LINE# 70 C:0C94H LINE# 71 C:0C96H LINE# 72 C:0C99H LINE# 73 C:0C9DH LINE# 74 C:0C9FH LINE# 75 C:0CA2H LINE# 76 C:0CA4H LINE# 77 C:0CA7H LINE# 78 C:0CA7H LINE# 79 C:0CA8H LINE# 80 C:0CAEH LINE# 81 C:0CAEH LINE# 82 C:0CB0H LINE# 83 C:0CB3H LINE# 84 C:0CB6H LINE# 85 C:0CB6H LINE# 86 C:0CB6H LINE# 87 C:0CB8H LINE# 88 C:0CBBH LINE# 89 C:0CBDH LINE# 90 ------- ENDPROC _I2CSENDBYTE ------- PROC I2CREADBYTE ------- DO D:0005H SYMBOL a D:0004H SYMBOL dat ------- ENDDO C:0DBDH LINE# 99 C:0DBDH LINE# 100 C:0DBDH LINE# 101 C:0DC0H LINE# 102 C:0DC2H LINE# 103 C:0DC5H LINE# 104 C:0DC5H LINE# 105 C:0DC5H LINE# 106 C:0DC7H LINE# 107 C:0DCAH LINE# 108 C:0DCEH LINE# 109 C:0DD4H LINE# 110 C:0DD7H LINE# 111 C:0DD9H LINE# 112 C:0DDCH LINE# 113 C:0DE0H LINE# 114 C:0DE2H LINE# 115 ------- ENDPROC I2CREADBYTE ------- PROC _AT24C02WRITE D:0001H SYMBOL addr D:0004H SYMBOL dat C:0ED9H LINE# 125 C:0EDDH LINE# 126 C:0EDDH LINE# 127 C:0EE0H LINE# 128 C:0EE5H LINE# 129 C:0EEAH LINE# 130 C:0EEFH LINE# 131 BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 19 ------- ENDPROC _AT24C02WRITE ------- PROC _AT24C02READ D:0004H SYMBOL addr ------- DO D:0005H SYMBOL num ------- ENDDO C:0E08H LINE# 140 C:0E0AH LINE# 141 C:0E0AH LINE# 143 C:0E0DH LINE# 144 C:0E12H LINE# 145 C:0E17H LINE# 146 C:0E1AH LINE# 147 C:0E1FH LINE# 148 C:0E24H LINE# 149 C:0E27H LINE# 150 C:0E29H LINE# 151 ------- ENDPROC _AT24C02READ ------- ENDMOD I2C ------- MODULE DS18B20 C:0000H SYMBOL _ICE_DUMMY_ D:00B0H PUBLIC P3 C:0CBEH PUBLIC DS18B20_ReadByte C:0DE3H PUBLIC DS18B20_Init C:0E2AH PUBLIC DS18B20_ReadTemp B:00B0H.2 PUBLIC DS18B20 C:0C47H PUBLIC _DS18B20_WriteByte C:0BA2H PUBLIC Temper_change C:0E89H PUBLIC _delay_ms ------- PROC _DELAY_MS D:0006H SYMBOL x ------- DO D:0006H SYMBOL y D:0004H SYMBOL z ------- ENDDO C:0E89H LINE# 5 C:0E89H LINE# 6 C:0E89H LINE# 8 C:0E92H LINE# 9 C:0EA6H LINE# 10 ------- ENDPROC _DELAY_MS ------- PROC DS18B20_INIT ------- DO D:0003H SYMBOL i ------- ENDDO C:0DE3H LINE# 12 C:0DE3H LINE# 13 C:0DE3H LINE# 15 C:0DE5H LINE# 16 C:0DE7H LINE# 17 C:0DEDH LINE# 18 C:0DEFH LINE# 19 C:0DF1H LINE# 20 C:0DF4H LINE# 21 C:0DF4H LINE# 22 C:0DFBH LINE# 23 BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 20 C:0DFCH LINE# 24 C:0E02H LINE# 25 C:0E02H LINE# 26 C:0E05H LINE# 27 C:0E05H LINE# 28 C:0E05H LINE# 29 C:0E07H 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:0CBEH LINE# 32 C:0CBEH LINE# 33 C:0CBEH LINE# 36 C:0CC2H LINE# 37 C:0CC2H LINE# 38 C:0CC4H LINE# 39 C:0CC8H LINE# 40 C:0CCAH LINE# 41 C:0CCEH LINE# 42 C:0CD2H LINE# 43 C:0CD6H LINE# 44 C:0CE2H LINE# 45 C:0CE6H LINE# 46 C:0CF0H LINE# 47 C:0CF9H LINE# 48 C:0CFBH LINE# 49 ------- ENDPROC DS18B20_READBYTE ------- PROC L?0042 ------- ENDPROC L?0042 ------- PROC _DS18B20_WRITEBYTE D:0007H SYMBOL dat ------- DO D:001BH SYMBOL i D:0002H SYMBOL j ------- ENDDO C:0C47H LINE# 51 C:0C47H LINE# 52 C:0C47H LINE# 54 C:0C4AH LINE# 55 C:0C4AH LINE# 56 C:0C4CH LINE# 57 C:0C54H LINE# 58 C:0C58H LINE# 59 C:0C5EH LINE# 60 C:0C6BH LINE# 61 C:0C6DH LINE# 62 C:0C71H LINE# 63 C:0C7CH LINE# 64 ------- ENDPROC _DS18B20_WRITEBYTE ------- PROC DS18B20_READTEMP ------- DO D:0006H SYMBOL temp BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 21 D:0007H SYMBOL tmh D:001AH SYMBOL tml ------- ENDDO C:0E2AH LINE# 66 C:0E2AH LINE# 67 C:0E2AH LINE# 68 C:0E2DH LINE# 70 C:0E2DH LINE# 71 C:0E2DH LINE# 72 C:0E30H LINE# 73 C:0E35H LINE# 75 C:0E35H LINE# 76 C:0E35H LINE# 77 C:0E38H LINE# 78 C:0E3DH LINE# 80 C:0E42H LINE# 81 C:0E45H LINE# 82 C:0E45H LINE# 83 C:0E47H LINE# 84 C:0E4AH LINE# 85 C:0E4AH LINE# 86 ------- ENDPROC DS18B20_READTEMP ------- PROC TEMPER_CHANGE ------- DO D:0006H SYMBOL temper D:0016H SYMBOL tp ------- ENDDO C:0BA2H LINE# 89 C:0BA2H LINE# 90 C:0BA2H LINE# 94 C:0BA5H LINE# 95 C:0BABH LINE# 96 C:0BABH LINE# 97 C:0BB0H LINE# 98 C:0BB6H LINE# 99 C:0BB6H LINE# 100 C:0BB6H LINE# 101 C:0BB8H LINE# 103 C:0BB8H LINE# 104 C:0BD2H LINE# 105 C:0BF0H LINE# 106 C:0BF0H LINE# 107 C:0BF0H LINE# 108 ------- 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 BL51 BANKED LINKER/LOCATER V6.22 05/05/2022 19:42:13 PAGE 22 ------- 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 ?C?CLDPTR C:03D9H PUBLIC ?C?CLDPTR ------- ENDMOD ?C?CLDPTR ------- MODULE ?C?UIDIV C:03F2H PUBLIC ?C?UIDIV ------- ENDMOD ?C?UIDIV ------- MODULE ?C?SIDIV C:0447H PUBLIC ?C?SIDIV ------- ENDMOD ?C?SIDIV ------- MODULE ?C?LNEG C:047DH PUBLIC ?C?LNEG ------- ENDMOD ?C?LNEG *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?INIT_BH1750?MAIN *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?_BLUETOOTH_SET?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=79.1 xdata=0 code=4152 LINK/LOCATE RUN COMPLETE. 4 WARNING(S), 0 ERROR(S)