C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 1 DOS C166 COMPILER V3.10b, COMPILATION OF MODULE MAIN OBJECT MODULE PLACED IN MAIN.OBJ COMPILER INVOKED BY: C:\C166\BIN\C166.EXE MAIN.C MOD167 NOINIT LARGE FLOAT64 SYMBOLS CODE PREPRINT stmt level source 1 2 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 12 #include "global.h" 13 #include "int.h" 14 15 #include "ext/MISC.H" 16 #include "ext/I2C_HARD.H" 17 #include "ext/I2C_BUS.H" 18 #include "ext/RTC.H" 19 20 #include "util.c" 21 #include "astro.c" 22 #include "usr.c" 23 24 #include "scope.c" 25 26 27 #define CONFIGINIT 12345 28 29 30 typedef struct configstruct { 31 32 int __initid; 33 34 double __LATITUDE; 35 double __LONGITUDE; 36 37 double __CFG_HSTS_HO; 38 double __CFG_HSTS_VE; 39 double __CFG_HSTS_FR; 40 41 int __CFG_SP1_HO; 42 int __CFG_SP1_VE; 43 44 int __CFG_SP2_HO; 45 int __CFG_SP2_VE; 46 47 int __CFG_SP3_HO; 48 int __CFG_SP3_VE; 49 50 int __CFG_SP_FR; 51 52 int __CFG_ENC_HO; 53 int __CFG_ENC_VE; 54 55 unsigned char __ENC_FLAGS; 56 unsigned char __RESERVE; 57 58 } configstruct; 59 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 2 60 61 62 configstruct cfg[4]; 63 int curconfig; 64 65 66 const char main_txt0[18] = " C167 ELTEL\0"; 67 const char main_txt1[18] = " VERSION 1.00\0"; 68 const char main_txt2[18] = " E. Benninghaus\0"; 69 const char main_txt3[18] = " Rottweil 2003\0"; 70 71 72 const char menu_txt[3][18] = { 73 " ELTEL MOTORS\0", 74 " ELTEL ENCODE\0", 75 " ELTEL CONFIG\0" 76 }; 77 78 79 80 const char cfg_txt[29][18] = { 81 " DATE-TIME\0", 82 " LATITUDE\0", 83 " LONGITUDE\0", 84 " ENCODER HO\0", 85 " ENCODER VE\0", 86 " HSTEPSIZE HO\0", 87 " HSTEPSIZE VE\0", 88 " HSTEPSIZE FR\0", 89 " SPEED COR.1 HO\0", 90 " SPEED COR.1 VE\0", 91 " SPEED COR.2 HO\0", 92 " SPEED COR.2 VE\0", 93 " SPEED GOTO HO\0", 94 " SPEED GOTO VE\0", 95 " SPEED GOTO FR\0", 96 " ON/OFF ENC HO\0", 97 " ON/OFF ENC VE\0", 98 " SHOW ENC ARCS\0", 99 " SHOW ENC AZALT\0", 100 " SHOW ENC RADEC\0", 101 " AUTOTEST ENCHO\0", 102 " AUTOTEST ENCVE\0", 103 " SAVE CONFIG\0", 104 " SET CONFIG 1\0", 105 " SET CONFIG 2\0", 106 " SET CONFIG 3\0", 107 " SET CONFIG 4\0", 108 " EDIT OBJLIST\0", 109 " SERIAL OBJLOAD\0" 110 111 }; 112 113 114 #define CFGLASTOFFSET 25 115 116 117 118 void getConfiguration( void ) { 119 1 120 1 if( cfg[curconfig].__initid != CONFIGINIT ) { 121 2 return; 122 2 } 123 1 124 1 LATITUDE = cfg[curconfig].__LATITUDE; 125 1 LONGITUDE = cfg[curconfig].__LONGITUDE; C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 3 126 1 127 1 CFG_HSTS_HO = cfg[curconfig].__CFG_HSTS_HO; 128 1 CFG_HSTS_VE = cfg[curconfig].__CFG_HSTS_VE; 129 1 CFG_HSTS_FR = cfg[curconfig].__CFG_HSTS_FR; 130 1 131 1 CFG_SP1_HO = cfg[curconfig].__CFG_SP1_HO; 132 1 CFG_SP1_VE = cfg[curconfig].__CFG_SP1_VE; 133 1 134 1 CFG_SP2_HO = cfg[curconfig].__CFG_SP2_HO; 135 1 CFG_SP2_VE = cfg[curconfig].__CFG_SP2_VE; 136 1 137 1 CFG_SP3_HO = cfg[curconfig].__CFG_SP3_HO; 138 1 CFG_SP3_VE = cfg[curconfig].__CFG_SP3_VE; 139 1 140 1 CFG_SP_FR = cfg[curconfig].__CFG_SP_FR; 141 1 142 1 CFG_ENC_HO = cfg[curconfig].__CFG_ENC_HO; 143 1 CFG_ENC_VE = cfg[curconfig].__CFG_ENC_VE; 144 1 145 1 ENC_FLAGS = cfg[curconfig].__ENC_FLAGS & 3; 146 1 147 1 } 148 149 150 151 void setConfiguration( void ) { 152 1 153 1 cfg[curconfig].__LATITUDE = LATITUDE; 154 1 cfg[curconfig].__LONGITUDE = LONGITUDE; 155 1 156 1 cfg[curconfig].__CFG_HSTS_HO = CFG_HSTS_HO; 157 1 cfg[curconfig].__CFG_HSTS_VE = CFG_HSTS_VE; 158 1 cfg[curconfig].__CFG_HSTS_FR = CFG_HSTS_FR; 159 1 160 1 cfg[curconfig].__CFG_SP1_HO = CFG_SP1_HO; 161 1 cfg[curconfig].__CFG_SP1_VE = CFG_SP1_VE; 162 1 163 1 cfg[curconfig].__CFG_SP2_HO = CFG_SP2_HO; 164 1 cfg[curconfig].__CFG_SP2_VE = CFG_SP2_VE; 165 1 166 1 cfg[curconfig].__CFG_SP3_HO = CFG_SP3_HO; 167 1 cfg[curconfig].__CFG_SP3_VE = CFG_SP3_VE; 168 1 169 1 cfg[curconfig].__CFG_SP_FR = CFG_SP_FR; 170 1 171 1 cfg[curconfig].__CFG_ENC_HO = CFG_ENC_HO; 172 1 cfg[curconfig].__CFG_ENC_VE = CFG_ENC_VE; 173 1 174 1 cfg[curconfig].__ENC_FLAGS = ENC_FLAGS; 175 1 176 1 cfg[curconfig].__initid = CONFIGINIT; 177 1 } 178 179 180 181 182 void config_reset( void ) { 183 1 184 1 185 1 CFG_ENC_HO = 4000; 186 1 CFG_ENC_VE = 4000; 187 1 188 1 ARC10PERENCHO = ARC10_360 / 4000; 189 1 ARC10PERENCVE = ARC10_360 / 4000; 190 1 191 1 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 4 192 1 LATITUDE = 48.766667; 193 1 LONGITUDE = 9.183333; 194 1 195 1 CUR_ARC10_HO = 0; 196 1 CUR_ARC10_VE = 0; 197 1 OBJ_ARC10_HO = 0; 198 1 OBJ_ARC10_VE = 0; 199 1 ENC_ARC10_HO = 0; 200 1 ENC_ARC10_VE = 0; 201 1 CUR_HSTEPS_HO = 0; 202 1 CUR_HSTEPS_VE = 0; 203 1 TRG_HSTEPS_HO = 0; 204 1 TRG_HSTEPS_VE = 0; 205 1 206 1 HSTEPSHO090 = 324000; 207 1 HSTEPSHO180 = 648000; 208 1 HSTEPSHO270 = 972000; 209 1 HSTEPSHO359 = 1295999; 210 1 211 1 CFG_HSTS_HO = 1.0; 212 1 CFG_HSTS_VE = 1.0; 213 1 CFG_HSTS_FR = 1.0; 214 1 215 1 CFG_SP1_HO = 600; 216 1 CFG_SP1_VE = 600; 217 1 218 1 CFG_SP2_HO = 5; 219 1 CFG_SP2_VE = 5; 220 1 221 1 CFG_SP3_HO = 5; 222 1 CFG_SP3_VE = 5; 223 1 224 1 OBJ_DEG_AZ = 0; 225 1 OBJ_DEG_ALT = 0; 226 1 OBJ_DEG_RA = 0; 227 1 OBJ_DEG_DEC = 0; 228 1 229 1 230 1 if( ( curconfig < 0 ) || ( curconfig > 3 ) ){ 231 2 curconfig = 0; 232 2 } 233 1 234 1 getConfiguration(); 235 1 } 236 237 238 239 240 241 void config( void ) { 242 1 243 1 REAL_TIME Time; 244 1 unsigned char KEY,_y,cf; 245 1 int y,upd,cmd,v1; 246 1 247 1 lcd_clear(); 248 1 wait_10ms(1); 249 1 250 1 y = 0; 251 1 _y = 0; 252 1 upd = 1; 253 1 254 1 KEY = NOKEY; 255 1 while( KEY != KEY_C ){ 256 2 257 2 if( upd ) { C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 5 258 3 259 3 switch( curconfig ){ 260 4 case 0: cf = '1';break; 261 4 case 1: cf = '2';break; 262 4 case 2: cf = '3';break; 263 4 case 3: cf = '4';break; 264 4 } 265 3 266 3 lcd_clear(); 267 3 lcd_puts(0,0,cfg_txt[ y + 0 ]); 268 3 lcd_puts(1,0,cfg_txt[ y + 1 ]); 269 3 lcd_puts(2,0,cfg_txt[ y + 2 ]); 270 3 lcd_puts(3,0,cfg_txt[ y + 3 ]); 271 3 272 3 upd = 0; 273 3 } 274 2 275 2 lcd_setcursor(_y,0); 276 2 lcd_putchar( cf ); 277 2 278 2 279 2 KEY = readkey(); 280 2 281 2 if(KEY == KEY_DOWN ){ 282 3 283 3 lcd_setcursor(_y,0); 284 3 lcd_putchar(' '); 285 3 286 3 _y++; 287 3 if(_y > 3 ){ 288 4 if( y < CFGLASTOFFSET ) { 289 5 y++; 290 5 upd = 1; 291 5 } 292 4 _y = 3; 293 4 } 294 3 continue; 295 3 } 296 2 297 2 if(KEY == KEY_UP ){ 298 3 299 3 lcd_setcursor(_y,0); 300 3 lcd_putchar(' '); 301 3 302 3 if(_y > 0 ){ 303 4 _y--; 304 4 } 305 3 else { 306 4 if( y > 0 ){ 307 5 y--; 308 5 upd = 1; 309 5 } 310 4 _y = 0; 311 4 } 312 3 continue; 313 3 } 314 2 315 2 316 2 if(KEY == KEY_E ){ 317 3 318 3 cmd = y + _y; 319 3 320 3 switch( cmd ) { 321 4 322 4 case 0: 323 4 //setting date-time C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 6 324 4 325 4 stopTimerInt(); 326 4 327 4 if( usrGetDateTime() ){ 328 5 329 5 //Time.Weekday = THURSDAY; 330 5 Time.Date = INT2BCD(DAY); 331 5 Time.Month = INT2BCD(MONTH); 332 5 Time.Year = INT2BCD(YEAR); 333 5 Time.Hour = INT2BCD(HOUR); 334 5 Time.Minute = INT2BCD(MINUTE); 335 5 Time.Second = INT2BCD(SECOND); 336 5 337 5 if (RTCSetTime(&Time, RTCDEVICEID ) == RTC_SUCCESSFUL) { 338 6 339 6 setDaysOfMonth( MONTH, YEAR ); 340 6 startTimerInt(); 341 6 342 6 } 343 5 } 344 4 else { 345 5 startTimerInt(); 346 5 } 347 4 348 4 break; 349 4 350 4 351 4 case 1: 352 4 //latitude 353 4 LATITUDE = usrGetDouble( 0 , LATITUDE ); 354 4 break; 355 4 356 4 357 4 case 2: 358 4 //longitude 359 4 LONGITUDE = usrGetDouble( 0 , LONGITUDE ); 360 4 break; 361 4 362 4 363 4 case 3: 364 4 //encoder horizontal 365 4 CFG_ENC_HO = usrGetInt( 0 , CFG_ENC_HO ); 366 4 ARC10PERENCHO = ARC10_360 / CFG_ENC_HO; 367 4 break; 368 4 369 4 case 4: 370 4 //encoder vertical 371 4 CFG_ENC_VE = usrGetInt( 0 , CFG_ENC_VE ); 372 4 ARC10PERENCVE = ARC10_360 / CFG_ENC_VE; 373 4 break; 374 4 375 4 case 5: 376 4 //halfstepsize horizontal 377 4 CFG_HSTS_HO = usrGetDouble( 0 , CFG_HSTS_HO ); 378 4 break; 379 4 380 4 case 6: 381 4 //halfstepsize vertical 382 4 CFG_HSTS_VE = usrGetDouble( 0 , CFG_HSTS_VE ); 383 4 break; 384 4 385 4 case 7: 386 4 //halfstepsize fieldrotator 387 4 CFG_HSTS_FR = usrGetDouble( 0 , CFG_HSTS_FR ); 388 4 break; 389 4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 7 390 4 case 8: 391 4 //speed 1 horizontal correction 392 4 CFG_SP1_HO = usrGetInt( 0 , CFG_SP1_HO ); 393 4 break; 394 4 395 4 case 9: 396 4 //speed 1 vertical correction 397 4 CFG_SP1_VE = usrGetInt( 0 , CFG_SP1_VE ); 398 4 break; 399 4 400 4 case 10: 401 4 //speed 2 horizontal correction 402 4 CFG_SP2_HO = usrGetInt( 0 , CFG_SP2_HO ); 403 4 break; 404 4 405 4 case 11: 406 4 //speed 2 vertical correction 407 4 CFG_SP2_VE = usrGetInt( 0 , CFG_SP2_VE ); 408 4 break; 409 4 410 4 case 12: 411 4 //speed horizontal goto / guiding 412 4 CFG_SP3_HO = usrGetInt( 0 , CFG_SP3_HO ); 413 4 break; 414 4 415 4 case 13: 416 4 //speed vertical goto / guiding 417 4 CFG_SP3_VE = usrGetInt( 0 , CFG_SP3_VE ); 418 4 break; 419 4 420 4 case 14: 421 4 //speed fieldrotator 422 4 CFG_SP_FR = usrGetInt( 0 , CFG_SP_FR ); 423 4 break; 424 4 425 4 case 15: 426 4 //on, off encoder hor 427 4 v1 = 0; 428 4 if( ENCHO_USE ){ 429 5 v1 = 1; 430 5 } 431 4 v1 = usrGetOnOff("ENCODER HO", v1); 432 4 ENCHO_USE = OFF; 433 4 if(v1){ 434 5 ENCHO_USE = ON; 435 5 } 436 4 break; 437 4 438 4 case 16: 439 4 //on, off encoder ver 440 4 v1 = 0; 441 4 if( ENCVE_USE ){ 442 5 v1 = 1; 443 5 } 444 4 v1 = usrGetOnOff("ENCODER VE", v1); 445 4 ENCVE_USE = OFF; 446 4 if(v1){ 447 5 ENCVE_USE = ON; 448 5 } 449 4 break; 450 4 451 4 452 4 case 17: 453 4 //show calculated 1/10 arcseconds values of encoders 454 4 showEncoders( 1 ); 455 4 break; C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 8 456 4 457 4 case 18: 458 4 //show calculated 1/10 arcseconds encodervalues as az/alt degrees 459 4 showEncoders( 2 ); 460 4 break; 461 4 462 4 case 19: 463 4 //show calculated 1/10 arcseconds encodervalues as ra/dec hours/degrees 464 4 showEncoders( 3 ); 465 4 break; 466 4 467 4 case 20: 468 4 if( ENCHO_USE == ON ) { 469 5 encAutoTestHo(); 470 5 } 471 4 break; 472 4 473 4 case 21: 474 4 if( ENCVE_USE == ON ) { 475 5 encAutoTestVe(); 476 5 } 477 4 break; 478 4 479 4 case 22: 480 4 setConfiguration(); 481 4 break; 482 4 483 4 case 23: 484 4 curconfig = 0; 485 4 getConfiguration(); 486 4 break; 487 4 488 4 case 24: 489 4 curconfig = 1; 490 4 getConfiguration(); 491 4 break; 492 4 493 4 case 25: 494 4 curconfig = 2; 495 4 getConfiguration(); 496 4 break; 497 4 498 4 case 26: 499 4 curconfig = 3; 500 4 getConfiguration(); 501 4 break; 502 4 503 4 case 27: 504 4 setListObj(); 505 4 break; 506 4 507 4 case 28: 508 4 if( usrGetAck("START DOWNLOAD ?") ){ 509 5 serialObjListDownload(); 510 5 } 511 4 break; 512 4 513 4 514 4 } 515 3 516 3 upd = 1; 517 3 518 3 } 519 2 520 2 521 2 } C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 9 522 1 523 1 } 524 525 526 527 528 529 void main( void ) 530 { 531 1 REAL_TIME Time; 532 1 unsigned char KEY; 533 1 unsigned char y,upd,cf; 534 1 535 1 ADDRSEL1 = 0x0406; 536 1 BUSCON1 = 0x04AE; 537 1 538 1 ADDRSEL2 = 0x0806; 539 1 BUSCON2 = 0xc40b; 540 1 541 1 ADDRSEL3 = 0x0C06; 542 1 BUSCON3 = 0x04AE; 543 1 544 1 ADDRSEL4 = 0x1000; 545 1 BUSCON4 = 0x060D; 546 1 547 1 548 1 DP2_8 = INPUT; 549 1 DP2_9 = INPUT; 550 1 DP2_10 = INPUT; 551 1 DP2_11 = INPUT; 552 1 553 1 DP7_0 = OUTPUT; 554 1 DP7_1 = OUTPUT; 555 1 DP7_2 = OUTPUT; 556 1 DP7_3 = OUTPUT; 557 1 DP7_4 = OUTPUT; 558 1 DP7_5 = OUTPUT; 559 1 DP7_6 = OUTPUT; 560 1 DP7_7 = OUTPUT; 561 1 562 1 DP8_0 = OUTPUT; 563 1 DP8_1 = OUTPUT; 564 1 DP8_2 = OUTPUT; 565 1 DP8_3 = OUTPUT; 566 1 DP8_4 = OUTPUT; 567 1 568 1 569 1 ENC_FLAGS = 0; 570 1 MOT_FLAGS = 0; 571 1 DISABLEMOTORS; 572 1 P7 = hsteps[0]; 573 1 P8 = hsteps[0] & 0x0f; 574 1 DISABLEMOTORS; 575 1 576 1 init_lcd(); 577 1 lcd_on(0); 578 1 lcd_clear(); 579 1 580 1 581 1 YEAR = 2003; 582 1 MONTH = 1; 583 1 DAY = 1; 584 1 HOUR = 0; 585 1 MINUTE = 0; 586 1 SECOND = 0; 587 1 MSECOND = 0; C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 10 588 1 TIMER10 = 0; 589 1 THISMDAYS = 31; 590 1 591 1 config_reset(); 592 1 593 1 594 1 HSTEP_HO = 0; 595 1 HSTEP_VE = 0; 596 1 HSTEP_FR = 0; 597 1 598 1 lcd_puts(0,0,main_txt0); 599 1 lcd_puts(1,0,main_txt1); 600 1 lcd_puts(2,0,main_txt2); 601 1 lcd_puts(3,0,main_txt3); 602 1 603 1 604 1 /////////// 605 1 IEN = 1; 606 1 ////////// 607 1 608 1 609 1 initTimerInt(); 610 1 611 1 /// here we should get date/time from rtc. 612 1 /// and set YEAR ... to values 613 1 if (RTCGetTime(&Time, RTCDEVICEID ) == RTC_SUCCESSFUL) { 614 2 615 2 DAY = BCD2INT( Time.Date ); 616 2 MONTH = BCD2INT( Time.Month ); 617 2 YEAR = BCD2INT( Time.Year ); 618 2 HOUR = BCD2INT( Time.Hour ); 619 2 MINUTE = BCD2INT( Time.Minute ); 620 2 SECOND = BCD2INT( Time.Second ); 621 2 622 2 setDaysOfMonth( MONTH, YEAR ); 623 2 624 2 startTimerInt(); 625 2 } 626 1 627 1 628 1 initEncoderInts(); 629 1 630 1 wait_10ms(100); 631 1 wait_10ms(100); 632 1 wait_10ms(100); 633 1 634 1 lcd_clear(); 635 1 wait_10ms(1); 636 1 637 1 y = 0; 638 1 upd = 1; 639 1 640 1 while(1){ 641 2 642 2 if( upd ) { 643 3 644 3 switch( curconfig ){ 645 4 case 0: cf = '1';break; 646 4 case 1: cf = '2';break; 647 4 case 2: cf = '3';break; 648 4 case 3: cf = '4';break; 649 4 } 650 3 651 3 lcd_clear(); 652 3 lcd_puts(0,0,menu_txt[ 0 ]); 653 3 lcd_puts(1,0,menu_txt[ 1 ]); C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 11 654 3 lcd_puts(2,0,menu_txt[ 2 ]); 655 3 656 3 upd = 0; 657 3 } 658 2 659 2 printDateTime(3); 660 2 661 2 lcd_setcursor(y,0); 662 2 lcd_putchar( cf ); 663 2 664 2 665 2 KEY = readkey(); 666 2 667 2 if(KEY == KEY_DOWN ){ 668 3 669 3 lcd_setcursor(y,0); 670 3 lcd_putchar(' '); 671 3 672 3 if(y < 2 ){ 673 4 y++; 674 4 } 675 3 676 3 continue; 677 3 } 678 2 679 2 if(KEY == KEY_UP ){ 680 3 681 3 lcd_setcursor(y,0); 682 3 lcd_putchar(' '); 683 3 684 3 if( y > 0 ){ 685 4 y--; 686 4 } 687 3 continue; 688 3 } 689 2 690 2 691 2 if(KEY == KEY_E ){ 692 3 693 3 switch( y ) { 694 4 695 4 case 0: 696 4 // program scope 697 4 scope(); 698 4 break; 699 4 700 4 case 1: 701 4 // program scope 702 4 encode(); 703 4 break; 704 4 705 4 case 2: 706 4 // program scope 707 4 config(); 708 4 break; 709 4 710 4 711 4 } 712 3 713 3 upd = 1; 714 3 715 3 } 716 2 717 2 718 2 } 719 1 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 12 720 1 } 721 722 723 724 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 13 ASSEMBLY LISTING OF GENERATED OBJECT CODE ; FUNCTION init_serial (BEGIN RMASK = @0x4000) ; SOURCE LINE # 6 ;---- Variable 'baud' assigned to Register 'R8' ---- ; SOURCE LINE # 8 0000 AFE2 BSET TxD ; SOURCE LINE # 9 0002 AFE3 BSET DTxD ; SOURCE LINE # 10 0004 BEE3 BCLR DRxD ; SOURCE LINE # 11 0006 E6B68000 MOV S0TIC,#080H ; SOURCE LINE # 13 000A E6B70000 MOV S0RIC,#00H ; SOURCE LINE # 15 000E F6F8B4FE MOV S0BG,R8 ; SOURCE LINE # 16 0012 E6D81180 MOV S0CON,#08011H ; SOURCE LINE # 17 0016 DB00 RETS ; FUNCTION init_serial (END RMASK = @0x4000) ; FUNCTION wait_100mues (BEGIN RMASK = @0x4060) ; SOURCE LINE # 20 ;---- Variable 'Multiplikator' assigned to Register 'R8' ---- ; SOURCE LINE # 21 ; SOURCE LINE # 24 0018 E10C MOVB RL6,#00H ;---- Variable 'a' assigned to Register 'RL6' ---- 001A 0D06 JMPR cc_UC,?C0003 ; SOURCE LINE # 25 001C ?C0010: 001C E10A MOVB RL5,#00H ;---- Variable 'i' assigned to Register 'RL5' ---- 001E ?C0006: 001E 09A1 ADDB RL5,#01H 0020 47FA8200 CMPB RL5,#082H 0024 8DFC JMPR cc_ULT,?C0006 0026 ?C0007: ; SOURCE LINE # 26 0026 09C1 ADDB RL6,#01H 0028 ?C0003: 0028 F058 MOV R5,R8 002A 41CA CMPB RL6,RL5 002C 8DF7 JMPR cc_ULT,?C0010 002E ?C0002: ; SOURCE LINE # 27 002E DB00 RETS ; FUNCTION wait_100mues (END RMASK = @0x4060) ; FUNCTION wait_10ms (BEGIN RMASK = @0x4060) ; SOURCE LINE # 30 ;---- Variable 'Multiplikator' assigned to Register 'R8' ---- ; SOURCE LINE # 31 ; SOURCE LINE # 34 0030 E10C MOVB RL6,#00H ;---- Variable 'a' assigned to Register 'RL6' ---- 0032 0D05 JMPR cc_UC,?C0013 ; SOURCE LINE # 35 0034 ?C0020: 0034 E005 MOV R5,#00H ;---- Variable 'i' assigned to Register 'R5' ---- 0036 ?C0016: 0036 86F51F4E CMPI1 R5,#04E1FH C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 14 003A 8DFD JMPR cc_ULT,?C0016 003C ?C0017: ; SOURCE LINE # 36 003C 09C1 ADDB RL6,#01H 003E ?C0013: 003E F058 MOV R5,R8 0040 41CA CMPB RL6,RL5 0042 8DF8 JMPR cc_ULT,?C0020 0044 ?C0012: ; SOURCE LINE # 37 0044 DB00 RETS ; FUNCTION wait_10ms (END RMASK = @0x4060) ; FUNCTION init_lcd (BEGIN RMASK = @0x41F0) ; SOURCE LINE # 43 ; SOURCE LINE # 44 ; SOURCE LINE # 47 0046 E028 MOV R8,#02H 0048 DA000000 R CALLS SEG (wait_10ms),wait_10ms ; SOURCE LINE # 49 004C E10E MOVB RL7,#00H ;---- Variable 'i' assigned to Register 'RL7' ---- 004E E7F83000 MOVB RL4,#030H 0052 ?C0024: ; SOURCE LINE # 50 0052 D7402000 EXTP #020H,#01H 0056 F7F80000 MOVB 00H,RL4 ; SOURCE LINE # 51 005A E018 MOV R8,#01H 005C DA000000 R CALLS SEG (wait_10ms),wait_10ms ; SOURCE LINE # 52 0060 09E1 ADDB RL7,#01H 0062 49E2 CMPB RL7,#02H 0064 FDF6 JMPR cc_ULE,?C0024 0066 ?C0022: ; SOURCE LINE # 54 0066 ?C0026: 0066 D7402000 EXTP #020H,#01H 006A F3F80200 MOVB RL4,02H 006E 67F88000 ANDB RL4,#080H 0072 3DF9 JMPR cc_NZ,?C0026 0074 ?C0027: ; SOURCE LINE # 55 0074 E7F83800 MOVB RL4,#038H 0078 D7402000 EXTP #020H,#01H 007C F7F80000 MOVB 00H,RL4 ; SOURCE LINE # 57 0080 ?C0030: 0080 D7402000 EXTP #020H,#01H 0084 F3F80200 MOVB RL4,02H 0088 67F88000 ANDB RL4,#080H 008C 3DF9 JMPR cc_NZ,?C0030 008E ?C0031: ; SOURCE LINE # 58 008E E1E8 MOVB RL4,#0EH 0090 D7402000 EXTP #020H,#01H 0094 F7F80000 MOVB 00H,RL4 ; SOURCE LINE # 60 0098 ?C0034: 0098 D7402000 EXTP #020H,#01H 009C F3F80200 MOVB RL4,02H 00A0 67F88000 ANDB RL4,#080H 00A4 3DF9 JMPR cc_NZ,?C0034 00A6 ?C0035: ; SOURCE LINE # 61 00A6 E168 MOVB RL4,#06H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 15 00A8 D7402000 EXTP #020H,#01H 00AC F7F80000 MOVB 00H,RL4 ; SOURCE LINE # 63 00B0 DB00 RETS ; FUNCTION init_lcd (END RMASK = @0x41F0) ; FUNCTION lcd_off (BEGIN RMASK = @0x4010) ; SOURCE LINE # 68 ; SOURCE LINE # 70 00B2 ?C0038: 00B2 D7402000 EXTP #020H,#01H 00B6 F3F80200 MOVB RL4,02H 00BA 67F88000 ANDB RL4,#080H 00BE 3DF9 JMPR cc_NZ,?C0038 00C0 ?C0039: ; SOURCE LINE # 71 00C0 E188 MOVB RL4,#08H 00C2 D7402000 EXTP #020H,#01H 00C6 F7F80000 MOVB 00H,RL4 ; SOURCE LINE # 72 00CA DB00 RETS ; FUNCTION lcd_off (END RMASK = @0x4010) ; FUNCTION lcd_on (BEGIN RMASK = @0x4010) ; SOURCE LINE # 82 ;---- Variable 'n' assigned to Register 'R8' ---- ; SOURCE LINE # 84 00CC ?C0042: 00CC D7402000 EXTP #020H,#01H 00D0 F3F80200 MOVB RL4,02H 00D4 67F88000 ANDB RL4,#080H 00D8 3DF9 JMPR cc_NZ,?C0042 00DA ?C0043: ; SOURCE LINE # 85 00DA F048 MOV R4,R8 00DC 2981 SUBB RL4,#01H 00DE 2D0A JMPR cc_Z,?C0048 00E0 2981 SUBB RL4,#01H 00E2 2D0E JMPR cc_Z,?C0049 00E4 0982 ADDB RL4,#02H 00E6 3D11 JMPR cc_NZ,?C0046 ; SOURCE LINE # 86 00E8 ?C0047: 00E8 E1C8 MOVB RL4,#0CH 00EA D7402000 EXTP #020H,#01H 00EE F7F80000 MOVB 00H,RL4 ; SOURCE LINE # 87 00F2 DB00 RETS ; SOURCE LINE # 88 00F4 ?C0048: 00F4 E1E8 MOVB RL4,#0EH 00F6 D7402000 EXTP #020H,#01H 00FA F7F80000 MOVB 00H,RL4 ; SOURCE LINE # 89 00FE DB00 RETS ; SOURCE LINE # 90 0100 ?C0049: 0100 E1F8 MOVB RL4,#0FH 0102 D7402000 EXTP #020H,#01H 0106 F7F80000 MOVB 00H,RL4 ; SOURCE LINE # 91 ; SOURCE LINE # 92 010A ?C0046: ; SOURCE LINE # 93 010A DB00 RETS ; FUNCTION lcd_on (END RMASK = @0x4010) C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 16 ; FUNCTION lcd_clear (BEGIN RMASK = @0x4010) ; SOURCE LINE # 98 ; SOURCE LINE # 100 010C ?C0050: 010C D7402000 EXTP #020H,#01H 0110 F3F80200 MOVB RL4,02H 0114 67F88000 ANDB RL4,#080H 0118 3DF9 JMPR cc_NZ,?C0050 011A ?C0051: ; SOURCE LINE # 101 011A E118 MOVB RL4,#01H 011C D7402000 EXTP #020H,#01H 0120 F7F80000 MOVB 00H,RL4 ; SOURCE LINE # 102 0124 DB00 RETS ; FUNCTION lcd_clear (END RMASK = @0x4010) ; FUNCTION lcd_setcursor (BEGIN RMASK = @0x4030) ; SOURCE LINE # 111 ;---- Variable 's' assigned to Register 'R9' ---- ;---- Variable 'z' assigned to Register 'R8' ---- ;---- Variable 'csr_pos' assigned to Register 'RL5' ---- ; SOURCE LINE # 112 ; SOURCE LINE # 115 0126 F048 MOV R4,R8 0128 2981 SUBB RL4,#01H 012A 2D08 JMPR cc_Z,?C0056 012C 2981 SUBB RL4,#01H 012E 2D0A JMPR cc_Z,?C0057 0130 2981 SUBB RL4,#01H 0132 2D0C JMPR cc_Z,?C0058 0134 0983 ADDB RL4,#03H 0136 3D0D JMPR cc_NZ,?C0062 ; SOURCE LINE # 116 0138 ?C0055: 0138 F059 MOV R5,R9 ; SOURCE LINE # 117 013A 0D0B JMPR cc_UC,?C0062 ; SOURCE LINE # 118 013C ?C0056: 013C F059 MOV R5,R9 013E 07FA4000 ADDB RL5,#040H ; SOURCE LINE # 119 0142 0D07 JMPR cc_UC,?C0062 ; SOURCE LINE # 120 0144 ?C0057: 0144 F059 MOV R5,R9 0146 07FA1000 ADDB RL5,#010H ; SOURCE LINE # 121 014A 0D03 JMPR cc_UC,?C0062 ; SOURCE LINE # 122 014C ?C0058: 014C F059 MOV R5,R9 014E 07FA5000 ADDB RL5,#050H ; SOURCE LINE # 123 ; SOURCE LINE # 124 ; SOURCE LINE # 125 0152 ?C0062: 0152 ?C0059: 0152 D7402000 EXTP #020H,#01H 0156 F3F80200 MOVB RL4,02H 015A 67F88000 ANDB RL4,#080H 015E 3DF9 JMPR cc_NZ,?C0059 0160 ?C0060: ; SOURCE LINE # 126 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 17 0160 F18A MOVB RL4,RL5 0162 77F88000 ORB RL4,#080H 0166 D7402000 EXTP #020H,#01H 016A F7F80000 MOVB 00H,RL4 ; SOURCE LINE # 127 016E DB00 RETS ; FUNCTION lcd_setcursor (END RMASK = @0x4030) ; FUNCTION lcd_putchar (BEGIN RMASK = @0x4010) ; SOURCE LINE # 132 ;---- Variable 'zeichen' assigned to Register 'R8' ---- ; SOURCE LINE # 135 0170 ?C0063: 0170 D7402000 EXTP #020H,#01H 0174 F3F80200 MOVB RL4,02H 0178 67F88000 ANDB RL4,#080H 017C 3DF9 JMPR cc_NZ,?C0063 017E ?C0064: ; SOURCE LINE # 136 017E F048 MOV R4,R8 0180 D7402000 EXTP #020H,#01H 0184 F7F80100 MOVB 01H,RL4 ; SOURCE LINE # 137 0188 DB00 RETS ; FUNCTION lcd_putchar (END RMASK = @0x4010) ; FUNCTION lcd_puts (BEGIN RMASK = @0x43F0) ; SOURCE LINE # 150 ;---- Variable 'a' assigned to Register 'R10/R11' ---- ;---- Variable 's' assigned to Register 'R9' ---- ;---- Variable 'z' assigned to Register 'R8' ---- ; SOURCE LINE # 151 ; SOURCE LINE # 153 018A F049 MOV R4,R9 018C C089 MOVBZ R9,RL4 018E F048 MOV R4,R8 0190 C088 MOVBZ R8,RL4 0192 DA000000 R CALLS SEG (lcd_setcursor),lcd_setcursor ; SOURCE LINE # 155 0196 E10E MOVB RL7,#00H ;---- Variable 'i' assigned to Register 'RL7' ---- ; SOURCE LINE # 156 0198 0D13 JMPR cc_UC,?C0067 ; SOURCE LINE # 157 019A ?C0074: 019A ?C0071: 019A D7402000 EXTP #020H,#01H 019E F3F80200 MOVB RL4,02H 01A2 67F88000 ANDB RL4,#080H 01A6 3DF9 JMPR cc_NZ,?C0071 01A8 ?C0072: ; SOURCE LINE # 158 01A8 CC00 NOP ; SOURCE LINE # 159 01AA C0E6 MOVBZ R6,RL7 01AC F04A MOV R4,R10 01AE 0046 ADD R4,R6 01B0 DC4B EXTP R11,#01H 01B2 A984 MOVB RL4,[R4] 01B4 D7402000 EXTP #020H,#01H 01B8 F7F80100 MOVB 01H,RL4 ; SOURCE LINE # 160 01BC CC00 NOP ; SOURCE LINE # 161 01BE 09E1 ADDB RL7,#01H ; SOURCE LINE # 162 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 18 01C0 ?C0067: 01C0 C0E6 MOVBZ R6,RL7 01C2 F04A MOV R4,R10 01C4 0046 ADD R4,R6 01C6 DC4B EXTP R11,#01H 01C8 A984 MOVB RL4,[R4] 01CA 3DE7 JMPR cc_NZ,?C0074 01CC ?C0068: ; SOURCE LINE # 163 01CC DB00 RETS ; FUNCTION lcd_puts (END RMASK = @0x43F0) ; FUNCTION testkey (BEGIN RMASK = @0x4030) ; SOURCE LINE # 170 ; SOURCE LINE # 173 01CE F2F4A0FF MOV R4,ADCON 01D2 66F40001 AND R4,#0100H 01D6 2D02 JMPR cc_Z,?C0075 ; SOURCE LINE # 174 01D8 E108 MOVB RL4,#00H 01DA DB00 RETS ; SOURCE LINE # 175 01DC ?C0075: ; SOURCE LINE # 177 01DC E6D08000 MOV ADCON,#080H ; SOURCE LINE # 178 01E0 ?C0077: 01E0 F2F4A0FF MOV R4,ADCON 01E4 66F40001 AND R4,#0100H 01E8 3DFB JMPR cc_NZ,?C0077 01EA ?C0078: ; SOURCE LINE # 180 01EA F2F5A0FE MOV R5,ADDAT 01EE 66F5FF03 AND R5,#03FFH ;---- Variable 'val' assigned to Register 'R5' ---- ; SOURCE LINE # 182 01F2 46F5B603 CMP R5,#03B6H 01F6 9D2D JMPR cc_UGE,?C0081 ; SOURCE LINE # 184 01F8 46F55203 CMP R5,#0352H 01FC FD03 JMPR cc_ULE,?C0082 ; SOURCE LINE # 185 01FE E7F83900 MOVB RL4,#039H 0202 DB00 RETS ; SOURCE LINE # 186 0204 ?C0082: ; SOURCE LINE # 188 0204 46F5EE02 CMP R5,#02EEH 0208 FD03 JMPR cc_ULE,?C0083 ; SOURCE LINE # 189 020A E7F83000 MOVB RL4,#030H 020E DB00 RETS ; SOURCE LINE # 190 0210 ?C0083: ; SOURCE LINE # 192 0210 46F58A02 CMP R5,#028AH 0214 FD03 JMPR cc_ULE,?C0084 ; SOURCE LINE # 193 0216 E7F84300 MOVB RL4,#043H 021A DB00 RETS ; SOURCE LINE # 194 021C ?C0084: ; SOURCE LINE # 196 021C 46F5F401 CMP R5,#01F4H 0220 FD03 JMPR cc_ULE,?C0085 ; SOURCE LINE # 197 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 19 0222 E7F84500 MOVB RL4,#045H 0226 DB00 RETS ; SOURCE LINE # 198 0228 ?C0085: ; SOURCE LINE # 200 0228 46F55E01 CMP R5,#015EH 022C FD03 JMPR cc_ULE,?C0086 ; SOURCE LINE # 201 022E E7F84400 MOVB RL4,#044H 0232 DB00 RETS ; SOURCE LINE # 202 0234 ?C0086: ; SOURCE LINE # 204 0234 46F59600 CMP R5,#096H 0238 FD03 JMPR cc_ULE,?C0087 ; SOURCE LINE # 205 023A E7F84C00 MOVB RL4,#04CH 023E DB00 RETS ; SOURCE LINE # 206 0240 ?C0087: ; SOURCE LINE # 208 0240 46F53200 CMP R5,#032H 0244 FD03 JMPR cc_ULE,?C0088 ; SOURCE LINE # 209 0246 E7F85500 MOVB RL4,#055H 024A DB00 RETS ; SOURCE LINE # 210 024C ?C0088: ; SOURCE LINE # 212 024C E7F85200 MOVB RL4,#052H 0250 DB00 RETS ; SOURCE LINE # 213 0252 ?C0081: ; SOURCE LINE # 215 0252 E6D08100 MOV ADCON,#081H ; SOURCE LINE # 216 0256 ?C0089: 0256 F2F4A0FF MOV R4,ADCON 025A 66F40001 AND R4,#0100H 025E 3DFB JMPR cc_NZ,?C0089 0260 ?C0090: ; SOURCE LINE # 218 0260 F2F4A0FE MOV R4,ADDAT 0264 F054 MOV R5,R4 0266 66F5FF03 AND R5,#03FFH ; SOURCE LINE # 220 026A 46F5B603 CMP R5,#03B6H 026E 8D02 JMPR cc_ULT,?C0093 ; SOURCE LINE # 221 0270 E108 MOVB RL4,#00H 0272 DB00 RETS ; SOURCE LINE # 222 0274 ?C0093: ; SOURCE LINE # 224 0274 46F55203 CMP R5,#0352H 0278 FD03 JMPR cc_ULE,?C0094 ; SOURCE LINE # 225 027A E7F83100 MOVB RL4,#031H 027E DB00 RETS ; SOURCE LINE # 226 0280 ?C0094: ; SOURCE LINE # 228 0280 46F5EE02 CMP R5,#02EEH 0284 FD03 JMPR cc_ULE,?C0095 ; SOURCE LINE # 229 0286 E7F83200 MOVB RL4,#032H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 20 028A DB00 RETS ; SOURCE LINE # 230 028C ?C0095: ; SOURCE LINE # 232 028C 46F58A02 CMP R5,#028AH 0290 FD03 JMPR cc_ULE,?C0096 ; SOURCE LINE # 233 0292 E7F83300 MOVB RL4,#033H 0296 DB00 RETS ; SOURCE LINE # 234 0298 ?C0096: ; SOURCE LINE # 236 0298 46F5F401 CMP R5,#01F4H 029C FD03 JMPR cc_ULE,?C0097 ; SOURCE LINE # 237 029E E7F83400 MOVB RL4,#034H 02A2 DB00 RETS ; SOURCE LINE # 238 02A4 ?C0097: ; SOURCE LINE # 240 02A4 46F55E01 CMP R5,#015EH 02A8 FD03 JMPR cc_ULE,?C0098 ; SOURCE LINE # 241 02AA E7F83800 MOVB RL4,#038H 02AE DB00 RETS ; SOURCE LINE # 242 02B0 ?C0098: ; SOURCE LINE # 244 02B0 46F59600 CMP R5,#096H 02B4 FD03 JMPR cc_ULE,?C0099 ; SOURCE LINE # 245 02B6 E7F83700 MOVB RL4,#037H 02BA DB00 RETS ; SOURCE LINE # 246 02BC ?C0099: ; SOURCE LINE # 248 02BC 46F53200 CMP R5,#032H 02C0 FD03 JMPR cc_ULE,?C0100 ; SOURCE LINE # 249 02C2 E7F83600 MOVB RL4,#036H 02C6 DB00 RETS ; SOURCE LINE # 250 02C8 ?C0100: ; SOURCE LINE # 252 02C8 E7F83500 MOVB RL4,#035H ; SOURCE LINE # 254 02CC ?C0076: 02CC DB00 RETS ; FUNCTION testkey (END RMASK = @0x4030) ; FUNCTION readkey (BEGIN RMASK = @0x41F0) ; SOURCE LINE # 271 ; SOURCE LINE # 274 02CE DA000000 R CALLS SEG (testkey),testkey 02D2 F1E8 MOVB RL7,RL4 ;---- Variable 'val' assigned to Register 'RL7' ---- ; SOURCE LINE # 276 02D4 49E0 CMPB RL7,#00H 02D6 3D02 JMPR cc_NZ,?C0101 ; SOURCE LINE # 277 02D8 E108 MOVB RL4,#00H 02DA DB00 RETS ; SOURCE LINE # 278 02DC ?C0101: ; SOURCE LINE # 280 02DC E018 MOV R8,#01H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 21 02DE DA000000 R CALLS SEG (wait_10ms),wait_10ms ; SOURCE LINE # 282 02E2 DA000000 R CALLS SEG (testkey),testkey 02E6 418E CMPB RL4,RL7 02E8 2D02 JMPR cc_Z,?C0103 ; SOURCE LINE # 283 02EA E108 MOVB RL4,#00H 02EC DB00 RETS ; SOURCE LINE # 284 02EE ?C0103: ; SOURCE LINE # 286 02EE E018 MOV R8,#01H 02F0 DA000000 R CALLS SEG (wait_10ms),wait_10ms ; SOURCE LINE # 288 02F4 DA000000 R CALLS SEG (testkey),testkey 02F8 418E CMPB RL4,RL7 02FA 2D02 JMPR cc_Z,?C0108 ; SOURCE LINE # 289 02FC E108 MOVB RL4,#00H 02FE DB00 RETS ; SOURCE LINE # 290 ; SOURCE LINE # 292 0300 ?C0108: 0300 ?C0105: 0300 DA000000 R CALLS SEG (testkey),testkey 0304 418E CMPB RL4,RL7 0306 2DFC JMPR cc_Z,?C0105 0308 ?C0106: ; SOURCE LINE # 294 0308 F18E MOVB RL4,RL7 ; SOURCE LINE # 295 030A ?C0102: 030A DB00 RETS ; FUNCTION readkey (END RMASK = @0x41F0) ; FUNCTION setDaysOfMonth (BEGIN RMASK = @0x4010) ; SOURCE LINE # 302 ;---- Variable 'year' assigned to Register 'R9' ---- ;---- Variable 'month' assigned to Register 'R8' ---- ; SOURCE LINE # 304 030C F048 MOV R4,R8 030E 2841 SUB R4,#01H 0310 46F40C00 CMP R4,#0CH 0314 9D53 JMPR cc_NC,?C0109 0316 5C14 SHL R4,#01H 0318 06F41E03 R ADD R4,#?C0603 031C 9C04 JMPI cc_UC,[R4] 031E ?C0603: 031E 0D0B JMPR cc_UC,?C0110 0320 0D0F JMPR cc_UC,?C0111 0322 0D1B JMPR cc_UC,?C0112 0324 0D1F JMPR cc_UC,?C0113 0326 0D23 JMPR cc_UC,?C0114 0328 0D27 JMPR cc_UC,?C0115 032A 0D2B JMPR cc_UC,?C0116 032C 0D2F JMPR cc_UC,?C0117 032E 0D33 JMPR cc_UC,?C0118 0330 0D37 JMPR cc_UC,?C0119 0332 0D3B JMPR cc_UC,?C0120 0334 0D3F JMPR cc_UC,?C0121 ; SOURCE LINE # 306 0336 ?C0110: ; SOURCE LINE # 307 0336 E6F41F00 MOV R4,#01FH 033A F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 308 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 22 033E DB00 RETS ; SOURCE LINE # 309 0340 ?C0111: ; SOURCE LINE # 311 0340 46F9D407 CMP R9,#07D4H 0344 3D05 JMPR cc_NZ,?C0122 ; SOURCE LINE # 312 0346 E6F41D00 MOV R4,#01DH 034A F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 313 034E DB00 RETS 0350 ?C0122: ; SOURCE LINE # 315 0350 E6F41C00 MOV R4,#01CH 0354 F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 316 ; SOURCE LINE # 317 0358 DB00 RETS ; SOURCE LINE # 318 035A ?C0112: ; SOURCE LINE # 319 035A E6F41F00 MOV R4,#01FH 035E F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 320 0362 DB00 RETS ; SOURCE LINE # 321 0364 ?C0113: ; SOURCE LINE # 322 0364 E6F41E00 MOV R4,#01EH 0368 F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 323 036C DB00 RETS ; SOURCE LINE # 324 036E ?C0114: ; SOURCE LINE # 325 036E E6F41F00 MOV R4,#01FH 0372 F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 326 0376 DB00 RETS ; SOURCE LINE # 327 0378 ?C0115: ; SOURCE LINE # 328 0378 E6F41E00 MOV R4,#01EH 037C F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 329 0380 DB00 RETS ; SOURCE LINE # 330 0382 ?C0116: ; SOURCE LINE # 331 0382 E6F41F00 MOV R4,#01FH 0386 F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 332 038A DB00 RETS ; SOURCE LINE # 333 038C ?C0117: ; SOURCE LINE # 334 038C E6F41F00 MOV R4,#01FH 0390 F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 335 0394 DB00 RETS ; SOURCE LINE # 336 0396 ?C0118: ; SOURCE LINE # 337 0396 E6F41E00 MOV R4,#01EH 039A F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 338 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 23 039E DB00 RETS ; SOURCE LINE # 339 03A0 ?C0119: ; SOURCE LINE # 340 03A0 E6F41F00 MOV R4,#01FH 03A4 F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 341 03A8 DB00 RETS ; SOURCE LINE # 342 03AA ?C0120: ; SOURCE LINE # 343 03AA E6F41E00 MOV R4,#01EH 03AE F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 344 03B2 DB00 RETS ; SOURCE LINE # 345 03B4 ?C0121: ; SOURCE LINE # 346 03B4 E6F41F00 MOV R4,#01FH 03B8 F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 347 ; SOURCE LINE # 349 03BC ?C0109: ; SOURCE LINE # 350 03BC DB00 RETS ; FUNCTION setDaysOfMonth (END RMASK = @0x4010) ; FUNCTION cCurrentStarTime (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 17 03BE ECFD PUSH R13 03C0 06F048FF ADD R0,#0FF48H ; SOURCE LINE # 26 03C4 F2F40000 E MOV R4,YEAR 03C8 F054 MOV R5,R4 03CA BCF5 ASHR R5,#0FH 03CC F065 MOV R6,R5 03CE DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 03D2 C4406000 MOV [R0+#060H],R4 ; tmpa 03D6 C4506200 MOV [R0+#062H],R5 ; tmpa+2 03DA C4606400 MOV [R0+#064H],R6 ; tmpa+4 03DE C4706600 MOV [R0+#066H],R7 ; tmpa+6 ; SOURCE LINE # 27 03E2 F2F40000 E MOV R4,MONTH 03E6 F054 MOV R5,R4 03E8 BCF5 ASHR R5,#0FH 03EA F065 MOV R6,R5 03EC DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 03F0 E008 MOV R8,#00H 03F2 E009 MOV R9,#00H 03F4 E00A MOV R10,#00H 03F6 E6FB5940 MOV R11,#04059H 03FA DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 03FE C4406800 MOV [R0+#068H],R4 ; tmpb 0402 C4506A00 MOV [R0+#06AH],R5 ; tmpb+2 0406 C4606C00 MOV [R0+#06CH],R6 ; tmpb+4 040A C4706E00 MOV [R0+#06EH],R7 ; tmpb+6 ; SOURCE LINE # 28 040E F2F40000 E MOV R4,DAY 0412 F054 MOV R5,R4 0414 BCF5 ASHR R5,#0FH 0416 F065 MOV R6,R5 0418 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 041C E008 MOV R8,#00H 041E E009 MOV R9,#00H 0420 E6FA0088 MOV R10,#08800H 0424 E6FBC340 MOV R11,#040C3H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 24 0428 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 042C C4407000 MOV [R0+#070H],R4 ; tmpc 0430 C4507200 MOV [R0+#072H],R5 ; tmpc+2 0434 C4607400 MOV [R0+#074H],R6 ; tmpc+4 0438 C4707600 MOV [R0+#076H],R7 ; tmpc+6 ; SOURCE LINE # 30 043C D4806800 MOV R8,[R0+#068H] ; tmpb 0440 D4906A00 MOV R9,[R0+#06AH] ; tmpb+2 0444 D4A06C00 MOV R10,[R0+#06CH] ; tmpb+4 0448 D4B06E00 MOV R11,[R0+#06EH] ; tmpb+6 044C D4406000 MOV R4,[R0+#060H] ; tmpa 0450 D4506200 MOV R5,[R0+#062H] ; tmpa+2 0454 D4606400 MOV R6,[R0+#064H] ; tmpa+4 0458 D4706600 MOV R7,[R0+#066H] ; tmpa+6 045C DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0460 D4807000 MOV R8,[R0+#070H] ; tmpc 0464 D4907200 MOV R9,[R0+#072H] ; tmpc+2 0468 D4A07400 MOV R10,[R0+#074H] ; tmpc+4 046C D4B07600 MOV R11,[R0+#076H] ; tmpc+6 0470 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0474 C4408000 MOV [R0+#080H],R4 ; p 0478 C4508200 MOV [R0+#082H],R5 ; p+2 047C C4608400 MOV [R0+#084H],R6 ; p+4 0480 C4708600 MOV [R0+#086H],R7 ; p+6 ; SOURCE LINE # 33 0484 E02D MOV R13,#02H ;---- Variable 'CAL' assigned to Register 'R13' ---- ; SOURCE LINE # 34 0486 E6F82DB2 MOV R8,#0B22DH 048A E6F99DEF MOV R9,#0EF9DH 048E E6FA67B8 MOV R10,#0B867H 0492 E6FB9840 MOV R11,#04098H 0496 D4408000 MOV R4,[R0+#080H] ; p 049A D4508200 MOV R5,[R0+#082H] ; p+2 049E D4608400 MOV R6,[R0+#084H] ; p+4 04A2 D4708600 MOV R7,[R0+#086H] ; p+6 04A6 DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 04AA DD01 JMPR cc_SGE,?C0124 ; SOURCE LINE # 35 04AC E01D MOV R13,#01H ; SOURCE LINE # 36 04AE ?C0124: ; SOURCE LINE # 38 04AE F2F40000 E MOV R4,MONTH 04B2 4842 CMP R4,#02H 04B4 BD1F JMPR cc_SLE,?C0125 ; SOURCE LINE # 39 04B6 F2F40000 E MOV R4,YEAR 04BA F054 MOV R5,R4 04BC BCF5 ASHR R5,#0FH 04BE F065 MOV R6,R5 04C0 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 04C4 C4408800 MOV [R0+#088H],R4 ; j 04C8 C4508A00 MOV [R0+#08AH],R5 ; j+2 04CC C4608C00 MOV [R0+#08CH],R6 ; j+4 04D0 C4708E00 MOV [R0+#08EH],R7 ; j+6 ; SOURCE LINE # 40 04D4 F2F40000 E MOV R4,MONTH 04D8 F054 MOV R5,R4 04DA BCF5 ASHR R5,#0FH 04DC F065 MOV R6,R5 04DE DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 04E2 C4409000 MOV [R0+#090H],R4 ; m 04E6 C4509200 MOV [R0+#092H],R5 ; m+2 04EA C4609400 MOV [R0+#094H],R6 ; m+4 04EE C4709600 MOV [R0+#096H],R7 ; m+6 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 25 ; SOURCE LINE # 41 04F2 0D2C JMPR cc_UC,?C0126 04F4 ?C0125: ; SOURCE LINE # 43 04F4 F2F40000 E MOV R4,YEAR 04F8 F054 MOV R5,R4 04FA BCF5 ASHR R5,#0FH 04FC F065 MOV R6,R5 04FE DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 0502 E008 MOV R8,#00H 0504 E009 MOV R9,#00H 0506 E00A MOV R10,#00H 0508 E6FBF03F MOV R11,#03FF0H 050C DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 0510 C4408800 MOV [R0+#088H],R4 ; j 0514 C4508A00 MOV [R0+#08AH],R5 ; j+2 0518 C4608C00 MOV [R0+#08CH],R6 ; j+4 051C C4708E00 MOV [R0+#08EH],R7 ; j+6 ; SOURCE LINE # 44 0520 F2F40000 E MOV R4,MONTH 0524 F054 MOV R5,R4 0526 BCF5 ASHR R5,#0FH 0528 F065 MOV R6,R5 052A DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 052E E008 MOV R8,#00H 0530 E009 MOV R9,#00H 0532 E00A MOV R10,#00H 0534 E6FB2840 MOV R11,#04028H 0538 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 053C C4409000 MOV [R0+#090H],R4 ; m 0540 C4509200 MOV [R0+#092H],R5 ; m+2 0544 C4609400 MOV [R0+#094H],R6 ; m+4 0548 C4709600 MOV [R0+#096H],R7 ; m+6 ; SOURCE LINE # 45 054C ?C0126: ; SOURCE LINE # 47 054C E008 MOV R8,#00H 054E E009 MOV R9,#00H 0550 E00A MOV R10,#00H 0552 E6FBF03F MOV R11,#03FF0H 0556 D4409000 MOV R4,[R0+#090H] ; m 055A D4509200 MOV R5,[R0+#092H] ; m+2 055E D4609400 MOV R6,[R0+#094H] ; m+4 0562 D4709600 MOV R7,[R0+#096H] ; m+6 0566 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 056A F084 MOV R8,R4 056C F095 MOV R9,R5 056E F0A6 MOV R10,R6 0570 F0B7 MOV R11,R7 0572 E6F46154 MOV R4,#05461H 0576 E6F55227 MOV R5,#02752H 057A E6F6A099 MOV R6,#099A0H 057E E6F73E40 MOV R7,#0403EH 0582 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0586 F084 MOV R8,R4 0588 F095 MOV R9,R5 058A F0A6 MOV R10,R6 058C F0B7 MOV R11,R7 058E DA000000 E CALLS SEG (floor),floor 0592 ECF7 PUSH R7 0594 ECF6 PUSH R6 0596 ECF5 PUSH R5 0598 ECF4 PUSH R4 059A D4808800 MOV R8,[R0+#088H] ; j 059E D4908A00 MOV R9,[R0+#08AH] ; j+2 05A2 D4A08C00 MOV R10,[R0+#08CH] ; j+4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 26 05A6 D4B08E00 MOV R11,[R0+#08EH] ; j+6 05AA E004 MOV R4,#00H 05AC E005 MOV R5,#00H 05AE E6F600D4 MOV R6,#0D400H 05B2 E6F77640 MOV R7,#04076H 05B6 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 05BA F084 MOV R8,R4 05BC F095 MOV R9,R5 05BE F0A6 MOV R10,R6 05C0 F0B7 MOV R11,R7 05C2 DA000000 E CALLS SEG (floor),floor 05C6 FCF8 POP R8 05C8 FCF9 POP R9 05CA FCFA POP R10 05CC FCFB POP R11 05CE DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 05D2 ECF7 PUSH R7 05D4 ECF6 PUSH R6 05D6 ECF5 PUSH R5 05D8 ECF4 PUSH R4 05DA F2F40000 E MOV R4,DAY 05DE F054 MOV R5,R4 05E0 BCF5 ASHR R5,#0FH 05E2 F065 MOV R6,R5 05E4 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 05E8 F084 MOV R8,R4 05EA F095 MOV R9,R5 05EC F0A6 MOV R10,R6 05EE F0B7 MOV R11,R7 05F0 FCF4 POP R4 05F2 FCF5 POP R5 05F4 FCF6 POP R6 05F6 FCF7 POP R7 05F8 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 05FC E008 MOV R8,#00H 05FE E6F90080 MOV R9,#08000H 0602 E6FAA242 MOV R10,#042A2H 0606 E6FB3A41 MOV R11,#0413AH 060A DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 060E C4409800 MOV [R0+#098H],R4 ; jd 0612 C4509A00 MOV [R0+#09AH],R5 ; jd+2 0616 C4609C00 MOV [R0+#09CH],R6 ; jd+4 061A C4709E00 MOV [R0+#09EH],R7 ; jd+6 ; SOURCE LINE # 49 061E E008 MOV R8,#00H 0620 E009 MOV R9,#00H 0622 E00A MOV R10,#00H 0624 E6FB5940 MOV R11,#04059H 0628 D4408800 MOV R4,[R0+#088H] ; j 062C D4508A00 MOV R5,[R0+#08AH] ; j+2 0630 D4608C00 MOV R6,[R0+#08CH] ; j+4 0634 D4708E00 MOV R7,[R0+#08EH] ; j+6 0638 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 063C F084 MOV R8,R4 063E F095 MOV R9,R5 0640 F0A6 MOV R10,R6 0642 F0B7 MOV R11,R7 0644 DA000000 E CALLS SEG (floor),floor 0648 E008 MOV R8,#00H 064A E009 MOV R9,#00H 064C E00A MOV R10,#00H 064E E6FB1040 MOV R11,#04010H 0652 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 0656 F084 MOV R8,R4 0658 F095 MOV R9,R5 065A F0A6 MOV R10,R6 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 27 065C F0B7 MOV R11,R7 065E DA000000 E CALLS SEG (floor),floor 0662 ECF7 PUSH R7 0664 ECF6 PUSH R6 0666 ECF5 PUSH R5 0668 ECF4 PUSH R4 066A E008 MOV R8,#00H 066C E009 MOV R9,#00H 066E E00A MOV R10,#00H 0670 E6FB5940 MOV R11,#04059H 0674 D4408800 MOV R4,[R0+#088H] ; j 0678 D4508A00 MOV R5,[R0+#08AH] ; j+2 067C D4608C00 MOV R6,[R0+#08CH] ; j+4 0680 D4708E00 MOV R7,[R0+#08EH] ; j+6 0684 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 0688 F084 MOV R8,R4 068A F095 MOV R9,R5 068C F0A6 MOV R10,R6 068E F0B7 MOV R11,R7 0690 DA000000 E CALLS SEG (floor),floor 0694 F084 MOV R8,R4 0696 F095 MOV R9,R5 0698 F0A6 MOV R10,R6 069A F0B7 MOV R11,R7 069C E004 MOV R4,#00H 069E E005 MOV R5,#00H 06A0 E006 MOV R6,#00H 06A2 E6F70040 MOV R7,#04000H 06A6 DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 06AA FCF8 POP R8 06AC FCF9 POP R9 06AE FCFA POP R10 06B0 FCFB POP R11 06B2 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 06B6 C440A000 MOV [R0+#0A0H],R4 ; b 06BA C450A200 MOV [R0+#0A2H],R5 ; b+2 06BE C460A400 MOV [R0+#0A4H],R6 ; b+4 06C2 C470A600 MOV [R0+#0A6H],R7 ; b+6 ; SOURCE LINE # 52 06C6 48D2 CMP R13,#02H 06C8 DD11 JMPR cc_SGE,?C0127 ; SOURCE LINE # 53 06CA D4409800 MOV R4,[R0+#098H] ; jd 06CE D4509A00 MOV R5,[R0+#09AH] ; jd+2 06D2 D4609C00 MOV R6,[R0+#09CH] ; jd+4 06D6 D4709E00 MOV R7,[R0+#09EH] ; jd+6 06DA C440A800 MOV [R0+#0A8H],R4 ; JD 06DE C450AA00 MOV [R0+#0AAH],R5 ; JD+2 06E2 C460AC00 MOV [R0+#0ACH],R6 ; JD+4 06E6 C470AE00 MOV [R0+#0AEH],R7 ; JD+6 ; SOURCE LINE # 54 06EA 0D1A JMPR cc_UC,?C0128 06EC ?C0127: ; SOURCE LINE # 56 06EC D480A000 MOV R8,[R0+#0A0H] ; b 06F0 D490A200 MOV R9,[R0+#0A2H] ; b+2 06F4 D4A0A400 MOV R10,[R0+#0A4H] ; b+4 06F8 D4B0A600 MOV R11,[R0+#0A6H] ; b+6 06FC D4409800 MOV R4,[R0+#098H] ; jd 0700 D4509A00 MOV R5,[R0+#09AH] ; jd+2 0704 D4609C00 MOV R6,[R0+#09CH] ; jd+4 0708 D4709E00 MOV R7,[R0+#09EH] ; jd+6 070C DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0710 C440A800 MOV [R0+#0A8H],R4 ; JD 0714 C450AA00 MOV [R0+#0AAH],R5 ; JD+2 0718 C460AC00 MOV [R0+#0ACH],R6 ; JD+4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 28 071C C470AE00 MOV [R0+#0AEH],R7 ; JD+6 ; SOURCE LINE # 57 0720 ?C0128: ; SOURCE LINE # 66 0720 E008 MOV R8,#00H 0722 E6F90080 MOV R9,#08000H 0726 E6FA2CB4 MOV R10,#0B42CH 072A E6FB4241 MOV R11,#04142H 072E D440A800 MOV R4,[R0+#0A8H] ; JD 0732 D450AA00 MOV R5,[R0+#0AAH] ; JD+2 0736 D460AC00 MOV R6,[R0+#0ACH] ; JD+4 073A D470AE00 MOV R7,[R0+#0AEH] ; JD+6 073E DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 0742 E008 MOV R8,#00H 0744 E009 MOV R9,#00H 0746 E6FAA0D5 MOV R10,#0D5A0H 074A E6FBE140 MOV R11,#040E1H 074E DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 0752 B840 MOV [R0],R4 ; TN 0754 C4500200 MOV [R0+#02H],R5 ; TN+2 0758 C4600400 MOV [R0+#04H],R6 ; TN+4 075C C4700600 MOV [R0+#06H],R7 ; TN+6 ; SOURCE LINE # 68 0760 A880 MOV R8,[R0] ; TN 0762 D4900200 MOV R9,[R0+#02H] ; TN+2 0766 D4A00400 MOV R10,[R0+#04H] ; TN+4 076A D4B00600 MOV R11,[R0+#06H] ; TN+6 076E E6F4EB74 MOV R4,#074EBH 0772 E6F520EB MOV R5,#0EB20H 0776 E6F6A9D5 MOV R6,#0D5A9H 077A E6F7B73F MOV R7,#03FB7H 077E DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0782 A880 MOV R8,[R0] ; TN 0784 D4900200 MOV R9,[R0+#02H] ; TN+2 0788 D4A00400 MOV R10,[R0+#04H] ; TN+4 078C D4B00600 MOV R11,[R0+#06H] ; TN+6 0790 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0794 ECF7 PUSH R7 0796 ECF6 PUSH R6 0798 ECF5 PUSH R5 079A ECF4 PUSH R4 079C A880 MOV R8,[R0] ; TN 079E D4900200 MOV R9,[R0+#02H] ; TN+2 07A2 D4A00400 MOV R10,[R0+#04H] ; TN+4 07A6 D4B00600 MOV R11,[R0+#06H] ; TN+6 07AA E6F48FFF MOV R4,#0FF8FH 07AE E6F5021A MOV R5,#01A02H 07B2 E6F6D77A MOV R6,#07AD7H 07B6 E6F76041 MOV R7,#04160H 07BA DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 07BE E6F8B341 MOV R8,#041B3H 07C2 E6F92619 MOV R9,#01926H 07C6 E6FAA38B MOV R10,#08BA3H 07CA E6FBD740 MOV R11,#040D7H 07CE DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 07D2 FCF8 POP R8 07D4 FCF9 POP R9 07D6 FCFA POP R10 07D8 FCFB POP R11 07DA DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 07DE ECF7 PUSH R7 07E0 ECF6 PUSH R6 07E2 ECF5 PUSH R5 07E4 ECF4 PUSH R4 07E6 A880 MOV R8,[R0] ; TN 07E8 D4900200 MOV R9,[R0+#02H] ; TN+2 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 29 07EC D4A00400 MOV R10,[R0+#04H] ; TN+4 07F0 D4B00600 MOV R11,[R0+#06H] ; TN+6 07F4 E6F4CEC9 MOV R4,#0C9CEH 07F8 E6F5E605 MOV R5,#05E6H 07FC E6F63301 MOV R6,#0133H 0800 E6F7DA3E MOV R7,#03EDAH 0804 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0808 A880 MOV R8,[R0] ; TN 080A D4900200 MOV R9,[R0+#02H] ; TN+2 080E D4A00400 MOV R10,[R0+#04H] ; TN+4 0812 D4B00600 MOV R11,[R0+#06H] ; TN+6 0816 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 081A A880 MOV R8,[R0] ; TN 081C D4900200 MOV R9,[R0+#02H] ; TN+2 0820 D4A00400 MOV R10,[R0+#04H] ; TN+4 0824 D4B00600 MOV R11,[R0+#06H] ; TN+6 0828 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 082C F084 MOV R8,R4 082E F095 MOV R9,R5 0830 F0A6 MOV R10,R6 0832 F0B7 MOV R11,R7 0834 FCF4 POP R4 0836 FCF5 POP R5 0838 FCF6 POP R6 083A FCF7 POP R7 083C DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 0840 C4404800 MOV [R0+#048H],R4 ; GMST0 0844 C4504A00 MOV [R0+#04AH],R5 ; GMST0+2 0848 C4604C00 MOV [R0+#04CH],R6 ; GMST0+4 084C C4704E00 MOV [R0+#04EH],R7 ; GMST0+6 ; SOURCE LINE # 70 0850 E004 MOV R4,#00H 0852 E005 MOV R5,#00H 0854 E006 MOV R6,#00H 0856 E6F73840 MOV R7,#04038H 085A 8870 MOV [-R0],R7 085C 8860 MOV [-R0],R6 085E 8850 MOV [-R0],R5 0860 F0C4 MOV R12,R4 0862 ECFC PUSH R12 0864 E008 MOV R8,#00H 0866 E009 MOV R9,#00H 0868 E6FA0020 MOV R10,#02000H 086C E6FBAC40 MOV R11,#040ACH 0870 D4404E00 MOV R4,[R0+#04EH] ; GMST0 0874 D4505000 MOV R5,[R0+#050H] ; GMST0+2 0878 D4605200 MOV R6,[R0+#052H] ; GMST0+4 087C D4705400 MOV R7,[R0+#054H] ; GMST0+6 0880 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 0884 F084 MOV R8,R4 0886 F095 MOV R9,R5 0888 F0A6 MOV R10,R6 088A F0B7 MOV R11,R7 088C FCFC POP R12 088E DA000000 R CALLS SEG (REST),REST 0892 0806 ADD R0,#06H 0894 C4404800 MOV [R0+#048H],R4 ; GMST0 0898 C4504A00 MOV [R0+#04AH],R5 ; GMST0+2 089C C4604C00 MOV [R0+#04CH],R6 ; GMST0+4 08A0 C4704E00 MOV [R0+#04EH],R7 ; GMST0+6 ; SOURCE LINE # 72 08A4 D4404800 MOV R4,[R0+#048H] ; GMST0 08A8 D4504A00 MOV R5,[R0+#04AH] ; GMST0+2 08AC D4604C00 MOV R6,[R0+#04CH] ; GMST0+4 08B0 D4704E00 MOV R7,[R0+#04EH] ; GMST0+6 08B4 E008 MOV R8,#00H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 30 08B6 E009 MOV R9,#00H 08B8 E00A MOV R10,#00H 08BA E00B MOV R11,#00H 08BC DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 08C0 DD17 JMPR cc_SGE,?C0129 ; SOURCE LINE # 73 08C2 E008 MOV R8,#00H 08C4 E009 MOV R9,#00H 08C6 E00A MOV R10,#00H 08C8 E6FB3840 MOV R11,#04038H 08CC D4404800 MOV R4,[R0+#048H] ; GMST0 08D0 D4504A00 MOV R5,[R0+#04AH] ; GMST0+2 08D4 D4604C00 MOV R6,[R0+#04CH] ; GMST0+4 08D8 D4704E00 MOV R7,[R0+#04EH] ; GMST0+6 08DC DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 08E0 C4404800 MOV [R0+#048H],R4 ; GMST0 08E4 C4504A00 MOV [R0+#04AH],R5 ; GMST0+2 08E8 C4604C00 MOV [R0+#04CH],R6 ; GMST0+4 08EC C4704E00 MOV [R0+#04EH],R7 ; GMST0+6 ; SOURCE LINE # 74 08F0 ?C0129: ; SOURCE LINE # 85 08F0 F2F40000 E MOV R4,HOUR 08F4 F054 MOV R5,R4 08F6 BCF5 ASHR R5,#0FH 08F8 F065 MOV R6,R5 08FA DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 08FE C4406000 MOV [R0+#060H],R4 ; tmpa 0902 C4506200 MOV [R0+#062H],R5 ; tmpa+2 0906 C4606400 MOV [R0+#064H],R6 ; tmpa+4 090A C4706600 MOV [R0+#066H],R7 ; tmpa+6 ; SOURCE LINE # 86 090E F2F40000 E MOV R4,MINUTE 0912 F054 MOV R5,R4 0914 BCF5 ASHR R5,#0FH 0916 F065 MOV R6,R5 0918 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 091C E008 MOV R8,#00H 091E E009 MOV R9,#00H 0920 E00A MOV R10,#00H 0922 E6FB4E40 MOV R11,#0404EH 0926 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 092A C4406800 MOV [R0+#068H],R4 ; tmpb 092E C4506A00 MOV [R0+#06AH],R5 ; tmpb+2 0932 C4606C00 MOV [R0+#06CH],R6 ; tmpb+4 0936 C4706E00 MOV [R0+#06EH],R7 ; tmpb+6 ; SOURCE LINE # 87 093A F2F40000 E MOV R4,SECOND 093E F054 MOV R5,R4 0940 BCF5 ASHR R5,#0FH 0942 F065 MOV R6,R5 0944 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 0948 E008 MOV R8,#00H 094A E009 MOV R9,#00H 094C E6FA0020 MOV R10,#02000H 0950 E6FBAC40 MOV R11,#040ACH 0954 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 0958 C4407000 MOV [R0+#070H],R4 ; tmpc 095C C4507200 MOV [R0+#072H],R5 ; tmpc+2 0960 C4607400 MOV [R0+#074H],R6 ; tmpc+4 0964 C4707600 MOV [R0+#076H],R7 ; tmpc+6 ; SOURCE LINE # 91 0968 F2F40000 E MOV R4,MSECOND 096C 4840 CMP R4,#00H 096E BD4C JMPR cc_SLE,?C0130 ; SOURCE LINE # 92 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 31 0970 F2F40000 E MOV R4,MSECOND 0974 F054 MOV R5,R4 0976 BCF5 ASHR R5,#0FH 0978 F065 MOV R6,R5 097A DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 097E F084 MOV R8,R4 0980 F095 MOV R9,R5 0982 F0A6 MOV R10,R6 0984 F0B7 MOV R11,R7 0986 E6F4B979 MOV R4,#079B9H 098A E6F51F96 MOV R5,#0961FH 098E E6F62FA4 MOV R6,#0A42FH 0992 E6F7923E MOV R7,#03E92H 0996 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 099A C4407800 MOV [R0+#078H],R4 ; tmpe 099E C4507A00 MOV [R0+#07AH],R5 ; tmpe+2 09A2 C4607C00 MOV [R0+#07CH],R6 ; tmpe+4 09A6 C4707E00 MOV [R0+#07EH],R7 ; tmpe+6 ; SOURCE LINE # 93 09AA D4806800 MOV R8,[R0+#068H] ; tmpb 09AE D4906A00 MOV R9,[R0+#06AH] ; tmpb+2 09B2 D4A06C00 MOV R10,[R0+#06CH] ; tmpb+4 09B6 D4B06E00 MOV R11,[R0+#06EH] ; tmpb+6 09BA D4406000 MOV R4,[R0+#060H] ; tmpa 09BE D4506200 MOV R5,[R0+#062H] ; tmpa+2 09C2 D4606400 MOV R6,[R0+#064H] ; tmpa+4 09C6 D4706600 MOV R7,[R0+#066H] ; tmpa+6 09CA DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 09CE D4807000 MOV R8,[R0+#070H] ; tmpc 09D2 D4907200 MOV R9,[R0+#072H] ; tmpc+2 09D6 D4A07400 MOV R10,[R0+#074H] ; tmpc+4 09DA D4B07600 MOV R11,[R0+#076H] ; tmpc+6 09DE DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 09E2 D4807800 MOV R8,[R0+#078H] ; tmpe 09E6 D4907A00 MOV R9,[R0+#07AH] ; tmpe+2 09EA D4A07C00 MOV R10,[R0+#07CH] ; tmpe+4 09EE D4B07E00 MOV R11,[R0+#07EH] ; tmpe+6 09F2 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 09F6 C440B000 MOV [R0+#0B0H],R4 ; d 09FA C450B200 MOV [R0+#0B2H],R5 ; d+2 09FE C460B400 MOV [R0+#0B4H],R6 ; d+4 0A02 C470B600 MOV [R0+#0B6H],R7 ; d+6 ; SOURCE LINE # 94 0A06 0D24 JMPR cc_UC,?C0131 0A08 ?C0130: ; SOURCE LINE # 96 0A08 D4806800 MOV R8,[R0+#068H] ; tmpb 0A0C D4906A00 MOV R9,[R0+#06AH] ; tmpb+2 0A10 D4A06C00 MOV R10,[R0+#06CH] ; tmpb+4 0A14 D4B06E00 MOV R11,[R0+#06EH] ; tmpb+6 0A18 D4406000 MOV R4,[R0+#060H] ; tmpa 0A1C D4506200 MOV R5,[R0+#062H] ; tmpa+2 0A20 D4606400 MOV R6,[R0+#064H] ; tmpa+4 0A24 D4706600 MOV R7,[R0+#066H] ; tmpa+6 0A28 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0A2C D4807000 MOV R8,[R0+#070H] ; tmpc 0A30 D4907200 MOV R9,[R0+#072H] ; tmpc+2 0A34 D4A07400 MOV R10,[R0+#074H] ; tmpc+4 0A38 D4B07600 MOV R11,[R0+#076H] ; tmpc+6 0A3C DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0A40 C440B000 MOV [R0+#0B0H],R4 ; d 0A44 C450B200 MOV [R0+#0B2H],R5 ; d+2 0A48 C460B400 MOV [R0+#0B4H],R6 ; d+4 0A4C C470B600 MOV [R0+#0B6H],R7 ; d+6 ; SOURCE LINE # 97 0A50 ?C0131: C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 32 ; SOURCE LINE # 102 0A50 E004 MOV R4,#00H 0A52 E005 MOV R5,#00H 0A54 E006 MOV R6,#00H 0A56 E6F73840 MOV R7,#04038H 0A5A 8870 MOV [-R0],R7 0A5C 8860 MOV [-R0],R6 0A5E 8850 MOV [-R0],R5 0A60 F0C4 MOV R12,R4 0A62 ECFC PUSH R12 0A64 D480B600 MOV R8,[R0+#0B6H] ; d 0A68 D490B800 MOV R9,[R0+#0B8H] ; d+2 0A6C D4A0BA00 MOV R10,[R0+#0BAH] ; d+4 0A70 D4B0BC00 MOV R11,[R0+#0BCH] ; d+6 0A74 E6F4F2E1 MOV R4,#0E1F2H 0A78 E6F5F1E7 MOV R5,#0E7F1H 0A7C E6F6360B MOV R6,#0B36H 0A80 E6F7F03F MOV R7,#03FF0H 0A84 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0A88 F084 MOV R8,R4 0A8A F095 MOV R9,R5 0A8C F0A6 MOV R10,R6 0A8E F0B7 MOV R11,R7 0A90 D4404E00 MOV R4,[R0+#04EH] ; GMST0 0A94 D4505000 MOV R5,[R0+#050H] ; GMST0+2 0A98 D4605200 MOV R6,[R0+#052H] ; GMST0+4 0A9C D4705400 MOV R7,[R0+#054H] ; GMST0+6 0AA0 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0AA4 F084 MOV R8,R4 0AA6 F095 MOV R9,R5 0AA8 F0A6 MOV R10,R6 0AAA F0B7 MOV R11,R7 0AAC FCFC POP R12 0AAE DA000000 R CALLS SEG (REST),REST 0AB2 0806 ADD R0,#06H 0AB4 C4405000 MOV [R0+#050H],R4 ; GMST 0AB8 C4505200 MOV [R0+#052H],R5 ; GMST+2 0ABC C4605400 MOV [R0+#054H],R6 ; GMST+4 0AC0 C4705600 MOV [R0+#056H],R7 ; GMST+6 ; SOURCE LINE # 113 0AC4 E004 MOV R4,#00H 0AC6 E005 MOV R5,#00H 0AC8 E006 MOV R6,#00H 0ACA E6F73840 MOV R7,#04038H 0ACE 8870 MOV [-R0],R7 0AD0 8860 MOV [-R0],R6 0AD2 8850 MOV [-R0],R5 0AD4 F0C4 MOV R12,R4 0AD6 ECFC PUSH R12 0AD8 E008 MOV R8,#00H 0ADA E009 MOV R9,#00H 0ADC E00A MOV R10,#00H 0ADE E6FB2E40 MOV R11,#0402EH 0AE2 F2F400E0 MOV R4,0E000H 0AE6 F2F502E0 MOV R5,0E002H 0AEA F2F604E0 MOV R6,0E004H 0AEE F2F706E0 MOV R7,0E006H 0AF2 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 0AF6 F084 MOV R8,R4 0AF8 F095 MOV R9,R5 0AFA F0A6 MOV R10,R6 0AFC F0B7 MOV R11,R7 0AFE D4405600 MOV R4,[R0+#056H] ; GMST 0B02 D4505800 MOV R5,[R0+#058H] ; GMST+2 0B06 D4605A00 MOV R6,[R0+#05AH] ; GMST+4 0B0A D4705C00 MOV R7,[R0+#05CH] ; GMST+6 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 33 0B0E DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0B12 E008 MOV R8,#00H 0B14 E009 MOV R9,#00H 0B16 E00A MOV R10,#00H 0B18 E6FB3840 MOV R11,#04038H 0B1C DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0B20 F084 MOV R8,R4 0B22 F095 MOV R9,R5 0B24 F0A6 MOV R10,R6 0B26 F0B7 MOV R11,R7 0B28 FCFC POP R12 0B2A DA000000 R CALLS SEG (REST),REST 0B2E 0806 ADD R0,#06H 0B30 C4405800 MOV [R0+#058H],R4 ; LMST 0B34 C4505A00 MOV [R0+#05AH],R5 ; LMST+2 0B38 C4605C00 MOV [R0+#05CH],R6 ; LMST+4 0B3C C4705E00 MOV [R0+#05EH],R7 ; LMST+6 ; SOURCE LINE # 128 0B40 E008 MOV R8,#00H 0B42 E009 MOV R9,#00H 0B44 E00A MOV R10,#00H 0B46 E6FB3840 MOV R11,#04038H 0B4A D440B000 MOV R4,[R0+#0B0H] ; d 0B4E D450B200 MOV R5,[R0+#0B2H] ; d+2 0B52 D460B400 MOV R6,[R0+#0B4H] ; d+4 0B56 D470B600 MOV R7,[R0+#0B6H] ; d+6 0B5A DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 0B5E F084 MOV R8,R4 0B60 F095 MOV R9,R5 0B62 F0A6 MOV R10,R6 0B64 F0B7 MOV R11,R7 0B66 D440A800 MOV R4,[R0+#0A8H] ; JD 0B6A D450AA00 MOV R5,[R0+#0AAH] ; JD+2 0B6E D460AC00 MOV R6,[R0+#0ACH] ; JD+4 0B72 D470AE00 MOV R7,[R0+#0AEH] ; JD+6 0B76 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0B7A E008 MOV R8,#00H 0B7C E6F90080 MOV R9,#08000H 0B80 E6FA2CB4 MOV R10,#0B42CH 0B84 E6FB4241 MOV R11,#04142H 0B88 DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 0B8C E008 MOV R8,#00H 0B8E E009 MOV R9,#00H 0B90 E6FAA0D5 MOV R10,#0D5A0H 0B94 E6FBE140 MOV R11,#040E1H 0B98 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 0B9C C4400800 MOV [R0+#08H],R4 ; TE 0BA0 C4500A00 MOV [R0+#0AH],R5 ; TE+2 0BA4 C4600C00 MOV [R0+#0CH],R6 ; TE+4 0BA8 C4700E00 MOV [R0+#0EH],R7 ; TE+6 ; SOURCE LINE # 132 0BAC D4800800 MOV R8,[R0+#08H] ; TE 0BB0 D4900A00 MOV R9,[R0+#0AH] ; TE+2 0BB4 D4A00C00 MOV R10,[R0+#0CH] ; TE+4 0BB8 D4B00E00 MOV R11,[R0+#0EH] ; TE+6 0BBC E6F4A58D MOV R4,#08DA5H 0BC0 E6F5D948 MOV R5,#048D9H 0BC4 E6F6C8F6 MOV R6,#0F6C8H 0BC8 E6F7603F MOV R7,#03F60H 0BCC DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0BD0 D4800800 MOV R8,[R0+#08H] ; TE 0BD4 D4900A00 MOV R9,[R0+#0AH] ; TE+2 0BD8 D4A00C00 MOV R10,[R0+#0CH] ; TE+4 0BDC D4B00E00 MOV R11,[R0+#0EH] ; TE+6 0BE0 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0BE4 ECF7 PUSH R7 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 34 0BE6 ECF6 PUSH R6 0BE8 ECF5 PUSH R5 0BEA ECF4 PUSH R4 0BEC D4800800 MOV R8,[R0+#08H] ; TE 0BF0 D4900A00 MOV R9,[R0+#0AH] ; TE+2 0BF4 D4A00C00 MOV R10,[R0+#0CH] ; TE+4 0BF8 D4B00E00 MOV R11,[R0+#0EH] ; TE+6 0BFC E6F4E2EA MOV R4,#0EAE2H 0C00 E6F50088 MOV R5,#08800H 0C04 E6F68B38 MOV R6,#0388BH 0C08 E6F79E40 MOV R7,#0409EH 0C0C DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0C10 F084 MOV R8,R4 0C12 F095 MOV R9,R5 0C14 F0A6 MOV R10,R6 0C16 F0B7 MOV R11,R7 0C18 E6F42601 MOV R4,#0126H 0C1C E6F56A6A MOV R5,#06A6AH 0C20 E6F6D942 MOV R6,#042D9H 0C24 E6F75F40 MOV R7,#0405FH 0C28 DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 0C2C FCF8 POP R8 0C2E FCF9 POP R9 0C30 FCFA POP R10 0C32 FCFB POP R11 0C34 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0C38 ECF7 PUSH R7 0C3A ECF6 PUSH R6 0C3C ECF5 PUSH R5 0C3E ECF4 PUSH R4 0C40 D4800800 MOV R8,[R0+#08H] ; TE 0C44 D4900A00 MOV R9,[R0+#0AH] ; TE+2 0C48 D4A00C00 MOV R10,[R0+#0CH] ; TE+4 0C4C D4B00E00 MOV R11,[R0+#0EH] ; TE+6 0C50 D4400800 MOV R4,[R0+#08H] ; TE 0C54 D4500A00 MOV R5,[R0+#0AH] ; TE+2 0C58 D4600C00 MOV R6,[R0+#0CH] ; TE+4 0C5C D4700E00 MOV R7,[R0+#0EH] ; TE+6 0C60 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0C64 D4800800 MOV R8,[R0+#08H] ; TE 0C68 D4900A00 MOV R9,[R0+#0AH] ; TE+2 0C6C D4A00C00 MOV R10,[R0+#0CH] ; TE+4 0C70 D4B00E00 MOV R11,[R0+#0EH] ; TE+6 0C74 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0C78 E008 MOV R8,#00H 0C7A E009 MOV R9,#00H 0C7C E6FA4077 MOV R10,#07740H 0C80 E6FB1B41 MOV R11,#0411BH 0C84 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 0C88 F084 MOV R8,R4 0C8A F095 MOV R9,R5 0C8C F0A6 MOV R10,R6 0C8E F0B7 MOV R11,R7 0C90 FCF4 POP R4 0C92 FCF5 POP R5 0C94 FCF6 POP R6 0C96 FCF7 POP R7 0C98 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0C9C E6F8182D MOV R8,#02D18H 0CA0 E6F94454 MOV R9,#05444H 0CA4 E6FAFB21 MOV R10,#021FBH 0CA8 E6FB0940 MOV R11,#04009H 0CAC DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0CB0 E008 MOV R8,#00H 0CB2 E009 MOV R9,#00H 0CB4 E6FA0080 MOV R10,#08000H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 35 0CB8 E6FB6640 MOV R11,#04066H 0CBC DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 0CC0 C4401000 MOV [R0+#010H],R4 ; Omega 0CC4 C4501200 MOV [R0+#012H],R5 ; Omega+2 0CC8 C4601400 MOV [R0+#014H],R6 ; Omega+4 0CCC C4701600 MOV [R0+#016H],R7 ; Omega+6 ; SOURCE LINE # 133 0CD0 D4800800 MOV R8,[R0+#08H] ; TE 0CD4 D4900A00 MOV R9,[R0+#0AH] ; TE+2 0CD8 D4A00C00 MOV R10,[R0+#0CH] ; TE+4 0CDC D4B00E00 MOV R11,[R0+#0EH] ; TE+6 0CE0 E6F40F9C MOV R4,#09C0FH 0CE4 E6F533A2 MOV R5,#0A233H 0CE8 E6F61894 MOV R6,#09418H 0CEC E6F7E140 MOV R7,#040E1H 0CF0 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0CF4 E6F85839 MOV R8,#03958H 0CF8 E6F9B4C8 MOV R9,#0C8B4H 0CFC E6FA7687 MOV R10,#08776H 0D00 E6FB7140 MOV R11,#04071H 0D04 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0D08 E6F8182D MOV R8,#02D18H 0D0C E6F94454 MOV R9,#05444H 0D10 E6FAFB21 MOV R10,#021FBH 0D14 E6FB0940 MOV R11,#04009H 0D18 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0D1C E008 MOV R8,#00H 0D1E E009 MOV R9,#00H 0D20 E6FA0080 MOV R10,#08000H 0D24 E6FB6640 MOV R11,#04066H 0D28 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 0D2C C4401800 MOV [R0+#018H],R4 ; L 0D30 C4501A00 MOV [R0+#01AH],R5 ; L+2 0D34 C4601C00 MOV [R0+#01CH],R6 ; L+4 0D38 C4701E00 MOV [R0+#01EH],R7 ; L+6 ; SOURCE LINE # 134 0D3C D4800800 MOV R8,[R0+#08H] ; TE 0D40 D4900A00 MOV R9,[R0+#0AH] ; TE+2 0D44 D4A00C00 MOV R10,[R0+#0CH] ; TE+4 0D48 D4B00E00 MOV R11,[R0+#0EH] ; TE+6 0D4C E6F4D881 MOV R4,#081D8H 0D50 E6F57386 MOV R5,#08673H 0D54 E6F6CF5F MOV R6,#05FCFH 0D58 E6F71D41 MOV R7,#0411DH 0D5C DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0D60 E6F8E3A5 MOV R8,#0A5E3H 0D64 E6F99BC4 MOV R9,#0C49BH 0D68 E6FA204A MOV R10,#04A20H 0D6C E6FB6B40 MOV R11,#0406BH 0D70 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0D74 E6F8182D MOV R8,#02D18H 0D78 E6F94454 MOV R9,#05444H 0D7C E6FAFB21 MOV R10,#021FBH 0D80 E6FB0940 MOV R11,#04009H 0D84 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0D88 E008 MOV R8,#00H 0D8A E009 MOV R9,#00H 0D8C E6FA0080 MOV R10,#08000H 0D90 E6FB6640 MOV R11,#04066H 0D94 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 0D98 C4402000 MOV [R0+#020H],R4 ; Lst 0D9C C4502200 MOV [R0+#022H],R5 ; Lst+2 0DA0 C4602400 MOV [R0+#024H],R6 ; Lst+4 0DA4 C4702600 MOV [R0+#026H],R7 ; Lst+6 ; SOURCE LINE # 141 0DA8 D4801800 MOV R8,[R0+#018H] ; L C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 36 0DAC D4901A00 MOV R9,[R0+#01AH] ; L+2 0DB0 D4A01C00 MOV R10,[R0+#01CH] ; L+4 0DB4 D4B01E00 MOV R11,[R0+#01EH] ; L+6 0DB8 E004 MOV R4,#00H 0DBA E005 MOV R5,#00H 0DBC E006 MOV R6,#00H 0DBE E6F70040 MOV R7,#04000H 0DC2 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0DC6 F084 MOV R8,R4 0DC8 F095 MOV R9,R5 0DCA F0A6 MOV R10,R6 0DCC F0B7 MOV R11,R7 0DCE DA000000 E CALLS SEG (sin),sin 0DD2 F084 MOV R8,R4 0DD4 F095 MOV R9,R5 0DD6 F0A6 MOV R10,R6 0DD8 F0B7 MOV R11,R7 0DDA E6F41F85 MOV R4,#0851FH 0DDE E6F5EB51 MOV R5,#051EBH 0DE2 E6F6B81E MOV R6,#01EB8H 0DE6 E6F7F53F MOV R7,#03FF5H 0DEA DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0DEE ECF7 PUSH R7 0DF0 ECF6 PUSH R6 0DF2 ECF5 PUSH R5 0DF4 ECF4 PUSH R4 0DF6 D4801000 MOV R8,[R0+#010H] ; Omega 0DFA D4901200 MOV R9,[R0+#012H] ; Omega+2 0DFE D4A01400 MOV R10,[R0+#014H] ; Omega+4 0E02 D4B01600 MOV R11,[R0+#016H] ; Omega+6 0E06 DA000000 E CALLS SEG (sin),sin 0E0A F084 MOV R8,R4 0E0C F095 MOV R9,R5 0E0E F0A6 MOV R10,R6 0E10 F0B7 MOV R11,R7 0E12 E6F43333 MOV R4,#03333H 0E16 E6F53333 MOV R5,#03333H 0E1A E6F63333 MOV R6,#03333H 0E1E E6F731C0 MOV R7,#0C031H 0E22 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0E26 FCF8 POP R8 0E28 FCF9 POP R9 0E2A FCFA POP R10 0E2C FCFB POP R11 0E2E DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 0E32 ECF7 PUSH R7 0E34 ECF6 PUSH R6 0E36 ECF5 PUSH R5 0E38 ECF4 PUSH R4 0E3A D4802000 MOV R8,[R0+#020H] ; Lst 0E3E D4902200 MOV R9,[R0+#022H] ; Lst+2 0E42 D4A02400 MOV R10,[R0+#024H] ; Lst+4 0E46 D4B02600 MOV R11,[R0+#026H] ; Lst+6 0E4A E004 MOV R4,#00H 0E4C E005 MOV R5,#00H 0E4E E006 MOV R6,#00H 0E50 E6F70040 MOV R7,#04000H 0E54 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0E58 F084 MOV R8,R4 0E5A F095 MOV R9,R5 0E5C F0A6 MOV R10,R6 0E5E F0B7 MOV R11,R7 0E60 DA000000 E CALLS SEG (sin),sin 0E64 F084 MOV R8,R4 0E66 F095 MOV R9,R5 0E68 F0A6 MOV R10,R6 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 37 0E6A F0B7 MOV R11,R7 0E6C E6F4713D MOV R4,#03D71H 0E70 E6F50AD7 MOV R5,#0D70AH 0E74 E6F6A370 MOV R6,#070A3H 0E78 E6F7CD3F MOV R7,#03FCDH 0E7C DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0E80 F084 MOV R8,R4 0E82 F095 MOV R9,R5 0E84 F0A6 MOV R10,R6 0E86 F0B7 MOV R11,R7 0E88 FCF4 POP R4 0E8A FCF5 POP R5 0E8C FCF6 POP R6 0E8E FCF7 POP R7 0E90 DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 0E94 ECF7 PUSH R7 0E96 ECF6 PUSH R6 0E98 ECF5 PUSH R5 0E9A ECF4 PUSH R4 0E9C D4801000 MOV R8,[R0+#010H] ; Omega 0EA0 D4901200 MOV R9,[R0+#012H] ; Omega+2 0EA4 D4A01400 MOV R10,[R0+#014H] ; Omega+4 0EA8 D4B01600 MOV R11,[R0+#016H] ; Omega+6 0EAC E004 MOV R4,#00H 0EAE E005 MOV R5,#00H 0EB0 E006 MOV R6,#00H 0EB2 E6F70040 MOV R7,#04000H 0EB6 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0EBA F084 MOV R8,R4 0EBC F095 MOV R9,R5 0EBE F0A6 MOV R10,R6 0EC0 F0B7 MOV R11,R7 0EC2 DA000000 E CALLS SEG (sin),sin 0EC6 F084 MOV R8,R4 0EC8 F095 MOV R9,R5 0ECA F0A6 MOV R10,R6 0ECC F0B7 MOV R11,R7 0ECE E6F4E17A MOV R4,#07AE1H 0ED2 E6F514AE MOV R5,#0AE14H 0ED6 E6F647E1 MOV R6,#0E147H 0EDA E6F7CA3F MOV R7,#03FCAH 0EDE DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0EE2 F084 MOV R8,R4 0EE4 F095 MOV R9,R5 0EE6 F0A6 MOV R10,R6 0EE8 F0B7 MOV R11,R7 0EEA FCF4 POP R4 0EEC FCF5 POP R5 0EEE FCF6 POP R6 0EF0 FCF7 POP R7 0EF2 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0EF6 C4402800 MOV [R0+#028H],R4 ; Depsi 0EFA C4502A00 MOV [R0+#02AH],R5 ; Depsi+2 0EFE C4602C00 MOV [R0+#02CH],R6 ; Depsi+4 0F02 C4702E00 MOV [R0+#02EH],R7 ; Depsi+6 ; SOURCE LINE # 142 0F06 D4801800 MOV R8,[R0+#018H] ; L 0F0A D4901A00 MOV R9,[R0+#01AH] ; L+2 0F0E D4A01C00 MOV R10,[R0+#01CH] ; L+4 0F12 D4B01E00 MOV R11,[R0+#01EH] ; L+6 0F16 E004 MOV R4,#00H 0F18 E005 MOV R5,#00H 0F1A E006 MOV R6,#00H 0F1C E6F70040 MOV R7,#04000H 0F20 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0F24 F084 MOV R8,R4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 38 0F26 F095 MOV R9,R5 0F28 F0A6 MOV R10,R6 0F2A F0B7 MOV R11,R7 0F2C DA000000 E CALLS SEG (cos),cos 0F30 F084 MOV R8,R4 0F32 F095 MOV R9,R5 0F34 F0A6 MOV R10,R6 0F36 F0B7 MOV R11,R7 0F38 E6F43D0A MOV R4,#0A3DH 0F3C E6F5D7A3 MOV R5,#0A3D7H 0F40 E6F6703D MOV R6,#03D70H 0F44 E6F7E23F MOV R7,#03FE2H 0F48 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0F4C ECF7 PUSH R7 0F4E ECF6 PUSH R6 0F50 ECF5 PUSH R5 0F52 ECF4 PUSH R4 0F54 D4801000 MOV R8,[R0+#010H] ; Omega 0F58 D4901200 MOV R9,[R0+#012H] ; Omega+2 0F5C D4A01400 MOV R10,[R0+#014H] ; Omega+4 0F60 D4B01600 MOV R11,[R0+#016H] ; Omega+6 0F64 DA000000 E CALLS SEG (cos),cos 0F68 F084 MOV R8,R4 0F6A F095 MOV R9,R5 0F6C F0A6 MOV R10,R6 0F6E F0B7 MOV R11,R7 0F70 E6F46666 MOV R4,#06666H 0F74 E6F56666 MOV R5,#06666H 0F78 E6F66666 MOV R6,#06666H 0F7C E6F72240 MOV R7,#04022H 0F80 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0F84 FCF8 POP R8 0F86 FCF9 POP R9 0F88 FCFA POP R10 0F8A FCFB POP R11 0F8C DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0F90 ECF7 PUSH R7 0F92 ECF6 PUSH R6 0F94 ECF5 PUSH R5 0F96 ECF4 PUSH R4 0F98 D4802000 MOV R8,[R0+#020H] ; Lst 0F9C D4902200 MOV R9,[R0+#022H] ; Lst+2 0FA0 D4A02400 MOV R10,[R0+#024H] ; Lst+4 0FA4 D4B02600 MOV R11,[R0+#026H] ; Lst+6 0FA8 E004 MOV R4,#00H 0FAA E005 MOV R5,#00H 0FAC E006 MOV R6,#00H 0FAE E6F70040 MOV R7,#04000H 0FB2 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0FB6 F084 MOV R8,R4 0FB8 F095 MOV R9,R5 0FBA F0A6 MOV R10,R6 0FBC F0B7 MOV R11,R7 0FBE DA000000 E CALLS SEG (cos),cos 0FC2 F084 MOV R8,R4 0FC4 F095 MOV R9,R5 0FC6 F0A6 MOV R10,R6 0FC8 F0B7 MOV R11,R7 0FCA E6F49A99 MOV R4,#0999AH 0FCE E6F59999 MOV R5,#09999H 0FD2 E6F69999 MOV R6,#09999H 0FD6 E6F7B93F MOV R7,#03FB9H 0FDA DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 0FDE F084 MOV R8,R4 0FE0 F095 MOV R9,R5 0FE2 F0A6 MOV R10,R6 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 39 0FE4 F0B7 MOV R11,R7 0FE6 FCF4 POP R4 0FE8 FCF5 POP R5 0FEA FCF6 POP R6 0FEC FCF7 POP R7 0FEE DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 0FF2 ECF7 PUSH R7 0FF4 ECF6 PUSH R6 0FF6 ECF5 PUSH R5 0FF8 ECF4 PUSH R4 0FFA D4801000 MOV R8,[R0+#010H] ; Omega 0FFE D4901200 MOV R9,[R0+#012H] ; Omega+2 1002 D4A01400 MOV R10,[R0+#014H] ; Omega+4 1006 D4B01600 MOV R11,[R0+#016H] ; Omega+6 100A E004 MOV R4,#00H 100C E005 MOV R5,#00H 100E E006 MOV R6,#00H 1010 E6F70040 MOV R7,#04000H 1014 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1018 F084 MOV R8,R4 101A F095 MOV R9,R5 101C F0A6 MOV R10,R6 101E F0B7 MOV R11,R7 1020 DA000000 E CALLS SEG (cos),cos 1024 F084 MOV R8,R4 1026 F095 MOV R9,R5 1028 F0A6 MOV R10,R6 102A F0B7 MOV R11,R7 102C E6F40AD7 MOV R4,#0D70AH 1030 E6F5A370 MOV R5,#070A3H 1034 E6F63D0A MOV R6,#0A3DH 1038 E6F7B73F MOV R7,#03FB7H 103C DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1040 F084 MOV R8,R4 1042 F095 MOV R9,R5 1044 F0A6 MOV R10,R6 1046 F0B7 MOV R11,R7 1048 FCF4 POP R4 104A FCF5 POP R5 104C FCF6 POP R6 104E FCF7 POP R7 1050 DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 1054 C4403000 MOV [R0+#030H],R4 ; Deps 1058 C4503200 MOV [R0+#032H],R5 ; Deps+2 105C C4603400 MOV [R0+#034H],R6 ; Deps+4 1060 C4703600 MOV [R0+#036H],R7 ; Deps+6 ; SOURCE LINE # 143 1064 D4800800 MOV R8,[R0+#08H] ; TE 1068 D4900A00 MOV R9,[R0+#0AH] ; TE+2 106C D4A00C00 MOV R10,[R0+#0CH] ; TE+4 1070 D4B00E00 MOV R11,[R0+#0EH] ; TE+6 1074 E6F4BEA4 MOV R4,#0A4BEH 1078 E6F5315A MOV R5,#05A31H 107C E6F64755 MOV R6,#05547H 1080 E6F7433F MOV R7,#03F43H 1084 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1088 D4800800 MOV R8,[R0+#08H] ; TE 108C D4900A00 MOV R9,[R0+#0AH] ; TE+2 1090 D4A00C00 MOV R10,[R0+#0CH] ; TE+4 1094 D4B00E00 MOV R11,[R0+#0EH] ; TE+6 1098 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 109C ECF7 PUSH R7 109E ECF6 PUSH R6 10A0 ECF5 PUSH R5 10A2 ECF4 PUSH R4 10A4 D4800800 MOV R8,[R0+#08H] ; TE C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 40 10A8 D4900A00 MOV R9,[R0+#0AH] ; TE+2 10AC D4A00C00 MOV R10,[R0+#0CH] ; TE+4 10B0 D4B00E00 MOV R11,[R0+#0EH] ; TE+6 10B4 E6F4B81E MOV R4,#01EB8H 10B8 E6F585EB MOV R5,#0EB85H 10BC E6F65168 MOV R6,#06851H 10C0 E6F747C0 MOV R7,#0C047H 10C4 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 10C8 FCF8 POP R8 10CA FCF9 POP R9 10CC FCFA POP R10 10CE FCFB POP R11 10D0 DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 10D4 ECF7 PUSH R7 10D6 ECF6 PUSH R6 10D8 ECF5 PUSH R5 10DA ECF4 PUSH R4 10DC D4800800 MOV R8,[R0+#08H] ; TE 10E0 D4900A00 MOV R9,[R0+#0AH] ; TE+2 10E4 D4A00C00 MOV R10,[R0+#0CH] ; TE+4 10E8 D4B00E00 MOV R11,[R0+#0EH] ; TE+6 10EC E6F4D61A MOV R4,#01AD6H 10F0 E6F54AED MOV R5,#0ED4AH 10F4 E6F645B4 MOV R6,#0B445H 10F8 E6F75D3F MOV R7,#03F5DH 10FC DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1100 D4800800 MOV R8,[R0+#08H] ; TE 1104 D4900A00 MOV R9,[R0+#0AH] ; TE+2 1108 D4A00C00 MOV R10,[R0+#0CH] ; TE+4 110C D4B00E00 MOV R11,[R0+#0EH] ; TE+6 1110 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1114 D4800800 MOV R8,[R0+#08H] ; TE 1118 D4900A00 MOV R9,[R0+#0AH] ; TE+2 111C D4A00C00 MOV R10,[R0+#0CH] ; TE+4 1120 D4B00E00 MOV R11,[R0+#0EH] ; TE+6 1124 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1128 F084 MOV R8,R4 112A F095 MOV R9,R5 112C F0A6 MOV R10,R6 112E F0B7 MOV R11,R7 1130 FCF4 POP R4 1132 FCF5 POP R5 1134 FCF6 POP R6 1136 FCF7 POP R7 1138 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 113C E008 MOV R8,#00H 113E E009 MOV R9,#00H 1140 E6FA0020 MOV R10,#02000H 1144 E6FBAC40 MOV R11,#040ACH 1148 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 114C E6F8A0DF MOV R8,#0DFA0H 1150 E6F9D661 MOV R9,#061D6H 1154 E6FA7570 MOV R10,#07075H 1158 E6FB3740 MOV R11,#04037H 115C DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 1160 C4403800 MOV [R0+#038H],R4 ; eps0 1164 C4503A00 MOV [R0+#03AH],R5 ; eps0+2 1168 C4603C00 MOV [R0+#03CH],R6 ; eps0+4 116C C4703E00 MOV [R0+#03EH],R7 ; eps0+6 ; SOURCE LINE # 144 1170 E008 MOV R8,#00H 1172 E009 MOV R9,#00H 1174 E6FA0020 MOV R10,#02000H 1178 E6FBAC40 MOV R11,#040ACH 117C D4403000 MOV R4,[R0+#030H] ; Deps 1180 D4503200 MOV R5,[R0+#032H] ; Deps+2 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 41 1184 D4603400 MOV R6,[R0+#034H] ; Deps+4 1188 D4703600 MOV R7,[R0+#036H] ; Deps+6 118C DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1190 F084 MOV R8,R4 1192 F095 MOV R9,R5 1194 F0A6 MOV R10,R6 1196 F0B7 MOV R11,R7 1198 D4403800 MOV R4,[R0+#038H] ; eps0 119C D4503A00 MOV R5,[R0+#03AH] ; eps0+2 11A0 D4603C00 MOV R6,[R0+#03CH] ; eps0+4 11A4 D4703E00 MOV R7,[R0+#03EH] ; eps0+6 11A8 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 11AC E6F8182D MOV R8,#02D18H 11B0 E6F94454 MOV R9,#05444H 11B4 E6FAFB21 MOV R10,#021FBH 11B8 E6FB0940 MOV R11,#04009H 11BC DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 11C0 E008 MOV R8,#00H 11C2 E009 MOV R9,#00H 11C4 E6FA0080 MOV R10,#08000H 11C8 E6FB6640 MOV R11,#04066H 11CC DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV ;---- Variable 'eps' assigned to Register 'R4/R5/R6/R7' ---- ; SOURCE LINE # 148 11D0 F084 MOV R8,R4 11D2 F095 MOV R9,R5 11D4 F0A6 MOV R10,R6 11D6 F0B7 MOV R11,R7 11D8 DA000000 E CALLS SEG (cos),cos 11DC F084 MOV R8,R4 11DE F095 MOV R9,R5 11E0 F0A6 MOV R10,R6 11E2 F0B7 MOV R11,R7 11E4 D4402800 MOV R4,[R0+#028H] ; Depsi 11E8 D4502A00 MOV R5,[R0+#02AH] ; Depsi+2 11EC D4602C00 MOV R6,[R0+#02CH] ; Depsi+4 11F0 D4702E00 MOV R7,[R0+#02EH] ; Depsi+6 11F4 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 11F8 C4404000 MOV [R0+#040H],R4 ; Depsicoseps 11FC C4504200 MOV [R0+#042H],R5 ; Depsicoseps+2 1200 C4604400 MOV [R0+#044H],R6 ; Depsicoseps+4 1204 C4704600 MOV [R0+#046H],R7 ; Depsicoseps+6 ; SOURCE LINE # 154 1208 E008 MOV R8,#00H 120A E009 MOV R9,#00H 120C E6FA005E MOV R10,#05E00H 1210 E6FBEA40 MOV R11,#040EAH 1214 D4404000 MOV R4,[R0+#040H] ; Depsicoseps 1218 D4504200 MOV R5,[R0+#042H] ; Depsicoseps+2 121C D4604400 MOV R6,[R0+#044H] ; Depsicoseps+4 1220 D4704600 MOV R7,[R0+#046H] ; Depsicoseps+6 1224 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1228 F084 MOV R8,R4 122A F095 MOV R9,R5 122C F0A6 MOV R10,R6 122E F0B7 MOV R11,R7 1230 D4405000 MOV R4,[R0+#050H] ; GMST 1234 D4505200 MOV R5,[R0+#052H] ; GMST+2 1238 D4605400 MOV R6,[R0+#054H] ; GMST+4 123C D4705600 MOV R7,[R0+#056H] ; GMST+6 1240 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 1244 F6F418E0 MOV 0E018H,R4 1248 F6F51AE0 MOV 0E01AH,R5 124C F6F61CE0 MOV 0E01CH,R6 1250 F6F71EE0 MOV 0E01EH,R7 ; SOURCE LINE # 166 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 42 1254 E008 MOV R8,#00H 1256 E009 MOV R9,#00H 1258 E6FA005E MOV R10,#05E00H 125C E6FBEA40 MOV R11,#040EAH 1260 D4404000 MOV R4,[R0+#040H] ; Depsicoseps 1264 D4504200 MOV R5,[R0+#042H] ; Depsicoseps+2 1268 D4604400 MOV R6,[R0+#044H] ; Depsicoseps+4 126C D4704600 MOV R7,[R0+#046H] ; Depsicoseps+6 1270 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1274 F084 MOV R8,R4 1276 F095 MOV R9,R5 1278 F0A6 MOV R10,R6 127A F0B7 MOV R11,R7 127C D4405800 MOV R4,[R0+#058H] ; LMST 1280 D4505A00 MOV R5,[R0+#05AH] ; LMST+2 1284 D4605C00 MOV R6,[R0+#05CH] ; LMST+4 1288 D4705E00 MOV R7,[R0+#05EH] ; LMST+6 128C DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 1290 F6F410E0 MOV 0E010H,R4 1294 F6F512E0 MOV 0E012H,R5 1298 F6F614E0 MOV 0E014H,R6 129C F6F716E0 MOV 0E016H,R7 ; SOURCE LINE # 168 12A0 F2F410E0 MOV R4,0E010H 12A4 F2F512E0 MOV R5,0E012H 12A8 F2F614E0 MOV R6,0E014H 12AC F2F716E0 MOV R7,0E016H 12B0 E008 MOV R8,#00H 12B2 E009 MOV R9,#00H 12B4 E00A MOV R10,#00H 12B6 E00B MOV R11,#00H 12B8 DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 12BC DD17 JMPR cc_SGE,?C0132 ; SOURCE LINE # 169 12BE E008 MOV R8,#00H 12C0 E009 MOV R9,#00H 12C2 E00A MOV R10,#00H 12C4 E6FB3840 MOV R11,#04038H 12C8 F2F410E0 MOV R4,0E010H 12CC F2F512E0 MOV R5,0E012H 12D0 F2F614E0 MOV R6,0E014H 12D4 F2F716E0 MOV R7,0E016H 12D8 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 12DC F6F410E0 MOV 0E010H,R4 12E0 F6F512E0 MOV 0E012H,R5 12E4 F6F614E0 MOV 0E014H,R6 12E8 F6F716E0 MOV 0E016H,R7 ; SOURCE LINE # 170 12EC ?C0132: 12EC 06F0B800 ADD R0,#0B8H 12F0 FCFD POP R13 12F2 DB00 RETS ; FUNCTION cCurrentStarTime (END RMASK = @0x7FFF) ; FUNCTION REST (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 180 12F4 88C0 MOV [-R0],R12 12F6 88B0 MOV [-R0],R11 12F8 88A0 MOV [-R0],R10 12FA 8890 MOV [-R0],R9 12FC 8880 MOV [-R0],R8 12FE 06F0F8FF ADD R0,#0FFF8H ; SOURCE LINE # 182 1302 F040 MOV R4,R0 1304 66F4FF3F AND R4,#03FFFH 1308 F2F504FE MOV R5,DPP2 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 43 130C 8850 MOV [-R0],R5 130E F0C4 MOV R12,R4 1310 ECFC PUSH R12 1312 D4801200 MOV R8,[R0+#012H] ; t 1316 D4901400 MOV R9,[R0+#014H] ; t+2 131A D4A01600 MOV R10,[R0+#016H] ; t+4 131E D4B01800 MOV R11,[R0+#018H] ; t+6 1322 D4400A00 MOV R4,[R0+#0AH] ; val 1326 D4500C00 MOV R5,[R0+#0CH] ; val+2 132A D4600E00 MOV R6,[R0+#0EH] ; val+4 132E D4701000 MOV R7,[R0+#010H] ; val+6 1332 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1336 F084 MOV R8,R4 1338 F095 MOV R9,R5 133A F0A6 MOV R10,R6 133C F0B7 MOV R11,R7 133E FCFC POP R12 1340 DA000000 E CALLS SEG (modf),modf 1344 0802 ADD R0,#02H ; SOURCE LINE # 183 1346 D4801000 MOV R8,[R0+#010H] ; t 134A D4901200 MOV R9,[R0+#012H] ; t+2 134E D4A01400 MOV R10,[R0+#014H] ; t+4 1352 D4B01600 MOV R11,[R0+#016H] ; t+6 1356 A840 MOV R4,[R0] ; x 1358 D4500200 MOV R5,[R0+#02H] ; x+2 135C D4600400 MOV R6,[R0+#04H] ; x+4 1360 D4700600 MOV R7,[R0+#06H] ; x+6 1364 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1368 F084 MOV R8,R4 136A F095 MOV R9,R5 136C F0A6 MOV R10,R6 136E F0B7 MOV R11,R7 1370 D4400800 MOV R4,[R0+#08H] ; val 1374 D4500A00 MOV R5,[R0+#0AH] ; val+2 1378 D4600C00 MOV R6,[R0+#0CH] ; val+4 137C D4700E00 MOV R7,[R0+#0EH] ; val+6 1380 DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB ; SOURCE LINE # 184 1384 06F01200 ADD R0,#012H 1388 DB00 RETS ; FUNCTION REST (END RMASK = @0x7FFF) ; FUNCTION cAzAlt (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 199 138A 06F0A0FF ADD R0,#0FFA0H ; SOURCE LINE # 203 138E F2F420E0 MOV R4,0E020H 1392 F2F522E0 MOV R5,0E022H 1396 F2F624E0 MOV R6,0E024H 139A F2F726E0 MOV R7,0E026H 139E B840 MOV [R0],R4 ; a 13A0 C4500200 MOV [R0+#02H],R5 ; a+2 13A4 C4600400 MOV [R0+#04H],R6 ; a+4 13A8 C4700600 MOV [R0+#06H],R7 ; a+6 ; SOURCE LINE # 204 13AC F2F428E0 MOV R4,0E028H 13B0 F2F52AE0 MOV R5,0E02AH 13B4 F2F62CE0 MOV R6,0E02CH 13B8 F2F72EE0 MOV R7,0E02EH 13BC C4400800 MOV [R0+#08H],R4 ; d 13C0 C4500A00 MOV [R0+#0AH],R5 ; d+2 13C4 C4600C00 MOV [R0+#0CH],R6 ; d+4 13C8 C4700E00 MOV [R0+#0EH],R7 ; d+6 ; SOURCE LINE # 208 13CC A880 MOV R8,[R0] ; a C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 44 13CE D4900200 MOV R9,[R0+#02H] ; a+2 13D2 D4A00400 MOV R10,[R0+#04H] ; a+4 13D6 D4B00600 MOV R11,[R0+#06H] ; a+6 13DA F2F410E0 MOV R4,0E010H 13DE F2F512E0 MOV R5,0E012H 13E2 F2F614E0 MOV R6,0E014H 13E6 F2F716E0 MOV R7,0E016H 13EA DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 13EE E008 MOV R8,#00H 13F0 E009 MOV R9,#00H 13F2 E00A MOV R10,#00H 13F4 E6FB3840 MOV R11,#04038H 13F8 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 13FC C4404800 MOV [R0+#048H],R4 ; tmpa 1400 C4504A00 MOV [R0+#04AH],R5 ; tmpa+2 1404 C4604C00 MOV [R0+#04CH],R6 ; tmpa+4 1408 C4704E00 MOV [R0+#04EH],R7 ; tmpa+6 ; SOURCE LINE # 209 140C E008 MOV R8,#00H 140E E009 MOV R9,#00H 1410 E00A MOV R10,#00H 1412 E6FB3840 MOV R11,#04038H 1416 D4404800 MOV R4,[R0+#048H] ; tmpa 141A D4504A00 MOV R5,[R0+#04AH] ; tmpa+2 141E D4604C00 MOV R6,[R0+#04CH] ; tmpa+4 1422 D4704E00 MOV R7,[R0+#04EH] ; tmpa+6 1426 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 142A C4405000 MOV [R0+#050H],R4 ; tmpb 142E C4505200 MOV [R0+#052H],R5 ; tmpb+2 1432 C4605400 MOV [R0+#054H],R6 ; tmpb+4 1436 C4705600 MOV [R0+#056H],R7 ; tmpb+6 ; SOURCE LINE # 210 143A E6F45800 MOV R4,#058H ; tmpc 143E 0040 ADD R4,R0 ; tmpc 1440 66F4FF3F AND R4,#03FFFH 1444 F2F504FE MOV R5,DPP2 1448 8850 MOV [-R0],R5 144A F0C4 MOV R12,R4 144C D4805200 MOV R8,[R0+#052H] ; tmpb 1450 D4905400 MOV R9,[R0+#054H] ; tmpb+2 1454 D4A05600 MOV R10,[R0+#056H] ; tmpb+4 1458 D4B05800 MOV R11,[R0+#058H] ; tmpb+6 145C DA000000 E CALLS SEG (modf),modf 1460 0802 ADD R0,#02H ; SOURCE LINE # 211 1462 E008 MOV R8,#00H 1464 E009 MOV R9,#00H 1466 E00A MOV R10,#00H 1468 E6FB3840 MOV R11,#04038H 146C D4405800 MOV R4,[R0+#058H] ; tmpc 1470 D4505A00 MOV R5,[R0+#05AH] ; tmpc+2 1474 D4605C00 MOV R6,[R0+#05CH] ; tmpc+4 1478 D4705E00 MOV R7,[R0+#05EH] ; tmpc+6 147C DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1480 C4405000 MOV [R0+#050H],R4 ; tmpb 1484 C4505200 MOV [R0+#052H],R5 ; tmpb+2 1488 C4605400 MOV [R0+#054H],R6 ; tmpb+4 148C C4705600 MOV [R0+#056H],R7 ; tmpb+6 ; SOURCE LINE # 212 1490 D4805000 MOV R8,[R0+#050H] ; tmpb 1494 D4905200 MOV R9,[R0+#052H] ; tmpb+2 1498 D4A05400 MOV R10,[R0+#054H] ; tmpb+4 149C D4B05600 MOV R11,[R0+#056H] ; tmpb+6 14A0 D4404800 MOV R4,[R0+#048H] ; tmpa 14A4 D4504A00 MOV R5,[R0+#04AH] ; tmpa+2 14A8 D4604C00 MOV R6,[R0+#04CH] ; tmpa+4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 45 14AC D4704E00 MOV R7,[R0+#04EH] ; tmpa+6 14B0 DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 14B4 C4401000 MOV [R0+#010H],R4 ; Theta 14B8 C4501200 MOV [R0+#012H],R5 ; Theta+2 14BC C4601400 MOV [R0+#014H],R6 ; Theta+4 14C0 C4701600 MOV [R0+#016H],R7 ; Theta+6 ; SOURCE LINE # 214 14C4 E008 MOV R8,#00H 14C6 E009 MOV R9,#00H 14C8 E00A MOV R10,#00H 14CA E6FB2E40 MOV R11,#0402EH 14CE D4401000 MOV R4,[R0+#010H] ; Theta 14D2 D4501200 MOV R5,[R0+#012H] ; Theta+2 14D6 D4601400 MOV R6,[R0+#014H] ; Theta+4 14DA D4701600 MOV R7,[R0+#016H] ; Theta+6 14DE DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 14E2 C4401800 MOV [R0+#018H],R4 ; Q 14E6 C4501A00 MOV [R0+#01AH],R5 ; Q+2 14EA C4601C00 MOV [R0+#01CH],R6 ; Q+4 14EE C4701E00 MOV [R0+#01EH],R7 ; Q+6 ; SOURCE LINE # 216 14F2 E6F8182D MOV R8,#02D18H 14F6 E6F94454 MOV R9,#05444H 14FA E6FAFB21 MOV R10,#021FBH 14FE E6FB0940 MOV R11,#04009H 1502 F2F408E0 MOV R4,0E008H 1506 F2F50AE0 MOV R5,0E00AH 150A F2F60CE0 MOV R6,0E00CH 150E F2F70EE0 MOV R7,0E00EH 1512 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1516 E008 MOV R8,#00H 1518 E009 MOV R9,#00H 151A E6FA0080 MOV R10,#08000H 151E E6FB6640 MOV R11,#04066H 1522 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1526 C4402000 MOV [R0+#020H],R4 ; f 152A C4502200 MOV [R0+#022H],R5 ; f+2 152E C4602400 MOV [R0+#024H],R6 ; f+4 1532 C4702600 MOV [R0+#026H],R7 ; f+6 ; SOURCE LINE # 217 1536 E6F8182D MOV R8,#02D18H 153A E6F94454 MOV R9,#05444H 153E E6FAFB21 MOV R10,#021FBH 1542 E6FB0940 MOV R11,#04009H 1546 D4400800 MOV R4,[R0+#08H] ; d 154A D4500A00 MOV R5,[R0+#0AH] ; d+2 154E D4600C00 MOV R6,[R0+#0CH] ; d+4 1552 D4700E00 MOV R7,[R0+#0EH] ; d+6 1556 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 155A E008 MOV R8,#00H 155C E009 MOV R9,#00H 155E E6FA0080 MOV R10,#08000H 1562 E6FB6640 MOV R11,#04066H 1566 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 156A C4400800 MOV [R0+#08H],R4 ; d 156E C4500A00 MOV [R0+#0AH],R5 ; d+2 1572 C4600C00 MOV [R0+#0CH],R6 ; d+4 1576 C4700E00 MOV [R0+#0EH],R7 ; d+6 ; SOURCE LINE # 218 157A E6F8182D MOV R8,#02D18H 157E E6F94454 MOV R9,#05444H 1582 E6FAFB21 MOV R10,#021FBH 1586 E6FB0940 MOV R11,#04009H 158A D4401800 MOV R4,[R0+#018H] ; Q 158E D4501A00 MOV R5,[R0+#01AH] ; Q+2 1592 D4601C00 MOV R6,[R0+#01CH] ; Q+4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 46 1596 D4701E00 MOV R7,[R0+#01EH] ; Q+6 159A DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 159E E008 MOV R8,#00H 15A0 E009 MOV R9,#00H 15A2 E6FA0080 MOV R10,#08000H 15A6 E6FB6640 MOV R11,#04066H 15AA DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 15AE C4401800 MOV [R0+#018H],R4 ; Q 15B2 C4501A00 MOV [R0+#01AH],R5 ; Q+2 15B6 C4601C00 MOV [R0+#01CH],R6 ; Q+4 15BA C4701E00 MOV [R0+#01EH],R7 ; Q+6 ; SOURCE LINE # 220 15BE D4800800 MOV R8,[R0+#08H] ; d 15C2 D4900A00 MOV R9,[R0+#0AH] ; d+2 15C6 D4A00C00 MOV R10,[R0+#0CH] ; d+4 15CA D4B00E00 MOV R11,[R0+#0EH] ; d+6 15CE DA000000 E CALLS SEG (cos),cos 15D2 ECF7 PUSH R7 15D4 ECF6 PUSH R6 15D6 ECF5 PUSH R5 15D8 ECF4 PUSH R4 15DA D4802000 MOV R8,[R0+#020H] ; f 15DE D4902200 MOV R9,[R0+#022H] ; f+2 15E2 D4A02400 MOV R10,[R0+#024H] ; f+4 15E6 D4B02600 MOV R11,[R0+#026H] ; f+6 15EA DA000000 E CALLS SEG (cos),cos 15EE FCF8 POP R8 15F0 FCF9 POP R9 15F2 FCFA POP R10 15F4 FCFB POP R11 15F6 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 15FA ECF7 PUSH R7 15FC ECF6 PUSH R6 15FE ECF5 PUSH R5 1600 ECF4 PUSH R4 1602 D4801800 MOV R8,[R0+#018H] ; Q 1606 D4901A00 MOV R9,[R0+#01AH] ; Q+2 160A D4A01C00 MOV R10,[R0+#01CH] ; Q+4 160E D4B01E00 MOV R11,[R0+#01EH] ; Q+6 1612 DA000000 E CALLS SEG (cos),cos 1616 F084 MOV R8,R4 1618 F095 MOV R9,R5 161A F0A6 MOV R10,R6 161C F0B7 MOV R11,R7 161E FCF4 POP R4 1620 FCF5 POP R5 1622 FCF6 POP R6 1624 FCF7 POP R7 1626 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 162A ECF7 PUSH R7 162C ECF6 PUSH R6 162E ECF5 PUSH R5 1630 ECF4 PUSH R4 1632 D4800800 MOV R8,[R0+#08H] ; d 1636 D4900A00 MOV R9,[R0+#0AH] ; d+2 163A D4A00C00 MOV R10,[R0+#0CH] ; d+4 163E D4B00E00 MOV R11,[R0+#0EH] ; d+6 1642 DA000000 E CALLS SEG (sin),sin 1646 ECF7 PUSH R7 1648 ECF6 PUSH R6 164A ECF5 PUSH R5 164C ECF4 PUSH R4 164E D4802000 MOV R8,[R0+#020H] ; f 1652 D4902200 MOV R9,[R0+#022H] ; f+2 1656 D4A02400 MOV R10,[R0+#024H] ; f+4 165A D4B02600 MOV R11,[R0+#026H] ; f+6 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 47 165E DA000000 E CALLS SEG (sin),sin 1662 FCF8 POP R8 1664 FCF9 POP R9 1666 FCFA POP R10 1668 FCFB POP R11 166A DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 166E FCF8 POP R8 1670 FCF9 POP R9 1672 FCFA POP R10 1674 FCFB POP R11 1676 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 167A F084 MOV R8,R4 167C F095 MOV R9,R5 167E F0A6 MOV R10,R6 1680 F0B7 MOV R11,R7 1682 DA000000 E CALLS SEG (asin),asin 1686 C4404000 MOV [R0+#040H],R4 ; altitude 168A C4504200 MOV [R0+#042H],R5 ; altitude+2 168E C4604400 MOV [R0+#044H],R6 ; altitude+4 1692 C4704600 MOV [R0+#046H],R7 ; altitude+6 ; SOURCE LINE # 221 1696 E008 MOV R8,#00H 1698 E009 MOV R9,#00H 169A E6FA0080 MOV R10,#08000H 169E E6FB6640 MOV R11,#04066H 16A2 D4404000 MOV R4,[R0+#040H] ; altitude 16A6 D4504200 MOV R5,[R0+#042H] ; altitude+2 16AA D4604400 MOV R6,[R0+#044H] ; altitude+4 16AE D4704600 MOV R7,[R0+#046H] ; altitude+6 16B2 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 16B6 E6F8182D MOV R8,#02D18H 16BA E6F94454 MOV R9,#05444H 16BE E6FAFB21 MOV R10,#021FBH 16C2 E6FB0940 MOV R11,#04009H 16C6 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 16CA F084 MOV R8,R4 16CC F095 MOV R9,R5 16CE F0A6 MOV R10,R6 16D0 F0B7 MOV R11,R7 16D2 C4404000 MOV [R0+#040H],R4 ; altitude 16D6 C4504200 MOV [R0+#042H],R5 ; altitude+2 16DA C4604400 MOV [R0+#044H],R6 ; altitude+4 16DE C4704600 MOV [R0+#046H],R7 ; altitude+6 ; SOURCE LINE # 222 16E2 F6F838E0 MOV 0E038H,R8 16E6 F6F93AE0 MOV 0E03AH,R9 16EA F6FA3CE0 MOV 0E03CH,R10 16EE F6FB3EE0 MOV 0E03EH,R11 ; SOURCE LINE # 224 16F2 D4801800 MOV R8,[R0+#018H] ; Q 16F6 D4901A00 MOV R9,[R0+#01AH] ; Q+2 16FA D4A01C00 MOV R10,[R0+#01CH] ; Q+4 16FE D4B01E00 MOV R11,[R0+#01EH] ; Q+6 1702 DA000000 E CALLS SEG (sin),sin 1706 C4402800 MOV [R0+#028H],R4 ; Zlr 170A C4502A00 MOV [R0+#02AH],R5 ; Zlr+2 170E C4602C00 MOV [R0+#02CH],R6 ; Zlr+4 1712 C4702E00 MOV [R0+#02EH],R7 ; Zlr+6 ; SOURCE LINE # 226 1716 D4802000 MOV R8,[R0+#020H] ; f 171A D4902200 MOV R9,[R0+#022H] ; f+2 171E D4A02400 MOV R10,[R0+#024H] ; f+4 1722 D4B02600 MOV R11,[R0+#026H] ; f+6 1726 DA000000 E CALLS SEG (cos),cos 172A ECF7 PUSH R7 172C ECF6 PUSH R6 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 48 172E ECF5 PUSH R5 1730 ECF4 PUSH R4 1732 D4800800 MOV R8,[R0+#08H] ; d 1736 D4900A00 MOV R9,[R0+#0AH] ; d+2 173A D4A00C00 MOV R10,[R0+#0CH] ; d+4 173E D4B00E00 MOV R11,[R0+#0EH] ; d+6 1742 DA000000 E CALLS SEG (tan),tan 1746 FCF8 POP R8 1748 FCF9 POP R9 174A FCFA POP R10 174C FCFB POP R11 174E DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1752 ECF7 PUSH R7 1754 ECF6 PUSH R6 1756 ECF5 PUSH R5 1758 ECF4 PUSH R4 175A D4802000 MOV R8,[R0+#020H] ; f 175E D4902200 MOV R9,[R0+#022H] ; f+2 1762 D4A02400 MOV R10,[R0+#024H] ; f+4 1766 D4B02600 MOV R11,[R0+#026H] ; f+6 176A DA000000 E CALLS SEG (sin),sin 176E ECF7 PUSH R7 1770 ECF6 PUSH R6 1772 ECF5 PUSH R5 1774 ECF4 PUSH R4 1776 D4801800 MOV R8,[R0+#018H] ; Q 177A D4901A00 MOV R9,[R0+#01AH] ; Q+2 177E D4A01C00 MOV R10,[R0+#01CH] ; Q+4 1782 D4B01E00 MOV R11,[R0+#01EH] ; Q+6 1786 DA000000 E CALLS SEG (cos),cos 178A FCF8 POP R8 178C FCF9 POP R9 178E FCFA POP R10 1790 FCFB POP R11 1792 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1796 FCF8 POP R8 1798 FCF9 POP R9 179A FCFA POP R10 179C FCFB POP R11 179E DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 17A2 C4403000 MOV [R0+#030H],R4 ; Nnr 17A6 C4503200 MOV [R0+#032H],R5 ; Nnr+2 17AA C4603400 MOV [R0+#034H],R6 ; Nnr+4 17AE C4703600 MOV [R0+#036H],R7 ; Nnr+6 ; SOURCE LINE # 227 17B2 D4803000 MOV R8,[R0+#030H] ; Nnr 17B6 D4903200 MOV R9,[R0+#032H] ; Nnr+2 17BA D4A03400 MOV R10,[R0+#034H] ; Nnr+4 17BE D4B03600 MOV R11,[R0+#036H] ; Nnr+6 17C2 D4402800 MOV R4,[R0+#028H] ; Zlr 17C6 D4502A00 MOV R5,[R0+#02AH] ; Zlr+2 17CA D4602C00 MOV R6,[R0+#02CH] ; Zlr+4 17CE D4702E00 MOV R7,[R0+#02EH] ; Zlr+6 17D2 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 17D6 F084 MOV R8,R4 17D8 F095 MOV R9,R5 17DA F0A6 MOV R10,R6 17DC F0B7 MOV R11,R7 17DE DA000000 E CALLS SEG (atan),atan 17E2 E008 MOV R8,#00H 17E4 E009 MOV R9,#00H 17E6 E6FA0080 MOV R10,#08000H 17EA E6FB6640 MOV R11,#04066H 17EE DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 17F2 E6F8182D MOV R8,#02D18H 17F6 E6F94454 MOV R9,#05444H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 49 17FA E6FAFB21 MOV R10,#021FBH 17FE E6FB0940 MOV R11,#04009H 1802 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1806 C4403800 MOV [R0+#038H],R4 ; at 180A C4503A00 MOV [R0+#03AH],R5 ; at+2 180E C4603C00 MOV [R0+#03CH],R6 ; at+4 1812 C4703E00 MOV [R0+#03EH],R7 ; at+6 ; SOURCE LINE # 229 1816 E004 MOV R4,#00H 1818 E005 MOV R5,#00H 181A E006 MOV R6,#00H 181C E007 MOV R7,#00H 181E F6F430E0 MOV 0E030H,R4 1822 F6F532E0 MOV 0E032H,R5 1826 F6F634E0 MOV 0E034H,R6 182A F6F736E0 MOV 0E036H,R7 ; SOURCE LINE # 232 182E D4403000 MOV R4,[R0+#030H] ; Nnr 1832 D4503200 MOV R5,[R0+#032H] ; Nnr+2 1836 D4603400 MOV R6,[R0+#034H] ; Nnr+4 183A D4703600 MOV R7,[R0+#036H] ; Nnr+6 183E E008 MOV R8,#00H 1840 E009 MOV R9,#00H 1842 E00A MOV R10,#00H 1844 E00B MOV R11,#00H 1846 DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 184A DD20 JMPR cc_SGE,?C0134 184C D4402800 MOV R4,[R0+#028H] ; Zlr 1850 D4502A00 MOV R5,[R0+#02AH] ; Zlr+2 1854 D4602C00 MOV R6,[R0+#02CH] ; Zlr+4 1858 D4702E00 MOV R7,[R0+#02EH] ; Zlr+6 185C E008 MOV R8,#00H 185E E009 MOV R9,#00H 1860 E00A MOV R10,#00H 1862 E00B MOV R11,#00H 1864 DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 1868 DD11 JMPR cc_SGE,?C0134 ; SOURCE LINE # 233 186A D4403800 MOV R4,[R0+#038H] ; at 186E D4503A00 MOV R5,[R0+#03AH] ; at+2 1872 D4603C00 MOV R6,[R0+#03CH] ; at+4 1876 D4703E00 MOV R7,[R0+#03EH] ; at+6 187A F6F430E0 MOV 0E030H,R4 187E F6F532E0 MOV 0E032H,R5 1882 F6F634E0 MOV 0E034H,R6 1886 F6F736E0 MOV 0E036H,R7 ; SOURCE LINE # 234 188A 0D6D JMPR cc_UC,?C0135 ; SOURCE LINE # 235 188C ?C0134: ; SOURCE LINE # 238 188C D4403000 MOV R4,[R0+#030H] ; Nnr 1890 D4503200 MOV R5,[R0+#032H] ; Nnr+2 1894 D4603400 MOV R6,[R0+#034H] ; Nnr+4 1898 D4703600 MOV R7,[R0+#036H] ; Nnr+6 189C E008 MOV R8,#00H 189E E009 MOV R9,#00H 18A0 E00A MOV R10,#00H 18A2 E00B MOV R11,#00H 18A4 DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 18A8 DD28 JMPR cc_SGE,?C0136 18AA D4402800 MOV R4,[R0+#028H] ; Zlr 18AE D4502A00 MOV R5,[R0+#02AH] ; Zlr+2 18B2 D4602C00 MOV R6,[R0+#02CH] ; Zlr+4 18B6 D4702E00 MOV R7,[R0+#02EH] ; Zlr+6 18BA E008 MOV R8,#00H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 50 18BC E009 MOV R9,#00H 18BE E00A MOV R10,#00H 18C0 E00B MOV R11,#00H 18C2 DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 18C6 BD19 JMPR cc_SLE,?C0136 ; SOURCE LINE # 239 18C8 E008 MOV R8,#00H 18CA E009 MOV R9,#00H 18CC E6FA0080 MOV R10,#08000H 18D0 E6FB7640 MOV R11,#04076H 18D4 D4403800 MOV R4,[R0+#038H] ; at 18D8 D4503A00 MOV R5,[R0+#03AH] ; at+2 18DC D4603C00 MOV R6,[R0+#03CH] ; at+4 18E0 D4703E00 MOV R7,[R0+#03EH] ; at+6 18E4 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 18E8 F6F430E0 MOV 0E030H,R4 18EC F6F532E0 MOV 0E032H,R5 18F0 F6F634E0 MOV 0E034H,R6 18F4 F6F736E0 MOV 0E036H,R7 ; SOURCE LINE # 240 18F8 0D36 JMPR cc_UC,?C0135 ; SOURCE LINE # 241 18FA ?C0136: ; SOURCE LINE # 244 18FA D4403000 MOV R4,[R0+#030H] ; Nnr 18FE D4503200 MOV R5,[R0+#032H] ; Nnr+2 1902 D4603400 MOV R6,[R0+#034H] ; Nnr+4 1906 D4703600 MOV R7,[R0+#036H] ; Nnr+6 190A E008 MOV R8,#00H 190C E009 MOV R9,#00H 190E E00A MOV R10,#00H 1910 E00B MOV R11,#00H 1912 DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 1916 BD27 JMPR cc_SLE,?C0135 1918 D4402800 MOV R4,[R0+#028H] ; Zlr 191C D4502A00 MOV R5,[R0+#02AH] ; Zlr+2 1920 D4602C00 MOV R6,[R0+#02CH] ; Zlr+4 1924 D4702E00 MOV R7,[R0+#02EH] ; Zlr+6 1928 E008 MOV R8,#00H 192A E009 MOV R9,#00H 192C E00A MOV R10,#00H 192E E00B MOV R11,#00H 1930 DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 1934 2D18 JMPR cc_Z,?C0135 ; SOURCE LINE # 245 1936 E008 MOV R8,#00H 1938 E009 MOV R9,#00H 193A E6FA0080 MOV R10,#08000H 193E E6FB6640 MOV R11,#04066H 1942 D4403800 MOV R4,[R0+#038H] ; at 1946 D4503A00 MOV R5,[R0+#03AH] ; at+2 194A D4603C00 MOV R6,[R0+#03CH] ; at+4 194E D4703E00 MOV R7,[R0+#03EH] ; at+6 1952 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 1956 F6F430E0 MOV 0E030H,R4 195A F6F532E0 MOV 0E032H,R5 195E F6F634E0 MOV 0E034H,R6 1962 F6F736E0 MOV 0E036H,R7 ; SOURCE LINE # 246 ; SOURCE LINE # 247 1966 ?C0135: 1966 06F06000 ADD R0,#060H 196A DB00 RETS ; FUNCTION cAzAlt (END RMASK = @0x7FFF) ; FUNCTION cRaDec (BEGIN RMASK = @0x7FFF) C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 51 ; SOURCE LINE # 265 196C 06F0B0FF ADD R0,#0FFB0H ; SOURCE LINE # 269 1970 E6F8182D MOV R8,#02D18H 1974 E6F94454 MOV R9,#05444H 1978 E6FAFB21 MOV R10,#021FBH 197C E6FB0940 MOV R11,#04009H 1980 F2F408E0 MOV R4,0E008H 1984 F2F50AE0 MOV R5,0E00AH 1988 F2F60CE0 MOV R6,0E00CH 198C F2F70EE0 MOV R7,0E00EH 1990 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1994 E008 MOV R8,#00H 1996 E009 MOV R9,#00H 1998 E6FA0080 MOV R10,#08000H 199C E6FB6640 MOV R11,#04066H 19A0 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 19A4 B840 MOV [R0],R4 ; _lat 19A6 C4500200 MOV [R0+#02H],R5 ; _lat+2 19AA C4600400 MOV [R0+#04H],R6 ; _lat+4 19AE C4700600 MOV [R0+#06H],R7 ; _lat+6 ; SOURCE LINE # 270 19B2 E6F8182D MOV R8,#02D18H 19B6 E6F94454 MOV R9,#05444H 19BA E6FAFB21 MOV R10,#021FBH 19BE E6FB0940 MOV R11,#04009H 19C2 F2F430E0 MOV R4,0E030H 19C6 F2F532E0 MOV R5,0E032H 19CA F2F634E0 MOV R6,0E034H 19CE F2F736E0 MOV R7,0E036H 19D2 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 19D6 E008 MOV R8,#00H 19D8 E009 MOV R9,#00H 19DA E6FA0080 MOV R10,#08000H 19DE E6FB6640 MOV R11,#04066H 19E2 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 19E6 C4400800 MOV [R0+#08H],R4 ; _az 19EA C4500A00 MOV [R0+#0AH],R5 ; _az+2 19EE C4600C00 MOV [R0+#0CH],R6 ; _az+4 19F2 C4700E00 MOV [R0+#0EH],R7 ; _az+6 ; SOURCE LINE # 271 19F6 E6F8182D MOV R8,#02D18H 19FA E6F94454 MOV R9,#05444H 19FE E6FAFB21 MOV R10,#021FBH 1A02 E6FB0940 MOV R11,#04009H 1A06 F2F438E0 MOV R4,0E038H 1A0A F2F53AE0 MOV R5,0E03AH 1A0E F2F63CE0 MOV R6,0E03CH 1A12 F2F73EE0 MOV R7,0E03EH 1A16 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1A1A E008 MOV R8,#00H 1A1C E009 MOV R9,#00H 1A1E E6FA0080 MOV R10,#08000H 1A22 E6FB6640 MOV R11,#04066H 1A26 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1A2A C4401000 MOV [R0+#010H],R4 ; _alt 1A2E C4501200 MOV [R0+#012H],R5 ; _alt+2 1A32 C4601400 MOV [R0+#014H],R6 ; _alt+4 1A36 C4701600 MOV [R0+#016H],R7 ; _alt+6 ; SOURCE LINE # 272 1A3A E6F846EA MOV R8,#0EA46H 1A3E E6F9FF9E MOV R9,#09EFFH 1A42 E6FADB8F MOV R10,#08FDBH 1A46 E6FB4740 MOV R11,#04047H 1A4A F2F410E0 MOV R4,0E010H 1A4E F2F512E0 MOV R5,0E012H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 52 1A52 F2F614E0 MOV R6,0E014H 1A56 F2F716E0 MOV R7,0E016H 1A5A DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1A5E E008 MOV R8,#00H 1A60 E009 MOV R9,#00H 1A62 E6FA0080 MOV R10,#08000H 1A66 E6FB6640 MOV R11,#04066H 1A6A DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1A6E C4401800 MOV [R0+#018H],R4 ; _last 1A72 C4501A00 MOV [R0+#01AH],R5 ; _last+2 1A76 C4601C00 MOV [R0+#01CH],R6 ; _last+4 1A7A C4701E00 MOV [R0+#01EH],R7 ; _last+6 ; SOURCE LINE # 273 1A7E F2F838E0 MOV R8,0E038H 1A82 F2F93AE0 MOV R9,0E03AH 1A86 F2FA3CE0 MOV R10,0E03CH 1A8A F2FB3EE0 MOV R11,0E03EH 1A8E E004 MOV R4,#00H 1A90 E005 MOV R5,#00H 1A92 E6F60080 MOV R6,#08000H 1A96 E6F75640 MOV R7,#04056H 1A9A DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 1A9E E6F8182D MOV R8,#02D18H 1AA2 E6F94454 MOV R9,#05444H 1AA6 E6FAFB21 MOV R10,#021FBH 1AAA E6FB0940 MOV R11,#04009H 1AAE DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1AB2 E008 MOV R8,#00H 1AB4 E009 MOV R9,#00H 1AB6 E6FA0080 MOV R10,#08000H 1ABA E6FB6640 MOV R11,#04066H 1ABE DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1AC2 C4402000 MOV [R0+#020H],R4 ; _z 1AC6 C4502200 MOV [R0+#022H],R5 ; _z+2 1ACA C4602400 MOV [R0+#024H],R6 ; _z+4 1ACE C4702600 MOV [R0+#026H],R7 ; _z+6 ; SOURCE LINE # 275 1AD2 A880 MOV R8,[R0] ; _lat 1AD4 D4900200 MOV R9,[R0+#02H] ; _lat+2 1AD8 D4A00400 MOV R10,[R0+#04H] ; _lat+4 1ADC D4B00600 MOV R11,[R0+#06H] ; _lat+6 1AE0 DA000000 E CALLS SEG (cos),cos 1AE4 ECF7 PUSH R7 1AE6 ECF6 PUSH R6 1AE8 ECF5 PUSH R5 1AEA ECF4 PUSH R4 1AEC D4801000 MOV R8,[R0+#010H] ; _alt 1AF0 D4901200 MOV R9,[R0+#012H] ; _alt+2 1AF4 D4A01400 MOV R10,[R0+#014H] ; _alt+4 1AF8 D4B01600 MOV R11,[R0+#016H] ; _alt+6 1AFC DA000000 E CALLS SEG (cos),cos 1B00 FCF8 POP R8 1B02 FCF9 POP R9 1B04 FCFA POP R10 1B06 FCFB POP R11 1B08 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1B0C ECF7 PUSH R7 1B0E ECF6 PUSH R6 1B10 ECF5 PUSH R5 1B12 ECF4 PUSH R4 1B14 D4800800 MOV R8,[R0+#08H] ; _az 1B18 D4900A00 MOV R9,[R0+#0AH] ; _az+2 1B1C D4A00C00 MOV R10,[R0+#0CH] ; _az+4 1B20 D4B00E00 MOV R11,[R0+#0EH] ; _az+6 1B24 DA000000 E CALLS SEG (cos),cos 1B28 F084 MOV R8,R4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 53 1B2A F095 MOV R9,R5 1B2C F0A6 MOV R10,R6 1B2E F0B7 MOV R11,R7 1B30 FCF4 POP R4 1B32 FCF5 POP R5 1B34 FCF6 POP R6 1B36 FCF7 POP R7 1B38 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1B3C ECF7 PUSH R7 1B3E ECF6 PUSH R6 1B40 ECF5 PUSH R5 1B42 ECF4 PUSH R4 1B44 A880 MOV R8,[R0] ; _lat 1B46 D4900200 MOV R9,[R0+#02H] ; _lat+2 1B4A D4A00400 MOV R10,[R0+#04H] ; _lat+4 1B4E D4B00600 MOV R11,[R0+#06H] ; _lat+6 1B52 DA000000 E CALLS SEG (sin),sin 1B56 ECF7 PUSH R7 1B58 ECF6 PUSH R6 1B5A ECF5 PUSH R5 1B5C ECF4 PUSH R4 1B5E D4801000 MOV R8,[R0+#010H] ; _alt 1B62 D4901200 MOV R9,[R0+#012H] ; _alt+2 1B66 D4A01400 MOV R10,[R0+#014H] ; _alt+4 1B6A D4B01600 MOV R11,[R0+#016H] ; _alt+6 1B6E DA000000 E CALLS SEG (sin),sin 1B72 FCF8 POP R8 1B74 FCF9 POP R9 1B76 FCFA POP R10 1B78 FCFB POP R11 1B7A DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1B7E FCF8 POP R8 1B80 FCF9 POP R9 1B82 FCFA POP R10 1B84 FCFB POP R11 1B86 DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 1B8A F084 MOV R8,R4 1B8C F095 MOV R9,R5 1B8E F0A6 MOV R10,R6 1B90 F0B7 MOV R11,R7 1B92 DA000000 E CALLS SEG (asin),asin 1B96 C4402800 MOV [R0+#028H],R4 ; _dec 1B9A C4502A00 MOV [R0+#02AH],R5 ; _dec+2 1B9E C4602C00 MOV [R0+#02CH],R6 ; _dec+4 1BA2 C4702E00 MOV [R0+#02EH],R7 ; _dec+6 ; SOURCE LINE # 277 1BA6 D4800800 MOV R8,[R0+#08H] ; _az 1BAA D4900A00 MOV R9,[R0+#0AH] ; _az+2 1BAE D4A00C00 MOV R10,[R0+#0CH] ; _az+4 1BB2 D4B00E00 MOV R11,[R0+#0EH] ; _az+6 1BB6 DA000000 E CALLS SEG (sin),sin 1BBA DA000000 E CALLS SEG (?C_DPNEG),?C_DPNEG 1BBE ECF7 PUSH R7 1BC0 ECF6 PUSH R6 1BC2 ECF5 PUSH R5 1BC4 ECF4 PUSH R4 1BC6 D4801000 MOV R8,[R0+#010H] ; _alt 1BCA D4901200 MOV R9,[R0+#012H] ; _alt+2 1BCE D4A01400 MOV R10,[R0+#014H] ; _alt+4 1BD2 D4B01600 MOV R11,[R0+#016H] ; _alt+6 1BD6 DA000000 E CALLS SEG (cos),cos 1BDA F084 MOV R8,R4 1BDC F095 MOV R9,R5 1BDE F0A6 MOV R10,R6 1BE0 F0B7 MOV R11,R7 1BE2 FCF4 POP R4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 54 1BE4 FCF5 POP R5 1BE6 FCF6 POP R6 1BE8 FCF7 POP R7 1BEA DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1BEE ECF7 PUSH R7 1BF0 ECF6 PUSH R6 1BF2 ECF5 PUSH R5 1BF4 ECF4 PUSH R4 1BF6 D4802800 MOV R8,[R0+#028H] ; _dec 1BFA D4902A00 MOV R9,[R0+#02AH] ; _dec+2 1BFE D4A02C00 MOV R10,[R0+#02CH] ; _dec+4 1C02 D4B02E00 MOV R11,[R0+#02EH] ; _dec+6 1C06 DA000000 E CALLS SEG (cos),cos 1C0A F084 MOV R8,R4 1C0C F095 MOV R9,R5 1C0E F0A6 MOV R10,R6 1C10 F0B7 MOV R11,R7 1C12 FCF4 POP R4 1C14 FCF5 POP R5 1C16 FCF6 POP R6 1C18 FCF7 POP R7 1C1A DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1C1E F084 MOV R8,R4 1C20 F095 MOV R9,R5 1C22 F0A6 MOV R10,R6 1C24 F0B7 MOV R11,R7 1C26 DA000000 E CALLS SEG (asin),asin 1C2A C4404000 MOV [R0+#040H],R4 ; _stw1 1C2E C4504200 MOV [R0+#042H],R5 ; _stw1+2 1C32 C4604400 MOV [R0+#044H],R6 ; _stw1+4 1C36 C4704600 MOV [R0+#046H],R7 ; _stw1+6 ; SOURCE LINE # 279 1C3A A880 MOV R8,[R0] ; _lat 1C3C D4900200 MOV R9,[R0+#02H] ; _lat+2 1C40 D4A00400 MOV R10,[R0+#04H] ; _lat+4 1C44 D4B00600 MOV R11,[R0+#06H] ; _lat+6 1C48 DA000000 E CALLS SEG (sin),sin 1C4C ECF7 PUSH R7 1C4E ECF6 PUSH R6 1C50 ECF5 PUSH R5 1C52 ECF4 PUSH R4 1C54 D4802000 MOV R8,[R0+#020H] ; _z 1C58 D4902200 MOV R9,[R0+#022H] ; _z+2 1C5C D4A02400 MOV R10,[R0+#024H] ; _z+4 1C60 D4B02600 MOV R11,[R0+#026H] ; _z+6 1C64 DA000000 E CALLS SEG (sin),sin 1C68 FCF8 POP R8 1C6A FCF9 POP R9 1C6C FCFA POP R10 1C6E FCFB POP R11 1C70 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1C74 ECF7 PUSH R7 1C76 ECF6 PUSH R6 1C78 ECF5 PUSH R5 1C7A ECF4 PUSH R4 1C7C D4800800 MOV R8,[R0+#08H] ; _az 1C80 D4900A00 MOV R9,[R0+#0AH] ; _az+2 1C84 D4A00C00 MOV R10,[R0+#0CH] ; _az+4 1C88 D4B00E00 MOV R11,[R0+#0EH] ; _az+6 1C8C DA000000 E CALLS SEG (cos),cos 1C90 F084 MOV R8,R4 1C92 F095 MOV R9,R5 1C94 F0A6 MOV R10,R6 1C96 F0B7 MOV R11,R7 1C98 FCF4 POP R4 1C9A FCF5 POP R5 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 55 1C9C FCF6 POP R6 1C9E FCF7 POP R7 1CA0 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1CA4 ECF7 PUSH R7 1CA6 ECF6 PUSH R6 1CA8 ECF5 PUSH R5 1CAA ECF4 PUSH R4 1CAC A880 MOV R8,[R0] ; _lat 1CAE D4900200 MOV R9,[R0+#02H] ; _lat+2 1CB2 D4A00400 MOV R10,[R0+#04H] ; _lat+4 1CB6 D4B00600 MOV R11,[R0+#06H] ; _lat+6 1CBA DA000000 E CALLS SEG (cos),cos 1CBE ECF7 PUSH R7 1CC0 ECF6 PUSH R6 1CC2 ECF5 PUSH R5 1CC4 ECF4 PUSH R4 1CC6 D4802000 MOV R8,[R0+#020H] ; _z 1CCA D4902200 MOV R9,[R0+#022H] ; _z+2 1CCE D4A02400 MOV R10,[R0+#024H] ; _z+4 1CD2 D4B02600 MOV R11,[R0+#026H] ; _z+6 1CD6 DA000000 E CALLS SEG (cos),cos 1CDA FCF8 POP R8 1CDC FCF9 POP R9 1CDE FCFA POP R10 1CE0 FCFB POP R11 1CE2 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1CE6 FCF8 POP R8 1CE8 FCF9 POP R9 1CEA FCFA POP R10 1CEC FCFB POP R11 1CEE DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 1CF2 C4404800 MOV [R0+#048H],R4 ; _stw2 1CF6 C4504A00 MOV [R0+#04AH],R5 ; _stw2+2 1CFA C4604C00 MOV [R0+#04CH],R6 ; _stw2+4 1CFE C4704E00 MOV [R0+#04EH],R7 ; _stw2+6 ; SOURCE LINE # 281 1D02 D4404000 MOV R4,[R0+#040H] ; _stw1 1D06 D4504200 MOV R5,[R0+#042H] ; _stw1+2 1D0A D4604400 MOV R6,[R0+#044H] ; _stw1+4 1D0E D4704600 MOV R7,[R0+#046H] ; _stw1+6 1D12 E008 MOV R8,#00H 1D14 E009 MOV R9,#00H 1D16 E00A MOV R10,#00H 1D18 E00B MOV R11,#00H 1D1A DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 1D1E CD27 JMPR cc_SLT,?C0138 ; SOURCE LINE # 282 1D20 D4802800 MOV R8,[R0+#028H] ; _dec 1D24 D4902A00 MOV R9,[R0+#02AH] ; _dec+2 1D28 D4A02C00 MOV R10,[R0+#02CH] ; _dec+4 1D2C D4B02E00 MOV R11,[R0+#02EH] ; _dec+6 1D30 DA000000 E CALLS SEG (cos),cos 1D34 F084 MOV R8,R4 1D36 F095 MOV R9,R5 1D38 F0A6 MOV R10,R6 1D3A F0B7 MOV R11,R7 1D3C D4404800 MOV R4,[R0+#048H] ; _stw2 1D40 D4504A00 MOV R5,[R0+#04AH] ; _stw2+2 1D44 D4604C00 MOV R6,[R0+#04CH] ; _stw2+4 1D48 D4704E00 MOV R7,[R0+#04EH] ; _stw2+6 1D4C DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1D50 F084 MOV R8,R4 1D52 F095 MOV R9,R5 1D54 F0A6 MOV R10,R6 1D56 F0B7 MOV R11,R7 1D58 DA000000 E CALLS SEG (acos),acos C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 56 1D5C C4403800 MOV [R0+#038H],R4 ; _stw 1D60 C4503A00 MOV [R0+#03AH],R5 ; _stw+2 1D64 C4603C00 MOV [R0+#03CH],R6 ; _stw+4 1D68 C4703E00 MOV [R0+#03EH],R7 ; _stw+6 ; SOURCE LINE # 283 1D6C 0D28 JMPR cc_UC,?C0139 1D6E ?C0138: ; SOURCE LINE # 285 1D6E D4802800 MOV R8,[R0+#028H] ; _dec 1D72 D4902A00 MOV R9,[R0+#02AH] ; _dec+2 1D76 D4A02C00 MOV R10,[R0+#02CH] ; _dec+4 1D7A D4B02E00 MOV R11,[R0+#02EH] ; _dec+6 1D7E DA000000 E CALLS SEG (cos),cos 1D82 F084 MOV R8,R4 1D84 F095 MOV R9,R5 1D86 F0A6 MOV R10,R6 1D88 F0B7 MOV R11,R7 1D8A D4404800 MOV R4,[R0+#048H] ; _stw2 1D8E D4504A00 MOV R5,[R0+#04AH] ; _stw2+2 1D92 D4604C00 MOV R6,[R0+#04CH] ; _stw2+4 1D96 D4704E00 MOV R7,[R0+#04EH] ; _stw2+6 1D9A DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1D9E F084 MOV R8,R4 1DA0 F095 MOV R9,R5 1DA2 F0A6 MOV R10,R6 1DA4 F0B7 MOV R11,R7 1DA6 DA000000 E CALLS SEG (acos),acos 1DAA DA000000 E CALLS SEG (?C_DPNEG),?C_DPNEG 1DAE C4403800 MOV [R0+#038H],R4 ; _stw 1DB2 C4503A00 MOV [R0+#03AH],R5 ; _stw+2 1DB6 C4603C00 MOV [R0+#03CH],R6 ; _stw+4 1DBA C4703E00 MOV [R0+#03EH],R7 ; _stw+6 ; SOURCE LINE # 286 1DBE ?C0139: ; SOURCE LINE # 288 1DBE D4803800 MOV R8,[R0+#038H] ; _stw 1DC2 D4903A00 MOV R9,[R0+#03AH] ; _stw+2 1DC6 D4A03C00 MOV R10,[R0+#03CH] ; _stw+4 1DCA D4B03E00 MOV R11,[R0+#03EH] ; _stw+6 1DCE D4401800 MOV R4,[R0+#018H] ; _last 1DD2 D4501A00 MOV R5,[R0+#01AH] ; _last+2 1DD6 D4601C00 MOV R6,[R0+#01CH] ; _last+4 1DDA D4701E00 MOV R7,[R0+#01EH] ; _last+6 1DDE DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 1DE2 C4403000 MOV [R0+#030H],R4 ; _ra 1DE6 C4503200 MOV [R0+#032H],R5 ; _ra+2 1DEA C4603400 MOV [R0+#034H],R6 ; _ra+4 1DEE C4703600 MOV [R0+#036H],R7 ; _ra+6 ; SOURCE LINE # 290 1DF2 E008 MOV R8,#00H 1DF4 E009 MOV R9,#00H 1DF6 E6FA0080 MOV R10,#08000H 1DFA E6FB6640 MOV R11,#04066H 1DFE D4403000 MOV R4,[R0+#030H] ; _ra 1E02 D4503200 MOV R5,[R0+#032H] ; _ra+2 1E06 D4603400 MOV R6,[R0+#034H] ; _ra+4 1E0A D4703600 MOV R7,[R0+#036H] ; _ra+6 1E0E DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1E12 E6F8182D MOV R8,#02D18H 1E16 E6F94454 MOV R9,#05444H 1E1A E6FAFB21 MOV R10,#021FBH 1E1E E6FB0940 MOV R11,#04009H 1E22 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1E26 E008 MOV R8,#00H 1E28 E009 MOV R9,#00H 1E2A E00A MOV R10,#00H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 57 1E2C E6FB2E40 MOV R11,#0402EH 1E30 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1E34 F6F420E0 MOV 0E020H,R4 1E38 F6F522E0 MOV 0E022H,R5 1E3C F6F624E0 MOV 0E024H,R6 1E40 F6F726E0 MOV 0E026H,R7 ; SOURCE LINE # 292 1E44 F2F420E0 MOV R4,0E020H 1E48 F2F522E0 MOV R5,0E022H 1E4C F2F624E0 MOV R6,0E024H 1E50 F2F726E0 MOV R7,0E026H 1E54 E008 MOV R8,#00H 1E56 E009 MOV R9,#00H 1E58 E00A MOV R10,#00H 1E5A E00B MOV R11,#00H 1E5C DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 1E60 DD17 JMPR cc_SGE,?C0140 ; SOURCE LINE # 293 1E62 E008 MOV R8,#00H 1E64 E009 MOV R9,#00H 1E66 E00A MOV R10,#00H 1E68 E6FB3840 MOV R11,#04038H 1E6C F2F420E0 MOV R4,0E020H 1E70 F2F522E0 MOV R5,0E022H 1E74 F2F624E0 MOV R6,0E024H 1E78 F2F726E0 MOV R7,0E026H 1E7C DA000000 E CALLS SEG (?C_DPADD),?C_DPADD 1E80 F6F420E0 MOV 0E020H,R4 1E84 F6F522E0 MOV 0E022H,R5 1E88 F6F624E0 MOV 0E024H,R6 1E8C F6F726E0 MOV 0E026H,R7 ; SOURCE LINE # 294 1E90 ?C0140: ; SOURCE LINE # 296 1E90 E6F85F08 MOV R8,#085FH 1E94 E6F939EF MOV R9,#0EF39H 1E98 E6FAFFFF MOV R10,#0FFFFH 1E9C E6FB3740 MOV R11,#04037H 1EA0 F2F420E0 MOV R4,0E020H 1EA4 F2F522E0 MOV R5,0E022H 1EA8 F2F624E0 MOV R6,0E024H 1EAC F2F726E0 MOV R7,0E026H 1EB0 DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 1EB4 CD17 JMPR cc_SLT,?C0141 ; SOURCE LINE # 297 1EB6 E008 MOV R8,#00H 1EB8 E009 MOV R9,#00H 1EBA E00A MOV R10,#00H 1EBC E6FB3840 MOV R11,#04038H 1EC0 F2F420E0 MOV R4,0E020H 1EC4 F2F522E0 MOV R5,0E022H 1EC8 F2F624E0 MOV R6,0E024H 1ECC F2F726E0 MOV R7,0E026H 1ED0 DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB 1ED4 F6F420E0 MOV 0E020H,R4 1ED8 F6F522E0 MOV 0E022H,R5 1EDC F6F624E0 MOV 0E024H,R6 1EE0 F6F726E0 MOV 0E026H,R7 ; SOURCE LINE # 298 1EE4 ?C0141: ; SOURCE LINE # 300 1EE4 E008 MOV R8,#00H 1EE6 E009 MOV R9,#00H 1EE8 E6FA0080 MOV R10,#08000H 1EEC E6FB6640 MOV R11,#04066H 1EF0 D4402800 MOV R4,[R0+#028H] ; _dec C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 58 1EF4 D4502A00 MOV R5,[R0+#02AH] ; _dec+2 1EF8 D4602C00 MOV R6,[R0+#02CH] ; _dec+4 1EFC D4702E00 MOV R7,[R0+#02EH] ; _dec+6 1F00 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1F04 E6F8182D MOV R8,#02D18H 1F08 E6F94454 MOV R9,#05444H 1F0C E6FAFB21 MOV R10,#021FBH 1F10 E6FB0940 MOV R11,#04009H 1F14 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 1F18 F6F428E0 MOV 0E028H,R4 1F1C F6F52AE0 MOV 0E02AH,R5 1F20 F6F62CE0 MOV 0E02CH,R6 1F24 F6F72EE0 MOV 0E02EH,R7 ; SOURCE LINE # 301 1F28 06F05000 ADD R0,#050H 1F2C DB00 RETS ; FUNCTION cRaDec (END RMASK = @0x7FFF) ; FUNCTION dHourslArc10 (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 311 1F2E 88B0 MOV [-R0],R11 1F30 88A0 MOV [-R0],R10 1F32 8890 MOV [-R0],R9 1F34 8880 MOV [-R0],R8 1F36 06F0F0FF ADD R0,#0FFF0H ; SOURCE LINE # 313 1F3A E008 MOV R8,#00H 1F3C E009 MOV R9,#00H 1F3E E6FAC07A MOV R10,#07AC0H 1F42 E6FB2041 MOV R11,#04120H 1F46 D4401000 MOV R4,[R0+#010H] ; val 1F4A D4501200 MOV R5,[R0+#012H] ; val+2 1F4E D4601400 MOV R6,[R0+#014H] ; val+4 1F52 D4701600 MOV R7,[R0+#016H] ; val+6 1F56 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1F5A B840 MOV [R0],R4 ; x 1F5C C4500200 MOV [R0+#02H],R5 ; x+2 1F60 C4600400 MOV [R0+#04H],R6 ; x+4 1F64 C4700600 MOV [R0+#06H],R7 ; x+6 ; SOURCE LINE # 314 1F68 E084 MOV R4,#08H ; y 1F6A 0040 ADD R4,R0 ; y 1F6C 66F4FF3F AND R4,#03FFFH 1F70 F2F504FE MOV R5,DPP2 1F74 8850 MOV [-R0],R5 1F76 F0C4 MOV R12,R4 1F78 D4800200 MOV R8,[R0+#02H] ; x 1F7C D4900400 MOV R9,[R0+#04H] ; x+2 1F80 D4A00600 MOV R10,[R0+#06H] ; x+4 1F84 D4B00800 MOV R11,[R0+#08H] ; x+6 1F88 DA000000 E CALLS SEG (modf),modf 1F8C 0802 ADD R0,#02H ; SOURCE LINE # 315 1F8E D4400800 MOV R4,[R0+#08H] ; y 1F92 D4500A00 MOV R5,[R0+#0AH] ; y+2 1F96 D4600C00 MOV R6,[R0+#0CH] ; y+4 1F9A D4700E00 MOV R7,[R0+#0EH] ; y+6 1F9E DA000000 E CALLS SEG (?C_CASTD),?C_CASTD ; SOURCE LINE # 316 1FA2 06F01800 ADD R0,#018H 1FA6 DB00 RETS ; FUNCTION dHourslArc10 (END RMASK = @0x7FFF) ; FUNCTION dDegreeslArc10 (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 323 1FA8 88B0 MOV [-R0],R11 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 59 1FAA 88A0 MOV [-R0],R10 1FAC 8890 MOV [-R0],R9 1FAE 8880 MOV [-R0],R8 1FB0 06F0F0FF ADD R0,#0FFF0H ; SOURCE LINE # 325 1FB4 E008 MOV R8,#00H 1FB6 E009 MOV R9,#00H 1FB8 E6FA0094 MOV R10,#09400H 1FBC E6FBE140 MOV R11,#040E1H 1FC0 D4401000 MOV R4,[R0+#010H] ; val 1FC4 D4501200 MOV R5,[R0+#012H] ; val+2 1FC8 D4601400 MOV R6,[R0+#014H] ; val+4 1FCC D4701600 MOV R7,[R0+#016H] ; val+6 1FD0 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 1FD4 B840 MOV [R0],R4 ; x 1FD6 C4500200 MOV [R0+#02H],R5 ; x+2 1FDA C4600400 MOV [R0+#04H],R6 ; x+4 1FDE C4700600 MOV [R0+#06H],R7 ; x+6 ; SOURCE LINE # 326 1FE2 E084 MOV R4,#08H ; y 1FE4 0040 ADD R4,R0 ; y 1FE6 66F4FF3F AND R4,#03FFFH 1FEA F2F504FE MOV R5,DPP2 1FEE 8850 MOV [-R0],R5 1FF0 F0C4 MOV R12,R4 1FF2 D4800200 MOV R8,[R0+#02H] ; x 1FF6 D4900400 MOV R9,[R0+#04H] ; x+2 1FFA D4A00600 MOV R10,[R0+#06H] ; x+4 1FFE D4B00800 MOV R11,[R0+#08H] ; x+6 2002 DA000000 E CALLS SEG (modf),modf 2006 0802 ADD R0,#02H ; SOURCE LINE # 327 2008 D4400800 MOV R4,[R0+#08H] ; y 200C D4500A00 MOV R5,[R0+#0AH] ; y+2 2010 D4600C00 MOV R6,[R0+#0CH] ; y+4 2014 D4700E00 MOV R7,[R0+#0EH] ; y+6 2018 DA000000 E CALLS SEG (?C_CASTD),?C_CASTD ; SOURCE LINE # 328 201C 06F01800 ADD R0,#018H 2020 DB00 RETS ; FUNCTION dDegreeslArc10 (END RMASK = @0x7FFF) ; FUNCTION lArc10dHours (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 336 ;---- Variable 'val' assigned to Register 'R8/R9' ---- ; SOURCE LINE # 338 2022 F048 MOV R4,R8 2024 F059 MOV R5,R9 2026 F069 MOV R6,R9 2028 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 202C E008 MOV R8,#00H 202E E009 MOV R9,#00H 2030 E6FA0094 MOV R10,#09400H 2034 E6FBE140 MOV R11,#040E1H 2038 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 203C E008 MOV R8,#00H 203E E009 MOV R9,#00H 2040 E00A MOV R10,#00H 2042 E6FB2E40 MOV R11,#0402EH 2046 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 204A F084 MOV R8,R4 204C F095 MOV R9,R5 204E F0A6 MOV R10,R6 2050 F0B7 MOV R11,R7 ;---- Variable 'x' assigned to Register 'R8/R9/R10/R11' ---- ; SOURCE LINE # 339 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 60 ; SOURCE LINE # 340 2052 DB00 RETS ; FUNCTION lArc10dHours (END RMASK = @0x7FFF) ; FUNCTION lArc10dDegrees (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 349 ;---- Variable 'val' assigned to Register 'R8/R9' ---- ; SOURCE LINE # 351 2054 F048 MOV R4,R8 2056 F059 MOV R5,R9 2058 F069 MOV R6,R9 205A DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 205E E008 MOV R8,#00H 2060 E009 MOV R9,#00H 2062 E6FA0094 MOV R10,#09400H 2066 E6FBE140 MOV R11,#040E1H 206A DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 206E F084 MOV R8,R4 2070 F095 MOV R9,R5 2072 F0A6 MOV R10,R6 2074 F0B7 MOV R11,R7 ;---- Variable 'x' assigned to Register 'R8/R9/R10/R11' ---- ; SOURCE LINE # 352 ; SOURCE LINE # 353 2076 DB00 RETS ; FUNCTION lArc10dDegrees (END RMASK = @0x7FFF) ; FUNCTION arc10Sector (BEGIN RMASK = @0x4030) ; SOURCE LINE # 366 ;---- Variable 'val' assigned to Register 'R8/R9' ---- ; SOURCE LINE # 368 2078 F048 MOV R4,R8 207A F059 MOV R5,R9 207C 2840 SUB R4,#00H 207E 3850 SUBC R5,#00H 2080 CD09 JMPR cc_SLT,?C0146 2082 F048 MOV R4,R8 2084 F059 MOV R5,R9 2086 26F44070 SUB R4,#07040H 208A 36F53100 SUBC R5,#031H 208E DD02 JMPR cc_SGE,?C0146 ; SOURCE LINE # 369 2090 E004 MOV R4,#00H 2092 DB00 RETS ; SOURCE LINE # 370 2094 ?C0146: ; SOURCE LINE # 372 2094 F048 MOV R4,R8 2096 F059 MOV R5,R9 2098 26F44070 SUB R4,#07040H 209C 36F53100 SUBC R5,#031H 20A0 CD09 JMPR cc_SLT,?C0148 20A2 F048 MOV R4,R8 20A4 F059 MOV R5,R9 20A6 26F480E0 SUB R4,#0E080H 20AA 36F56200 SUBC R5,#062H 20AE DD02 JMPR cc_SGE,?C0148 ; SOURCE LINE # 373 20B0 E014 MOV R4,#01H 20B2 DB00 RETS ; SOURCE LINE # 374 20B4 ?C0148: ; SOURCE LINE # 376 20B4 F048 MOV R4,R8 20B6 F059 MOV R5,R9 20B8 26F480E0 SUB R4,#0E080H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 61 20BC 36F56200 SUBC R5,#062H 20C0 CD09 JMPR cc_SLT,?C0149 20C2 F048 MOV R4,R8 20C4 F059 MOV R5,R9 20C6 26F4C050 SUB R4,#050C0H 20CA 36F59400 SUBC R5,#094H 20CE DD02 JMPR cc_SGE,?C0149 ; SOURCE LINE # 377 20D0 E024 MOV R4,#02H 20D2 DB00 RETS ; SOURCE LINE # 378 20D4 ?C0149: ; SOURCE LINE # 380 20D4 E034 MOV R4,#03H ; SOURCE LINE # 381 20D6 ?C0147: 20D6 DB00 RETS ; FUNCTION arc10Sector (END RMASK = @0x4030) ; FUNCTION degreesSector (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 395 20D8 88B0 MOV [-R0],R11 20DA 88A0 MOV [-R0],R10 20DC 8890 MOV [-R0],R9 20DE 8880 MOV [-R0],R8 ; SOURCE LINE # 397 20E0 A840 MOV R4,[R0] ; val 20E2 D4500200 MOV R5,[R0+#02H] ; val+2 20E6 D4600400 MOV R6,[R0+#04H] ; val+4 20EA D4700600 MOV R7,[R0+#06H] ; val+6 20EE E008 MOV R8,#00H 20F0 E009 MOV R9,#00H 20F2 E00A MOV R10,#00H 20F4 E00B MOV R11,#00H 20F6 DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 20FA CD12 JMPR cc_SLT,?C0150 20FC A840 MOV R4,[R0] ; val 20FE D4500200 MOV R5,[R0+#02H] ; val+2 2102 D4600400 MOV R6,[R0+#04H] ; val+4 2106 D4700600 MOV R7,[R0+#06H] ; val+6 210A E008 MOV R8,#00H 210C E009 MOV R9,#00H 210E E6FA0080 MOV R10,#08000H 2112 E6FB5640 MOV R11,#04056H 2116 DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 211A DD02 JMPR cc_SGE,?C0150 ; SOURCE LINE # 398 211C E004 MOV R4,#00H 211E 0D45 JMPR cc_UC,?C0151 ; SOURCE LINE # 399 2120 ?C0150: ; SOURCE LINE # 401 2120 A840 MOV R4,[R0] ; val 2122 D4500200 MOV R5,[R0+#02H] ; val+2 2126 D4600400 MOV R6,[R0+#04H] ; val+4 212A D4700600 MOV R7,[R0+#06H] ; val+6 212E E008 MOV R8,#00H 2130 E009 MOV R9,#00H 2132 E6FA0080 MOV R10,#08000H 2136 E6FB5640 MOV R11,#04056H 213A DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 213E CD12 JMPR cc_SLT,?C0152 2140 A840 MOV R4,[R0] ; val 2142 D4500200 MOV R5,[R0+#02H] ; val+2 2146 D4600400 MOV R6,[R0+#04H] ; val+4 214A D4700600 MOV R7,[R0+#06H] ; val+6 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 62 214E E008 MOV R8,#00H 2150 E009 MOV R9,#00H 2152 E6FA0080 MOV R10,#08000H 2156 E6FB6640 MOV R11,#04066H 215A DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 215E DD02 JMPR cc_SGE,?C0152 ; SOURCE LINE # 402 2160 E014 MOV R4,#01H 2162 0D23 JMPR cc_UC,?C0151 ; SOURCE LINE # 403 2164 ?C0152: ; SOURCE LINE # 405 2164 A840 MOV R4,[R0] ; val 2166 D4500200 MOV R5,[R0+#02H] ; val+2 216A D4600400 MOV R6,[R0+#04H] ; val+4 216E D4700600 MOV R7,[R0+#06H] ; val+6 2172 E008 MOV R8,#00H 2174 E009 MOV R9,#00H 2176 E6FA0080 MOV R10,#08000H 217A E6FB6640 MOV R11,#04066H 217E DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 2182 CD12 JMPR cc_SLT,?C0153 2184 A840 MOV R4,[R0] ; val 2186 D4500200 MOV R5,[R0+#02H] ; val+2 218A D4600400 MOV R6,[R0+#04H] ; val+4 218E D4700600 MOV R7,[R0+#06H] ; val+6 2192 E008 MOV R8,#00H 2194 E009 MOV R9,#00H 2196 E6FA00E0 MOV R10,#0E000H 219A E6FB7040 MOV R11,#04070H 219E DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 21A2 DD02 JMPR cc_SGE,?C0153 ; SOURCE LINE # 406 21A4 E024 MOV R4,#02H 21A6 0D01 JMPR cc_UC,?C0151 ; SOURCE LINE # 407 21A8 ?C0153: ; SOURCE LINE # 409 21A8 E034 MOV R4,#03H ; SOURCE LINE # 411 21AA ?C0151: 21AA 06F00800 ADD R0,#08H 21AE DB00 RETS ; FUNCTION degreesSector (END RMASK = @0x7FFF) ; FUNCTION testAstro (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 421 21B0 ECFD PUSH R13 21B2 06F0D6FF ADD R0,#0FFD6H ; SOURCE LINE # 422 ; SOURCE LINE # 426 21B6 E6F412F6 MOV R4,#0F612H 21BA E6F5ED24 MOV R5,#024EDH 21BE E6F62262 MOV R6,#06222H 21C2 E6F74840 MOV R7,#04048H 21C6 F6F408E0 MOV 0E008H,R4 21CA F6F50AE0 MOV 0E00AH,R5 21CE F6F60CE0 MOV 0E00CH,R6 21D2 F6F70EE0 MOV 0E00EH,R7 ; SOURCE LINE # 427 21D6 E6F41D8E MOV R4,#08E1DH 21DA E6F5AED2 MOV R5,#0D2AEH 21DE E6F6DD5D MOV R6,#05DDDH 21E2 E6F72240 MOV R7,#04022H 21E6 F6F400E0 MOV 0E000H,R4 21EA F6F502E0 MOV 0E002H,R5 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 63 21EE F6F604E0 MOV 0E004H,R6 21F2 F6F706E0 MOV 0E006H,R7 ; SOURCE LINE # 429 21F6 E6F4D307 MOV R4,#07D3H 21FA F6F40000 E MOV YEAR,R4 ; SOURCE LINE # 430 21FE E044 MOV R4,#04H 2200 F6F40000 E MOV MONTH,R4 ; SOURCE LINE # 431 2204 E0B4 MOV R4,#0BH 2206 F6F40000 E MOV DAY,R4 ; SOURCE LINE # 432 220A E6F41400 MOV R4,#014H 220E F6F40000 E MOV HOUR,R4 ; SOURCE LINE # 433 2212 E0E4 MOV R4,#0EH 2214 F6F40000 E MOV MINUTE,R4 ; SOURCE LINE # 434 2218 E024 MOV R4,#02H 221A F6F40000 E MOV SECOND,R4 ; SOURCE LINE # 435 221E E0A4 MOV R4,#0AH 2220 F6F40000 E MOV MSECOND,R4 ; SOURCE LINE # 437 2224 E6F4B328 MOV R4,#028B3H 2228 E6F5ECA2 MOV R5,#0A2ECH 222C E6F6E821 MOV R6,#021E8H 2230 E6F73340 MOV R7,#04033H 2234 F6F420E0 MOV 0E020H,R4 2238 F6F522E0 MOV 0E022H,R5 223C F6F624E0 MOV 0E024H,R6 2240 F6F726E0 MOV 0E026H,R7 ; SOURCE LINE # 438 2244 E6F41897 MOV R4,#09718H 2248 E6F5AAB4 MOV R5,#0B4AAH 224C E6F6C514 MOV R6,#014C5H 2250 E6F75040 MOV R7,#04050H 2254 F6F428E0 MOV 0E028H,R4 2258 F6F52AE0 MOV 0E02AH,R5 225C F6F62CE0 MOV 0E02CH,R6 2260 F6F72EE0 MOV 0E02EH,R7 ; SOURCE LINE # 440 2264 E00D MOV R13,#00H ;---- Variable 'ct' assigned to Register 'R13' ---- ; SOURCE LINE # 443 2266 ?C0156: ; SOURCE LINE # 445 2266 DA000000 R CALLS SEG (cCurrentStarTime),cCurrentStarTime ; SOURCE LINE # 446 226A DA000000 R CALLS SEG (cAzAlt),cAzAlt ; SOURCE LINE # 448 ; SOURCE LINE # 449 226E 801D CMPI1 R13,#01H 2270 CDFA JMPR cc_SLT,?C0156 2272 ?C0155: ; SOURCE LINE # 451 2272 DA000000 R CALLS SEG (cRaDec),cRaDec ; SOURCE LINE # 454 2276 F2F420E0 MOV R4,0E020H 227A F2F522E0 MOV R5,0E022H 227E F2F624E0 MOV R6,0E024H 2282 F2F726E0 MOV R7,0E026H 2286 8870 MOV [-R0],R7 2288 8860 MOV [-R0],R6 228A 8850 MOV [-R0],R5 228C F0C4 MOV R12,R4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 64 228E E6FA0000 R MOV R10,#POF (SC?2E8) 2292 E6FB0000 R MOV R11,#PAG (SC?2E8) 2296 E068 MOV R8,#06H ; tmp 2298 0080 ADD R8,R0 ; tmp 229A 66F8FF3F AND R8,#03FFFH 229E F2F904FE MOV R9,DPP2 22A2 DA000000 E CALLS SEG (sprintf),sprintf 22A6 0806 ADD R0,#06H ; SOURCE LINE # 455 22A8 F0A0 MOV R10,R0 22AA 66FAFF3F AND R10,#03FFFH 22AE F2FB04FE MOV R11,DPP2 22B2 E009 MOV R9,#00H 22B4 E008 MOV R8,#00H 22B6 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 457 22BA F2F428E0 MOV R4,0E028H 22BE F2F52AE0 MOV R5,0E02AH 22C2 F2F62CE0 MOV R6,0E02CH 22C6 F2F72EE0 MOV R7,0E02EH 22CA 8870 MOV [-R0],R7 22CC 8860 MOV [-R0],R6 22CE 8850 MOV [-R0],R5 22D0 F0C4 MOV R12,R4 22D2 E6FA0000 R MOV R10,#POF (SC?2E8) 22D6 E6FB0000 R MOV R11,#PAG (SC?2E8) 22DA E068 MOV R8,#06H ; tmp 22DC 0080 ADD R8,R0 ; tmp 22DE 66F8FF3F AND R8,#03FFFH 22E2 F2F904FE MOV R9,DPP2 22E6 DA000000 E CALLS SEG (sprintf),sprintf 22EA 0806 ADD R0,#06H ; SOURCE LINE # 458 22EC F0A0 MOV R10,R0 22EE 66FAFF3F AND R10,#03FFFH 22F2 F2FB04FE MOV R11,DPP2 22F6 E009 MOV R9,#00H 22F8 E018 MOV R8,#01H 22FA DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 460 22FE F2F430E0 MOV R4,0E030H 2302 F2F532E0 MOV R5,0E032H 2306 F2F634E0 MOV R6,0E034H 230A F2F736E0 MOV R7,0E036H 230E 8870 MOV [-R0],R7 2310 8860 MOV [-R0],R6 2312 8850 MOV [-R0],R5 2314 F0C4 MOV R12,R4 2316 E6FA0000 R MOV R10,#POF (SC?2E8) 231A E6FB0000 R MOV R11,#PAG (SC?2E8) 231E E068 MOV R8,#06H ; tmp 2320 0080 ADD R8,R0 ; tmp 2322 66F8FF3F AND R8,#03FFFH 2326 F2F904FE MOV R9,DPP2 232A DA000000 E CALLS SEG (sprintf),sprintf 232E 0806 ADD R0,#06H ; SOURCE LINE # 461 2330 F0A0 MOV R10,R0 2332 66FAFF3F AND R10,#03FFFH 2336 F2FB04FE MOV R11,DPP2 233A E009 MOV R9,#00H 233C E028 MOV R8,#02H 233E DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 463 2342 F2F438E0 MOV R4,0E038H 2346 F2F53AE0 MOV R5,0E03AH C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 65 234A F2F63CE0 MOV R6,0E03CH 234E F2F73EE0 MOV R7,0E03EH 2352 8870 MOV [-R0],R7 2354 8860 MOV [-R0],R6 2356 8850 MOV [-R0],R5 2358 F0C4 MOV R12,R4 235A E6FA0000 R MOV R10,#POF (SC?2E8) 235E E6FB0000 R MOV R11,#PAG (SC?2E8) 2362 E068 MOV R8,#06H ; tmp 2364 0080 ADD R8,R0 ; tmp 2366 66F8FF3F AND R8,#03FFFH 236A F2F904FE MOV R9,DPP2 236E DA000000 E CALLS SEG (sprintf),sprintf 2372 0806 ADD R0,#06H ; SOURCE LINE # 464 2374 F0A0 MOV R10,R0 2376 66FAFF3F AND R10,#03FFFH 237A F2FB04FE MOV R11,DPP2 237E E009 MOV R9,#00H 2380 E038 MOV R8,#03H 2382 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 467 2386 06F02A00 ADD R0,#02AH 238A FCFD POP R13 238C DB00 RETS ; FUNCTION testAstro (END RMASK = @0x7FFF) ; FUNCTION usrGetOnOff (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 6 238E ECFD PUSH R13 2390 ECFE PUSH R14 2392 ECFF PUSH R15 2394 F0DA MOV R13,R10 ;---- Variable 'current' assigned to Register 'R13' ---- ;---- Variable 'txt' assigned to Register 'R8/R9' ---- 2396 06F0ECFF ADD R0,#0FFECH ; SOURCE LINE # 12 239A F0FA MOV R15,R10 ;---- Variable 'val' assigned to Register 'R15' ---- ; SOURCE LINE # 14 239C DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 16 23A0 8890 MOV [-R0],R9 23A2 F0C8 MOV R12,R8 23A4 E6FA0000 R MOV R10,#POF (SC?428) 23A8 E6FB0000 R MOV R11,#PAG (SC?428) 23AC E028 MOV R8,#02H ; tmp1 23AE 0080 ADD R8,R0 ; tmp1 23B0 66F8FF3F AND R8,#03FFFH 23B4 F2F904FE MOV R9,DPP2 23B8 DA000000 E CALLS SEG (sprintf),sprintf 23BC 0802 ADD R0,#02H ; SOURCE LINE # 17 23BE F0A0 MOV R10,R0 23C0 66FAFF3F AND R10,#03FFFH 23C4 F2FB04FE MOV R11,DPP2 23C8 E009 MOV R9,#00H 23CA E008 MOV R8,#00H 23CC DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 19 23D0 E6FA0000 R MOV R10,#POF (SC?417) 23D4 E6FB0000 R MOV R11,#PAG (SC?417) 23D8 F080 MOV R8,R0 23DA 66F8FF3F AND R8,#03FFFH 23DE F2F904FE MOV R9,DPP2 23E2 DA000000 E CALLS SEG (sprintf),sprintf C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 66 ; SOURCE LINE # 20 23E6 F0A0 MOV R10,R0 23E8 66FAFF3F AND R10,#03FFFH 23EC F2FB04FE MOV R11,DPP2 23F0 E009 MOV R9,#00H 23F2 E018 MOV R8,#01H 23F4 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 21 23F8 E6FA0000 R MOV R10,#POF (SC?406) 23FC E6FB0000 R MOV R11,#PAG (SC?406) 2400 F080 MOV R8,R0 2402 66F8FF3F AND R8,#03FFFH 2406 F2F904FE MOV R9,DPP2 240A DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 22 240E F0A0 MOV R10,R0 2410 66FAFF3F AND R10,#03FFFH 2414 F2FB04FE MOV R11,DPP2 2418 E009 MOV R9,#00H 241A E028 MOV R8,#02H 241C DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 25 2420 E00E MOV R14,#00H ;---- Variable 'KEY' assigned to Register 'R14' ---- ; SOURCE LINE # 26 2422 0D39 JMPR cc_UC,?C0158 2424 ?C0160: ; SOURCE LINE # 28 2424 48F0 CMP R15,#00H 2426 2D0C JMPR cc_Z,?C0162 ; SOURCE LINE # 29 2428 E6FA0000 R MOV R10,#POF (SC?2E4) 242C E6FB0000 R MOV R11,#PAG (SC?2E4) 2430 F080 MOV R8,R0 2432 66F8FF3F AND R8,#03FFFH 2436 F2F904FE MOV R9,DPP2 243A DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 30 243E 0D0B JMPR cc_UC,?C0163 2440 ?C0162: ; SOURCE LINE # 32 2440 E6FA0000 R MOV R10,#POF (SC?2E0) 2444 E6FB0000 R MOV R11,#PAG (SC?2E0) 2448 F080 MOV R8,R0 244A 66F8FF3F AND R8,#03FFFH 244E F2F904FE MOV R9,DPP2 2452 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 33 2456 ?C0163: ; SOURCE LINE # 35 2456 F0A0 MOV R10,R0 2458 66FAFF3F AND R10,#03FFFH 245C F2FB04FE MOV R11,DPP2 2460 E009 MOV R9,#00H 2462 E038 MOV R8,#03H 2464 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 37 2468 F04E MOV R4,R14 246A 47F84300 CMPB RL4,#043H 246E 3D02 JMPR cc_NZ,?C0164 ; SOURCE LINE # 38 2470 F04D MOV R4,R13 2472 0D16 JMPR cc_UC,?C0165 ; SOURCE LINE # 39 2474 ?C0164: ; SOURCE LINE # 41 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 67 2474 E00E MOV R14,#00H ; SOURCE LINE # 42 2476 ?C0168: ; SOURCE LINE # 43 2476 DA000000 R CALLS SEG (readkey),readkey 247A F0E4 MOV R14,R4 ; SOURCE LINE # 44 247C 4980 CMPB RL4,#00H 247E 2DFB JMPR cc_Z,?C0168 2480 ?C0167: ; SOURCE LINE # 46 2480 F04E MOV R4,R14 2482 47F83000 CMPB RL4,#030H 2486 3D02 JMPR cc_NZ,?C0170 ; SOURCE LINE # 47 2488 E00F MOV R15,#00H ; SOURCE LINE # 48 248A 0D05 JMPR cc_UC,?C0158 ; SOURCE LINE # 49 248C ?C0170: ; SOURCE LINE # 51 248C F04E MOV R4,R14 248E 47F83100 CMPB RL4,#031H 2492 3D01 JMPR cc_NZ,?C0158 ; SOURCE LINE # 52 2494 E01F MOV R15,#01H ; SOURCE LINE # 53 ; SOURCE LINE # 54 2496 ?C0158: 2496 F04E MOV R4,R14 2498 47F84500 CMPB RL4,#045H 249C 3DC3 JMPR cc_NZ,?C0160 249E ?C0159: ; SOURCE LINE # 59 249E F04F MOV R4,R15 ; SOURCE LINE # 60 24A0 ?C0165: 24A0 06F01400 ADD R0,#014H 24A4 FCFF POP R15 24A6 FCFE POP R14 24A8 FCFD POP R13 24AA DB00 RETS ; FUNCTION usrGetOnOff (END RMASK = @0x7FFF) ; FUNCTION usrGetDateTime (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 64 24AC ECFD PUSH R13 24AE ECFE PUSH R14 24B0 ECFF PUSH R15 24B2 06F0D2FF ADD R0,#0FFD2H ; SOURCE LINE # 65 ; SOURCE LINE # 71 24B6 E00F MOV R15,#00H ;---- Variable 'ret' assigned to Register 'R15' ---- ; SOURCE LINE # 73 24B8 E028 MOV R8,#02H 24BA DA000000 R CALLS SEG (lcd_on),lcd_on ; SOURCE LINE # 74 24BE DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 76 24C2 E6FA0000 R MOV R10,#POF (SC?401) 24C6 E6FB0000 R MOV R11,#PAG (SC?401) 24CA E009 MOV R9,#00H 24CC E008 MOV R8,#00H 24CE DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 77 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 68 24D2 E6FA0000 R MOV R10,#POF (SC?3FC) 24D6 E6FB0000 R MOV R11,#PAG (SC?3FC) 24DA E009 MOV R9,#00H 24DC E028 MOV R8,#02H 24DE DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 79 24E2 F2F40000 E MOV R4,YEAR 24E6 8840 MOV [-R0],R4 24E8 F2F40000 E MOV R4,MONTH 24EC 8840 MOV [-R0],R4 24EE F2FC0000 E MOV R12,DAY 24F2 E6FA0000 R MOV R10,#POF (SC?3ED) 24F6 E6FB0000 R MOV R11,#PAG (SC?3ED) 24FA E048 MOV R8,#04H ; tmp1 24FC 0080 ADD R8,R0 ; tmp1 24FE 66F8FF3F AND R8,#03FFFH 2502 F2F904FE MOV R9,DPP2 2506 DA000000 E CALLS SEG (sprintf),sprintf 250A 0804 ADD R0,#04H ; SOURCE LINE # 80 250C F2F40000 E MOV R4,SECOND 2510 8840 MOV [-R0],R4 2512 F2F40000 E MOV R4,MINUTE 2516 8840 MOV [-R0],R4 2518 F2FC0000 E MOV R12,HOUR 251C E6FA0000 R MOV R10,#POF (SC?3DE) 2520 E6FB0000 R MOV R11,#PAG (SC?3DE) 2524 E6F81800 MOV R8,#018H ; tmp2 2528 0080 ADD R8,R0 ; tmp2 252A 66F8FF3F AND R8,#03FFFH 252E F2F904FE MOV R9,DPP2 2532 DA000000 E CALLS SEG (sprintf),sprintf 2536 0804 ADD R0,#04H ; SOURCE LINE # 82 2538 E104 MOVB RL2,#00H ;---- Variable 'KEY' assigned to Register 'RL2' ---- ; SOURCE LINE # 83 253A E102 MOVB RL1,#00H ;---- Variable 'x' assigned to Register 'RL1' ---- ; SOURCE LINE # 84 253C E116 MOVB RL3,#01H ;---- Variable 'y' assigned to Register 'RL3' ---- ; SOURCE LINE # 86 253E 0D6C JMPR cc_UC,?C0172 2540 ?C0174: ; SOURCE LINE # 88 2540 47F44300 CMPB RL2,#043H 2544 3D08 JMPR cc_NZ,?C0176 ; SOURCE LINE # 89 2546 E008 MOV R8,#00H 2548 DA000000 R CALLS SEG (lcd_on),lcd_on ; SOURCE LINE # 90 254C DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 91 2550 F04F MOV R4,R15 2552 EA00FE26 R JMPA cc_UC,?C0177 ; SOURCE LINE # 92 2556 ?C0176: ; SOURCE LINE # 94 2556 E104 MOVB RL2,#00H ; SOURCE LINE # 95 2558 F0A0 MOV R10,R0 255A 66FAFF3F AND R10,#03FFFH 255E F2FB04FE MOV R11,DPP2 2562 E009 MOV R9,#00H 2564 E018 MOV R8,#01H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 69 2566 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 96 256A E6FA1400 MOV R10,#014H ; tmp2 256E 00A0 ADD R10,R0 ; tmp2 2570 66FAFF3F AND R10,#03FFFH 2574 F2FB04FE MOV R11,DPP2 2578 E009 MOV R9,#00H 257A E038 MOV R8,#03H 257C DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 98 2580 C029 MOVBZ R9,RL1 2582 C068 MOVBZ R8,RL3 2584 DA000000 R CALLS SEG (lcd_setcursor),lcd_setcursor ; SOURCE LINE # 100 2588 0D03 JMPR cc_UC,?C0178 258A ?C0180: ; SOURCE LINE # 101 258A DA000000 R CALLS SEG (readkey),readkey 258E F148 MOVB RL2,RL4 ; SOURCE LINE # 102 2590 ?C0178: 2590 4940 CMPB RL2,#00H 2592 2DFB JMPR cc_Z,?C0180 2594 ?C0179: ; SOURCE LINE # 104 2594 47F45500 CMPB RL2,#055H 2598 3D05 JMPR cc_NZ,?C0182 ; SOURCE LINE # 105 259A 4963 CMPB RL3,#03H 259C 3D3D JMPR cc_NZ,?C0172 ; SOURCE LINE # 106 259E E116 MOVB RL3,#01H ; SOURCE LINE # 107 25A0 E102 MOVB RL1,#00H ; SOURCE LINE # 108 ; SOURCE LINE # 109 25A2 0D3A JMPR cc_UC,?C0172 ; SOURCE LINE # 110 25A4 ?C0182: ; SOURCE LINE # 111 25A4 47F44400 CMPB RL2,#044H 25A8 3D05 JMPR cc_NZ,?C0184 ; SOURCE LINE # 112 25AA 4961 CMPB RL3,#01H 25AC 3D35 JMPR cc_NZ,?C0172 ; SOURCE LINE # 113 25AE E136 MOVB RL3,#03H ; SOURCE LINE # 114 25B0 E102 MOVB RL1,#00H ; SOURCE LINE # 115 ; SOURCE LINE # 116 25B2 0D32 JMPR cc_UC,?C0172 ; SOURCE LINE # 117 25B4 ?C0184: ; SOURCE LINE # 119 25B4 47F44C00 CMPB RL2,#04CH 25B8 3D0A JMPR cc_NZ,?C0186 ; SOURCE LINE # 120 25BA 4920 CMPB RL1,#00H 25BC FD01 JMPR cc_ULE,?C0187 ; SOURCE LINE # 121 25BE 2921 SUBB RL1,#01H ; SOURCE LINE # 122 25C0 ?C0187: ; SOURCE LINE # 123 25C0 4925 CMPB RL1,#05H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 70 25C2 3D01 JMPR cc_NZ,?C0188 ; SOURCE LINE # 124 25C4 2921 SUBB RL1,#01H ; SOURCE LINE # 125 25C6 ?C0188: ; SOURCE LINE # 126 25C6 4922 CMPB RL1,#02H 25C8 3D27 JMPR cc_NZ,?C0172 ; SOURCE LINE # 127 25CA 2921 SUBB RL1,#01H ; SOURCE LINE # 128 ; SOURCE LINE # 129 25CC 0D25 JMPR cc_UC,?C0172 ; SOURCE LINE # 130 25CE ?C0186: ; SOURCE LINE # 132 25CE 47F43000 CMPB RL2,#030H 25D2 8D12 JMPR cc_ULT,?C0190 25D4 47F43900 CMPB RL2,#039H 25D8 ED0F JMPR cc_UGT,?C0190 ; SOURCE LINE # 133 25DA 4961 CMPB RL3,#01H 25DC 3D05 JMPR cc_NZ,?C0191 ; SOURCE LINE # 134 25DE C025 MOVBZ R5,RL1 25E0 F040 MOV R4,R0 25E2 0045 ADD R4,R5 25E4 B944 MOVB [R4],RL2 ; SOURCE LINE # 135 25E6 0D06 JMPR cc_UC,?C0192 25E8 ?C0191: ; SOURCE LINE # 137 25E8 C025 MOVBZ R5,RL1 25EA E6F41400 MOV R4,#014H ; tmp2 25EE 0040 ADD R4,R0 ; tmp2 25F0 0045 ADD R4,R5 25F2 B944 MOVB [R4],RL2 ; SOURCE LINE # 138 25F4 ?C0192: ; SOURCE LINE # 139 25F4 E7F45200 MOVB RL2,#052H ; SOURCE LINE # 140 25F8 ?C0190: ; SOURCE LINE # 142 ; SOURCE LINE # 143 25F8 0921 ADDB RL1,#01H ; SOURCE LINE # 145 25FA 4925 CMPB RL1,#05H 25FC 3D01 JMPR cc_NZ,?C0194 ; SOURCE LINE # 146 25FE 0921 ADDB RL1,#01H ; SOURCE LINE # 147 2600 ?C0194: ; SOURCE LINE # 148 2600 4922 CMPB RL1,#02H 2602 3D01 JMPR cc_NZ,?C0195 ; SOURCE LINE # 149 2604 0921 ADDB RL1,#01H ; SOURCE LINE # 150 2606 ?C0195: ; SOURCE LINE # 151 2606 47F20900 CMPB RL1,#09H 260A FD01 JMPR cc_ULE,?C0196 ; SOURCE LINE # 152 260C 2921 SUBB RL1,#01H ; SOURCE LINE # 153 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 71 260E ?C0196: ; SOURCE LINE # 155 260E 4963 CMPB RL3,#03H 2610 3D03 JMPR cc_NZ,?C0172 ; SOURCE LINE # 156 2612 4927 CMPB RL1,#07H 2614 FD01 JMPR cc_ULE,?C0172 ; SOURCE LINE # 157 2616 2921 SUBB RL1,#01H ; SOURCE LINE # 158 ; SOURCE LINE # 160 ; SOURCE LINE # 163 2618 ?C0172: 2618 47F44500 CMPB RL2,#045H 261C 3D91 JMPR cc_NZ,?C0174 261E ?C0173: ; SOURCE LINE # 165 261E E108 MOVB RL4,#00H 2620 E4800200 MOVB [R0+#02H],RL4 ; tmp1+2 ; SOURCE LINE # 166 2624 E4800500 MOVB [R0+#05H],RL4 ; tmp1+5 ; SOURCE LINE # 167 2628 E4801600 MOVB [R0+#016H],RL4 ; tmp2+2 ; SOURCE LINE # 168 262C E4801900 MOVB [R0+#019H],RL4 ; tmp2+5 ; SOURCE LINE # 170 2630 F080 MOV R8,R0 2632 66F8FF3F AND R8,#03FFFH 2636 F2F904FE MOV R9,DPP2 263A DA000000 E CALLS SEG (atoi),atoi 263E F0E4 MOV R14,R4 ;---- Variable 'newday' assigned to Register 'R14' ---- ; SOURCE LINE # 171 2640 E038 MOV R8,#03H ; tmp1 2642 0080 ADD R8,R0 ; tmp1 2644 66F8FF3F AND R8,#03FFFH 2648 F2F904FE MOV R9,DPP2 264C DA000000 E CALLS SEG (atoi),atoi 2650 F0D4 MOV R13,R4 ;---- Variable 'newmonth' assigned to Register 'R13' ---- ; SOURCE LINE # 172 2652 E068 MOV R8,#06H ; tmp1 2654 0080 ADD R8,R0 ; tmp1 2656 66F8FF3F AND R8,#03FFFH 265A F2F904FE MOV R9,DPP2 265E DA000000 E CALLS SEG (atoi),atoi 2662 C4402800 MOV [R0+#028H],R4 ; newyear ; SOURCE LINE # 174 2666 E6F81400 MOV R8,#014H ; tmp2 266A 0080 ADD R8,R0 ; tmp2 266C 66F8FF3F AND R8,#03FFFH 2670 F2F904FE MOV R9,DPP2 2674 DA000000 E CALLS SEG (atoi),atoi 2678 C4402A00 MOV [R0+#02AH],R4 ; newhour ; SOURCE LINE # 175 267C E6F81700 MOV R8,#017H ; tmp2 2680 0080 ADD R8,R0 ; tmp2 2682 66F8FF3F AND R8,#03FFFH 2686 F2F904FE MOV R9,DPP2 268A DA000000 E CALLS SEG (atoi),atoi 268E C4402C00 MOV [R0+#02CH],R4 ; newminute ; SOURCE LINE # 176 2692 E6F81A00 MOV R8,#01AH ; tmp2 2696 0080 ADD R8,R0 ; tmp2 2698 66F8FF3F AND R8,#03FFFH 269C F2F904FE MOV R9,DPP2 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 72 26A0 DA000000 E CALLS SEG (atoi),atoi 26A4 F054 MOV R5,R4 ;---- Variable 'newsecond' assigned to Register 'R5' ---- ; SOURCE LINE # 179 26A6 48E0 CMP R14,#00H 26A8 BD24 JMPR cc_SLE,?C0199 26AA 46FE2000 CMP R14,#020H 26AE DD21 JMPR cc_SGE,?C0199 ; SOURCE LINE # 180 26B0 48D0 CMP R13,#00H 26B2 BD1F JMPR cc_SLE,?C0199 26B4 46FD0D00 CMP R13,#0DH 26B8 DD1C JMPR cc_SGE,?C0199 ; SOURCE LINE # 181 26BA D4602A00 MOV R6,[R0+#02AH] ; newhour 26BE 46F61800 CMP R6,#018H 26C2 DD17 JMPR cc_SGE,?C0199 ; SOURCE LINE # 182 26C4 D4702C00 MOV R7,[R0+#02CH] ; newminute 26C8 46F73C00 CMP R7,#03CH 26CC DD12 JMPR cc_SGE,?C0199 ; SOURCE LINE # 183 26CE 46F53C00 CMP R5,#03CH 26D2 DD0F JMPR cc_SGE,?C0199 ; SOURCE LINE # 184 26D4 F6FE0000 E MOV DAY,R14 ; SOURCE LINE # 185 26D8 F6FD0000 E MOV MONTH,R13 ; SOURCE LINE # 186 26DC D4402800 MOV R4,[R0+#028H] ; newyear 26E0 F6F40000 E MOV YEAR,R4 ; SOURCE LINE # 187 26E4 F6F60000 E MOV HOUR,R6 ; SOURCE LINE # 188 26E8 F6F70000 E MOV MINUTE,R7 ; SOURCE LINE # 189 26EC F6F50000 E MOV SECOND,R5 ; SOURCE LINE # 190 26F0 E01F MOV R15,#01H ; SOURCE LINE # 191 ; SOURCE LINE # 193 ; SOURCE LINE # 194 ; SOURCE LINE # 195 26F2 ?C0199: ; SOURCE LINE # 197 26F2 E008 MOV R8,#00H 26F4 DA000000 R CALLS SEG (lcd_on),lcd_on ; SOURCE LINE # 198 26F8 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 200 26FC F04F MOV R4,R15 ; SOURCE LINE # 201 26FE ?C0177: 26FE 06F02E00 ADD R0,#02EH 2702 FCFF POP R15 2704 FCFE POP R14 2706 FCFD POP R13 2708 DB00 RETS ; FUNCTION usrGetDateTime (END RMASK = @0x7FFF) ; FUNCTION usrGetKoor (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 207 270A ECFD PUSH R13 270C ECFE PUSH R14 270E ECFF PUSH R15 2710 88C0 MOV [-R0],R12 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 73 2712 88B0 MOV [-R0],R11 2714 88A0 MOV [-R0],R10 2716 8890 MOV [-R0],R9 2718 F0D8 MOV R13,R8 ;---- Variable 'azalt' assigned to Register 'R13' ---- 271A 06F0C8FF ADD R0,#0FFC8H ; SOURCE LINE # 208 ; SOURCE LINE # 215 271E E00E MOV R14,#00H ;---- Variable 'ret' assigned to Register 'R14' ---- ; SOURCE LINE # 217 2720 E028 MOV R8,#02H 2722 DA000000 R CALLS SEG (lcd_on),lcd_on ; SOURCE LINE # 218 2726 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 220 272A 48D0 CMP R13,#00H 272C 2D11 JMPR cc_Z,?C0204 ; SOURCE LINE # 221 272E E6FA0000 R MOV R10,#POF (SC?3DB) 2732 E6FB0000 R MOV R11,#PAG (SC?3DB) 2736 E009 MOV R9,#00H 2738 E008 MOV R8,#00H 273A DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 222 273E E6FA0000 R MOV R10,#POF (SC?2DC) 2742 E6FB0000 R MOV R11,#PAG (SC?2DC) 2746 E009 MOV R9,#00H 2748 E028 MOV R8,#02H 274A DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 223 274E 0D10 JMPR cc_UC,?C0205 2750 ?C0204: ; SOURCE LINE # 225 2750 E6FA0000 R MOV R10,#POF (SC?3D8) 2754 E6FB0000 R MOV R11,#PAG (SC?3D8) 2758 E009 MOV R9,#00H 275A E008 MOV R8,#00H 275C DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 226 2760 E6FA0000 R MOV R10,#POF (SC?2D8) 2764 E6FB0000 R MOV R11,#PAG (SC?2D8) 2768 E009 MOV R9,#00H 276A E028 MOV R8,#02H 276C DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 227 2770 ?C0205: ; SOURCE LINE # 229 2770 D4403800 MOV R4,[R0+#038H] ; defho 2774 D4503A00 MOV R5,[R0+#03AH] ; defho+2 2778 D4603C00 MOV R6,[R0+#03CH] ; defho+4 277C D4703E00 MOV R7,[R0+#03EH] ; defho+6 2780 8870 MOV [-R0],R7 2782 F0C6 MOV R12,R6 2784 F0B5 MOV R11,R5 2786 F0A4 MOV R10,R4 2788 E028 MOV R8,#02H ; tmp1 278A 0080 ADD R8,R0 ; tmp1 278C 66F8FF3F AND R8,#03FFFH 2790 F2F904FE MOV R9,DPP2 2794 DA000000 R CALLS SEG (sprintDegrees),sprintDegrees 2798 0802 ADD R0,#02H ; SOURCE LINE # 230 279A D4404000 MOV R4,[R0+#040H] ; defve 279E D4504200 MOV R5,[R0+#042H] ; defve+2 27A2 D4604400 MOV R6,[R0+#044H] ; defve+4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 74 27A6 D4704600 MOV R7,[R0+#046H] ; defve+6 27AA 8870 MOV [-R0],R7 27AC F0C6 MOV R12,R6 27AE F0B5 MOV R11,R5 27B0 F0A4 MOV R10,R4 27B2 E6F81600 MOV R8,#016H ; tmp2 27B6 0080 ADD R8,R0 ; tmp2 27B8 66F8FF3F AND R8,#03FFFH 27BC F2F904FE MOV R9,DPP2 27C0 DA000000 R CALLS SEG (sprintDegrees),sprintDegrees 27C4 0802 ADD R0,#02H ; SOURCE LINE # 232 27C6 E106 MOVB RL3,#00H ;---- Variable 'KEY' assigned to Register 'RL3' ---- ; SOURCE LINE # 233 27C8 E114 MOVB RL2,#01H ;---- Variable 'x' assigned to Register 'RL2' ---- ; SOURCE LINE # 234 27CA E01C MOV R12,#01H ;---- Variable 'y' assigned to Register 'R12' ---- ; SOURCE LINE # 236 27CC EA000029 R JMPA cc_UC,?C0206 27D0 ?C0208: ; SOURCE LINE # 238 27D0 47F64300 CMPB RL3,#043H 27D4 3D08 JMPR cc_NZ,?C0210 ; SOURCE LINE # 239 27D6 E008 MOV R8,#00H 27D8 DA000000 R CALLS SEG (lcd_on),lcd_on ; SOURCE LINE # 240 27DC DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 241 27E0 F04E MOV R4,R14 27E2 EA00482B R JMPA cc_UC,?C0211 ; SOURCE LINE # 242 27E6 ?C0210: ; SOURCE LINE # 244 27E6 E106 MOVB RL3,#00H ; SOURCE LINE # 245 27E8 F0A0 MOV R10,R0 27EA 66FAFF3F AND R10,#03FFFH 27EE F2FB04FE MOV R11,DPP2 27F2 E009 MOV R9,#00H 27F4 E018 MOV R8,#01H 27F6 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 246 27FA E6FA1400 MOV R10,#014H ; tmp2 27FE 00A0 ADD R10,R0 ; tmp2 2800 66FAFF3F AND R10,#03FFFH 2804 F2FB04FE MOV R11,DPP2 2808 E009 MOV R9,#00H 280A E038 MOV R8,#03H 280C DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 248 2810 C049 MOVBZ R9,RL2 2812 F04C MOV R4,R12 2814 C088 MOVBZ R8,RL4 2816 DA000000 R CALLS SEG (lcd_setcursor),lcd_setcursor ; SOURCE LINE # 250 281A 0D03 JMPR cc_UC,?C0212 281C ?C0214: ; SOURCE LINE # 251 281C DA000000 R CALLS SEG (readkey),readkey 2820 F168 MOVB RL3,RL4 ; SOURCE LINE # 252 2822 ?C0212: C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 75 2822 4960 CMPB RL3,#00H 2824 2DFB JMPR cc_Z,?C0214 2826 ?C0213: ; SOURCE LINE # 254 2826 47F65500 CMPB RL3,#055H 282A 3D05 JMPR cc_NZ,?C0216 ; SOURCE LINE # 255 282C F04C MOV R4,R12 282E 4983 CMPB RL4,#03H 2830 3D67 JMPR cc_NZ,?C0206 ; SOURCE LINE # 256 2832 E01C MOV R12,#01H ; SOURCE LINE # 257 ; SOURCE LINE # 258 2834 0D65 JMPR cc_UC,?C0206 ; SOURCE LINE # 259 2836 ?C0216: ; SOURCE LINE # 261 2836 47F64400 CMPB RL3,#044H 283A 3D05 JMPR cc_NZ,?C0218 ; SOURCE LINE # 262 283C F04C MOV R4,R12 283E 4981 CMPB RL4,#01H 2840 3D5F JMPR cc_NZ,?C0206 ; SOURCE LINE # 263 2842 E03C MOV R12,#03H ; SOURCE LINE # 264 ; SOURCE LINE # 265 2844 0D5D JMPR cc_UC,?C0206 ; SOURCE LINE # 266 2846 ?C0218: ; SOURCE LINE # 268 2846 47F64C00 CMPB RL3,#04CH 284A 3D0A JMPR cc_NZ,?C0220 ; SOURCE LINE # 269 284C 4940 CMPB RL2,#00H 284E FD01 JMPR cc_ULE,?C0221 ; SOURCE LINE # 270 2850 2941 SUBB RL2,#01H ; SOURCE LINE # 271 2852 ?C0221: ; SOURCE LINE # 272 2852 4944 CMPB RL2,#04H 2854 3D01 JMPR cc_NZ,?C0222 ; SOURCE LINE # 273 2856 2941 SUBB RL2,#01H ; SOURCE LINE # 274 2858 ?C0222: ; SOURCE LINE # 275 2858 4947 CMPB RL2,#07H 285A 3D52 JMPR cc_NZ,?C0206 ; SOURCE LINE # 276 285C 2941 SUBB RL2,#01H ; SOURCE LINE # 277 ; SOURCE LINE # 278 285E 0D50 JMPR cc_UC,?C0206 ; SOURCE LINE # 279 2860 ?C0220: ; SOURCE LINE # 281 2860 4940 CMPB RL2,#00H 2862 3D2D JMPR cc_NZ,?C0224 ; SOURCE LINE # 282 2864 47F63000 CMPB RL3,#030H 2868 9D03 JMPR cc_UGE,?C0226 286A 47F63900 CMPB RL3,#039H 286E ED3D JMPR cc_UGT,?C0233 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 76 2870 ?C0226: ; SOURCE LINE # 283 2870 F04C MOV R4,R12 2872 4981 CMPB RL4,#01H 2874 3D10 JMPR cc_NZ,?C0227 ; SOURCE LINE # 284 2876 C048 MOVBZ R8,RL2 2878 F010 MOV R1,R0 287A F071 MOV R7,R1 287C 0078 ADD R7,R8 287E A987 MOVB RL4,[R7] 2880 47F82B00 CMPB RL4,#02BH 2884 3D04 JMPR cc_NZ,?C0228 ; SOURCE LINE # 285 2886 E7FC2D00 MOVB RL6,#02DH 288A B9C7 MOVB [R7],RL6 ; SOURCE LINE # 286 288C 0D15 JMPR cc_UC,?C0230 288E ?C0228: ; SOURCE LINE # 288 288E E7FC2B00 MOVB RL6,#02BH 2892 B9C7 MOVB [R7],RL6 ; SOURCE LINE # 289 ; SOURCE LINE # 290 2894 0D11 JMPR cc_UC,?C0230 2896 ?C0227: ; SOURCE LINE # 292 2896 C048 MOVBZ R8,RL2 2898 E6F11400 MOV R1,#014H ; tmp2 289C 0010 ADD R1,R0 ; tmp2 289E F071 MOV R7,R1 28A0 0078 ADD R7,R8 28A2 A987 MOVB RL4,[R7] 28A4 47F82B00 CMPB RL4,#02BH 28A8 3D04 JMPR cc_NZ,?C0231 ; SOURCE LINE # 293 28AA E7FC2D00 MOVB RL6,#02DH 28AE B9C7 MOVB [R7],RL6 ; SOURCE LINE # 294 28B0 0D03 JMPR cc_UC,?C0230 28B2 ?C0231: ; SOURCE LINE # 296 28B2 E7FC2B00 MOVB RL6,#02BH 28B6 B9C7 MOVB [R7],RL6 ; SOURCE LINE # 297 ; SOURCE LINE # 298 28B8 ?C0230: ; SOURCE LINE # 299 28B8 E7F65200 MOVB RL3,#052H ; SOURCE LINE # 300 28BC 0D16 JMPR cc_UC,?C0233 28BE ?C0224: ; SOURCE LINE # 303 28BE 47F63000 CMPB RL3,#030H 28C2 8D13 JMPR cc_ULT,?C0233 28C4 47F63900 CMPB RL3,#039H 28C8 ED10 JMPR cc_UGT,?C0233 ; SOURCE LINE # 304 28CA F04C MOV R4,R12 28CC 4981 CMPB RL4,#01H 28CE 3D05 JMPR cc_NZ,?C0235 ; SOURCE LINE # 305 28D0 C045 MOVBZ R5,RL2 28D2 F040 MOV R4,R0 28D4 0045 ADD R4,R5 28D6 B964 MOVB [R4],RL3 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 77 ; SOURCE LINE # 306 28D8 0D06 JMPR cc_UC,?C0236 28DA ?C0235: ; SOURCE LINE # 308 28DA C045 MOVBZ R5,RL2 28DC E6F41400 MOV R4,#014H ; tmp2 28E0 0040 ADD R4,R0 ; tmp2 28E2 0045 ADD R4,R5 28E4 B964 MOVB [R4],RL3 ; SOURCE LINE # 309 28E6 ?C0236: ; SOURCE LINE # 310 28E6 E7F65200 MOVB RL3,#052H ; SOURCE LINE # 311 28EA ?C0233: ; SOURCE LINE # 314 ; SOURCE LINE # 315 28EA 0941 ADDB RL2,#01H ; SOURCE LINE # 317 28EC 4944 CMPB RL2,#04H 28EE 3D01 JMPR cc_NZ,?C0238 ; SOURCE LINE # 318 28F0 0941 ADDB RL2,#01H ; SOURCE LINE # 319 28F2 ?C0238: ; SOURCE LINE # 320 28F2 4947 CMPB RL2,#07H 28F4 3D01 JMPR cc_NZ,?C0239 ; SOURCE LINE # 321 28F6 0941 ADDB RL2,#01H ; SOURCE LINE # 322 28F8 ?C0239: ; SOURCE LINE # 323 28F8 47F40900 CMPB RL2,#09H 28FC FD01 JMPR cc_ULE,?C0206 ; SOURCE LINE # 324 28FE 2941 SUBB RL2,#01H ; SOURCE LINE # 325 ; SOURCE LINE # 327 ; SOURCE LINE # 330 2900 ?C0206: 2900 47F64500 CMPB RL3,#045H 2904 EA30D027 R JMPA cc_NZ,?C0208 2908 ?C0207: ; SOURCE LINE # 332 ; SOURCE LINE # 334 2908 E108 MOVB RL4,#00H 290A E4800400 MOVB [R0+#04H],RL4 ; tmp1+4 ; SOURCE LINE # 335 290E E4800700 MOVB [R0+#07H],RL4 ; tmp1+7 ; SOURCE LINE # 336 2912 E4801800 MOVB [R0+#018H],RL4 ; tmp2+4 ; SOURCE LINE # 337 2916 E4801B00 MOVB [R0+#01BH],RL4 ; tmp2+7 ; SOURCE LINE # 339 291A E018 MOV R8,#01H ; tmp1 291C 0080 ADD R8,R0 ; tmp1 291E 66F8FF3F AND R8,#03FFFH 2922 F2F904FE MOV R9,DPP2 2926 DA000000 E CALLS SEG (atol),atol 292A F0E4 MOV R14,R4 292C F0F5 MOV R15,R5 ;---- Variable 'l1' assigned to Register 'R14/R15' ---- ; SOURCE LINE # 340 292E E058 MOV R8,#05H ; tmp1 2930 0080 ADD R8,R0 ; tmp1 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 78 2932 66F8FF3F AND R8,#03FFFH 2936 F2F904FE MOV R9,DPP2 293A DA000000 E CALLS SEG (atol),atol 293E C4402800 MOV [R0+#028H],R4 ; l2 2942 C4502A00 MOV [R0+#02AH],R5 ; l2+2 ; SOURCE LINE # 341 2946 E088 MOV R8,#08H ; tmp1 2948 0080 ADD R8,R0 ; tmp1 294A 66F8FF3F AND R8,#03FFFH 294E F2F904FE MOV R9,DPP2 2952 DA000000 E CALLS SEG (atol),atol 2956 C4402C00 MOV [R0+#02CH],R4 ; l3 295A C4502E00 MOV [R0+#02EH],R5 ; l3+2 ; SOURCE LINE # 343 295E E6F81500 MOV R8,#015H ; tmp2 2962 0080 ADD R8,R0 ; tmp2 2964 66F8FF3F AND R8,#03FFFH 2968 F2F904FE MOV R9,DPP2 296C DA000000 E CALLS SEG (atol),atol 2970 C4403000 MOV [R0+#030H],R4 ; l4 2974 C4503200 MOV [R0+#032H],R5 ; l4+2 ; SOURCE LINE # 344 2978 E6F81900 MOV R8,#019H ; tmp2 297C 0080 ADD R8,R0 ; tmp2 297E 66F8FF3F AND R8,#03FFFH 2982 F2F904FE MOV R9,DPP2 2986 DA000000 E CALLS SEG (atol),atol 298A C4403400 MOV [R0+#034H],R4 ; l5 298E C4503600 MOV [R0+#036H],R5 ; l5+2 ; SOURCE LINE # 345 2992 E6F81C00 MOV R8,#01CH ; tmp2 2996 0080 ADD R8,R0 ; tmp2 2998 66F8FF3F AND R8,#03FFFH 299C F2F904FE MOV R9,DPP2 29A0 DA000000 E CALLS SEG (atol),atol 29A4 F084 MOV R8,R4 29A6 F095 MOV R9,R5 ;---- Variable 'l6' assigned to Register 'R8/R9' ---- ; SOURCE LINE # 348 29A8 E6F6100E MOV R6,#0E10H 29AC E007 MOV R7,#00H 29AE F04E MOV R4,R14 29B0 F05F MOV R5,R15 29B2 DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 29B6 F0E4 MOV R14,R4 29B8 F0F5 MOV R15,R5 ; SOURCE LINE # 349 29BA 48D0 CMP R13,#00H 29BC 3D08 JMPR cc_NZ,?C0241 ; SOURCE LINE # 350 29BE E0F6 MOV R6,#0FH 29C0 E007 MOV R7,#00H 29C2 F04E MOV R4,R14 29C4 F05F MOV R5,R15 29C6 DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 29CA F0E4 MOV R14,R4 29CC F0F5 MOV R15,R5 ; SOURCE LINE # 351 29CE ?C0241: ; SOURCE LINE # 352 29CE E6F63C00 MOV R6,#03CH 29D2 E007 MOV R7,#00H 29D4 D4402800 MOV R4,[R0+#028H] ; l2 29D8 D4502A00 MOV R5,[R0+#02AH] ; l2+2 29DC DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 29E0 F0A4 MOV R10,R4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 79 29E2 F0B5 MOV R11,R5 29E4 C4402800 MOV [R0+#028H],R4 ; l2 29E8 C4502A00 MOV [R0+#02AH],R5 ; l2+2 ; SOURCE LINE # 353 29EC F04E MOV R4,R14 29EE 004A ADD R4,R10 29F0 F05F MOV R5,R15 29F2 105B ADDC R5,R11 29F4 D4602C00 MOV R6,[R0+#02CH] ; l3 29F8 D4702E00 MOV R7,[R0+#02EH] ; l3+2 29FC F0E4 MOV R14,R4 29FE 00E6 ADD R14,R6 2A00 F0F5 MOV R15,R5 2A02 10F7 ADDC R15,R7 ; SOURCE LINE # 354 2A04 E0A6 MOV R6,#0AH 2A06 E007 MOV R7,#00H 2A08 F04E MOV R4,R14 2A0A F05F MOV R5,R15 2A0C DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 2A10 F0E4 MOV R14,R4 2A12 F0F5 MOV R15,R5 ; SOURCE LINE # 355 2A14 A980 MOVB RL4,[R0] ; tmp1 2A16 47F82D00 CMPB RL4,#02DH 2A1A 3D0A JMPR cc_NZ,?C0242 ; SOURCE LINE # 356 2A1C E6F6FFFF MOV R6,#0FFFFH 2A20 E6F7FFFF MOV R7,#0FFFFH 2A24 F04E MOV R4,R14 2A26 F05F MOV R5,R15 2A28 DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 2A2C F0E4 MOV R14,R4 2A2E F0F5 MOV R15,R5 ; SOURCE LINE # 357 2A30 ?C0242: ; SOURCE LINE # 360 2A30 E6F6100E MOV R6,#0E10H 2A34 E007 MOV R7,#00H 2A36 D4403000 MOV R4,[R0+#030H] ; l4 2A3A D4503200 MOV R5,[R0+#032H] ; l4+2 2A3E DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 2A42 F0A4 MOV R10,R4 2A44 F0B5 MOV R11,R5 2A46 C4403000 MOV [R0+#030H],R4 ; l4 2A4A C4503200 MOV [R0+#032H],R5 ; l4+2 ; SOURCE LINE # 361 2A4E E6F63C00 MOV R6,#03CH 2A52 E007 MOV R7,#00H 2A54 D4403400 MOV R4,[R0+#034H] ; l5 2A58 D4503600 MOV R5,[R0+#036H] ; l5+2 2A5C DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 2A60 F024 MOV R2,R4 2A62 F035 MOV R3,R5 2A64 C4403400 MOV [R0+#034H],R4 ; l5 2A68 C4503600 MOV [R0+#036H],R5 ; l5+2 ; SOURCE LINE # 362 2A6C 00A4 ADD R10,R4 2A6E 10B5 ADDC R11,R5 2A70 008A ADD R8,R10 2A72 109B ADDC R9,R11 2A74 C4803000 MOV [R0+#030H],R8 ; l4 2A78 C4903200 MOV [R0+#032H],R9 ; l4+2 ; SOURCE LINE # 363 2A7C E0A6 MOV R6,#0AH 2A7E E007 MOV R7,#00H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 80 2A80 F048 MOV R4,R8 2A82 F059 MOV R5,R9 2A84 DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 2A88 C4403000 MOV [R0+#030H],R4 ; l4 2A8C C4503200 MOV [R0+#032H],R5 ; l4+2 ; SOURCE LINE # 364 2A90 F4801400 MOVB RL4,[R0+#014H] ; tmp2 2A94 47F82D00 CMPB RL4,#02DH 2A98 3D0E JMPR cc_NZ,?C0243 ; SOURCE LINE # 365 2A9A E6F6FFFF MOV R6,#0FFFFH 2A9E E6F7FFFF MOV R7,#0FFFFH 2AA2 D4403000 MOV R4,[R0+#030H] ; l4 2AA6 D4503200 MOV R5,[R0+#032H] ; l4+2 2AAA DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 2AAE C4403000 MOV [R0+#030H],R4 ; l4 2AB2 C4503200 MOV [R0+#032H],R5 ; l4+2 ; SOURCE LINE # 366 2AB6 ?C0243: ; SOURCE LINE # 368 2AB6 F6FE40E0 MOV 0E040H,R14 2ABA F6FF42E0 MOV 0E042H,R15 ; SOURCE LINE # 369 2ABE D4403000 MOV R4,[R0+#030H] ; l4 2AC2 D4503200 MOV R5,[R0+#032H] ; l4+2 2AC6 F6F444E0 MOV 0E044H,R4 2ACA F6F546E0 MOV 0E046H,R5 ; SOURCE LINE # 372 2ACE 48D0 CMP R13,#00H 2AD0 2D1B JMPR cc_Z,?C0244 ; SOURCE LINE # 374 2AD2 F08E MOV R8,R14 2AD4 F09F MOV R9,R15 2AD6 DA000000 R CALLS SEG (lArc10dDegrees),lArc10dDegrees 2ADA F6F448E0 MOV 0E048H,R4 2ADE F6F54AE0 MOV 0E04AH,R5 2AE2 F6F64CE0 MOV 0E04CH,R6 2AE6 F6F74EE0 MOV 0E04EH,R7 ; SOURCE LINE # 375 2AEA D4803000 MOV R8,[R0+#030H] ; l4 2AEE D4903200 MOV R9,[R0+#032H] ; l4+2 2AF2 DA000000 R CALLS SEG (lArc10dDegrees),lArc10dDegrees 2AF6 F6F450E0 MOV 0E050H,R4 2AFA F6F552E0 MOV 0E052H,R5 2AFE F6F654E0 MOV 0E054H,R6 2B02 F6F756E0 MOV 0E056H,R7 ; SOURCE LINE # 377 2B06 0D1A JMPR cc_UC,?C0245 2B08 ?C0244: ; SOURCE LINE # 380 2B08 F08E MOV R8,R14 2B0A F09F MOV R9,R15 2B0C DA000000 R CALLS SEG (lArc10dHours),lArc10dHours 2B10 F6F458E0 MOV 0E058H,R4 2B14 F6F55AE0 MOV 0E05AH,R5 2B18 F6F65CE0 MOV 0E05CH,R6 2B1C F6F75EE0 MOV 0E05EH,R7 ; SOURCE LINE # 381 2B20 D4803000 MOV R8,[R0+#030H] ; l4 2B24 D4903200 MOV R9,[R0+#032H] ; l4+2 2B28 DA000000 R CALLS SEG (lArc10dDegrees),lArc10dDegrees 2B2C F6F460E0 MOV 0E060H,R4 2B30 F6F562E0 MOV 0E062H,R5 2B34 F6F664E0 MOV 0E064H,R6 2B38 F6F766E0 MOV 0E066H,R7 ; SOURCE LINE # 382 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 81 2B3C ?C0245: ; SOURCE LINE # 384 2B3C E008 MOV R8,#00H 2B3E DA000000 R CALLS SEG (lcd_on),lcd_on ; SOURCE LINE # 385 2B42 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 387 2B46 E014 MOV R4,#01H ; SOURCE LINE # 388 2B48 ?C0211: 2B48 06F04000 ADD R0,#040H 2B4C FCFF POP R15 2B4E FCFE POP R14 2B50 FCFD POP R13 2B52 DB00 RETS ; FUNCTION usrGetKoor (END RMASK = @0x7FFF) ; FUNCTION usrGetDouble (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 395 2B54 ECFD PUSH R13 2B56 ECFE PUSH R14 2B58 ECFF PUSH R15 2B5A 88C0 MOV [-R0],R12 2B5C 88B0 MOV [-R0],R11 2B5E 88A0 MOV [-R0],R10 2B60 8890 MOV [-R0],R9 2B62 F0D8 MOV R13,R8 ;---- Variable 'row' assigned to Register 'R13' ---- 2B64 06F0ECFF ADD R0,#0FFECH ; SOURCE LINE # 396 ; SOURCE LINE # 401 2B68 E028 MOV R8,#02H 2B6A DA000000 R CALLS SEG (lcd_on),lcd_on ; SOURCE LINE # 402 2B6E DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 404 2B72 D4401400 MOV R4,[R0+#014H] ; defval 2B76 D4501600 MOV R5,[R0+#016H] ; defval+2 2B7A D4601800 MOV R6,[R0+#018H] ; defval+4 2B7E D4701A00 MOV R7,[R0+#01AH] ; defval+6 2B82 8870 MOV [-R0],R7 2B84 8860 MOV [-R0],R6 2B86 8850 MOV [-R0],R5 2B88 F0C4 MOV R12,R4 2B8A E6FA0000 R MOV R10,#POF (SC?2E8) 2B8E E6FB0000 R MOV R11,#PAG (SC?2E8) 2B92 E068 MOV R8,#06H ; tmp1 2B94 0080 ADD R8,R0 ; tmp1 2B96 66F8FF3F AND R8,#03FFFH 2B9A F2F904FE MOV R9,DPP2 2B9E DA000000 E CALLS SEG (sprintf),sprintf 2BA2 0806 ADD R0,#06H ; SOURCE LINE # 406 2BA4 D4401400 MOV R4,[R0+#014H] ; defval 2BA8 D4501600 MOV R5,[R0+#016H] ; defval+2 2BAC D4601800 MOV R6,[R0+#018H] ; defval+4 2BB0 D4701A00 MOV R7,[R0+#01AH] ; defval+6 2BB4 E008 MOV R8,#00H 2BB6 E009 MOV R9,#00H 2BB8 E00A MOV R10,#00H 2BBA E00B MOV R11,#00H 2BBC DA000000 E CALLS SEG (?C_DPCMP),?C_DPCMP 2BC0 CD04 JMPR cc_SLT,?C0246 ; SOURCE LINE # 407 2BC2 E7F82B00 MOVB RL4,#02BH 2BC6 B980 MOVB [R0],RL4 ; tmp1 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 82 ; SOURCE LINE # 408 2BC8 0D03 JMPR cc_UC,?C0247 2BCA ?C0246: ; SOURCE LINE # 410 2BCA E7F82D00 MOVB RL4,#02DH 2BCE B980 MOVB [R0],RL4 ; tmp1 ; SOURCE LINE # 411 2BD0 ?C0247: ; SOURCE LINE # 413 2BD0 E106 MOVB RL3,#00H ;---- Variable 'KEY' assigned to Register 'RL3' ---- ; SOURCE LINE # 414 2BD2 E114 MOVB RL2,#01H ;---- Variable 'x' assigned to Register 'RL2' ---- ; SOURCE LINE # 416 2BD4 0D50 JMPR cc_UC,?C0248 2BD6 ?C0250: ; SOURCE LINE # 418 2BD6 E106 MOVB RL3,#00H ; SOURCE LINE # 419 2BD8 F0A0 MOV R10,R0 2BDA 66FAFF3F AND R10,#03FFFH 2BDE F2FB04FE MOV R11,DPP2 2BE2 E009 MOV R9,#00H 2BE4 F04D MOV R4,R13 2BE6 C088 MOVBZ R8,RL4 2BE8 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 420 2BEC C049 MOVBZ R9,RL2 2BEE F04D MOV R4,R13 2BF0 C088 MOVBZ R8,RL4 2BF2 DA000000 R CALLS SEG (lcd_setcursor),lcd_setcursor ; SOURCE LINE # 422 2BF6 0D03 JMPR cc_UC,?C0252 2BF8 ?C0254: ; SOURCE LINE # 423 2BF8 DA000000 R CALLS SEG (readkey),readkey 2BFC F168 MOVB RL3,RL4 ; SOURCE LINE # 424 2BFE ?C0252: 2BFE 4960 CMPB RL3,#00H 2C00 2DFB JMPR cc_Z,?C0254 2C02 ?C0253: ; SOURCE LINE # 426 2C02 47F64C00 CMPB RL3,#04CH 2C06 3D08 JMPR cc_NZ,?C0256 ; SOURCE LINE # 427 2C08 4940 CMPB RL2,#00H 2C0A FD01 JMPR cc_ULE,?C0257 ; SOURCE LINE # 428 2C0C 2941 SUBB RL2,#01H ; SOURCE LINE # 429 2C0E ?C0257: ; SOURCE LINE # 430 2C0E 47F40900 CMPB RL2,#09H 2C12 3D31 JMPR cc_NZ,?C0248 ; SOURCE LINE # 431 2C14 2941 SUBB RL2,#01H ; SOURCE LINE # 432 ; SOURCE LINE # 433 2C16 0D2F JMPR cc_UC,?C0248 ; SOURCE LINE # 434 2C18 ?C0256: ; SOURCE LINE # 436 2C18 4940 CMPB RL2,#00H 2C1A 3D18 JMPR cc_NZ,?C0259 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 83 ; SOURCE LINE # 437 2C1C 47F63000 CMPB RL3,#030H 2C20 9D03 JMPR cc_UGE,?C0261 2C22 47F63900 CMPB RL3,#039H 2C26 ED1E JMPR cc_UGT,?C0264 2C28 ?C0261: ; SOURCE LINE # 438 2C28 C048 MOVBZ R8,RL2 2C2A F010 MOV R1,R0 2C2C F071 MOV R7,R1 2C2E 0078 ADD R7,R8 2C30 A987 MOVB RL4,[R7] 2C32 47F82B00 CMPB RL4,#02BH 2C36 3D04 JMPR cc_NZ,?C0262 ; SOURCE LINE # 439 2C38 E7FC2D00 MOVB RL6,#02DH 2C3C B9C7 MOVB [R7],RL6 ; SOURCE LINE # 440 2C3E 0D03 JMPR cc_UC,?C0263 2C40 ?C0262: ; SOURCE LINE # 442 2C40 E7FC2B00 MOVB RL6,#02BH 2C44 B9C7 MOVB [R7],RL6 ; SOURCE LINE # 443 2C46 ?C0263: ; SOURCE LINE # 444 2C46 E7F65200 MOVB RL3,#052H ; SOURCE LINE # 445 2C4A 0D0C JMPR cc_UC,?C0264 2C4C ?C0259: ; SOURCE LINE # 448 2C4C 47F63000 CMPB RL3,#030H 2C50 8D09 JMPR cc_ULT,?C0264 2C52 47F63900 CMPB RL3,#039H 2C56 ED06 JMPR cc_UGT,?C0264 ; SOURCE LINE # 449 2C58 C045 MOVBZ R5,RL2 2C5A F040 MOV R4,R0 2C5C 0045 ADD R4,R5 2C5E B964 MOVB [R4],RL3 ; SOURCE LINE # 450 2C60 E7F65200 MOVB RL3,#052H ; SOURCE LINE # 451 2C64 ?C0264: ; SOURCE LINE # 454 ; SOURCE LINE # 455 2C64 0941 ADDB RL2,#01H ; SOURCE LINE # 457 2C66 47F40900 CMPB RL2,#09H 2C6A 3D01 JMPR cc_NZ,?C0267 ; SOURCE LINE # 458 2C6C 0941 ADDB RL2,#01H ; SOURCE LINE # 459 2C6E ?C0267: ; SOURCE LINE # 461 2C6E 47F40F00 CMPB RL2,#0FH 2C72 FD01 JMPR cc_ULE,?C0248 ; SOURCE LINE # 462 2C74 2941 SUBB RL2,#01H ; SOURCE LINE # 463 ; SOURCE LINE # 465 ; SOURCE LINE # 468 2C76 ?C0248: 2C76 47F64500 CMPB RL3,#045H 2C7A 3DAD JMPR cc_NZ,?C0250 2C7C ?C0249: C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 84 ; SOURCE LINE # 470 2C7C F080 MOV R8,R0 2C7E 66F8FF3F AND R8,#03FFFH 2C82 F2F904FE MOV R9,DPP2 2C86 DA000000 E CALLS SEG (atof),atof 2C8A F0C4 MOV R12,R4 2C8C F0D5 MOV R13,R5 2C8E F0E6 MOV R14,R6 2C90 F0F7 MOV R15,R7 ;---- Variable 'd' assigned to Register 'R12/R13/R14/R15' ---- ; SOURCE LINE # 472 2C92 E008 MOV R8,#00H 2C94 DA000000 R CALLS SEG (lcd_on),lcd_on ; SOURCE LINE # 473 2C98 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 475 2C9C F04C MOV R4,R12 2C9E F05D MOV R5,R13 2CA0 F06E MOV R6,R14 2CA2 F07F MOV R7,R15 ; SOURCE LINE # 476 2CA4 06F01C00 ADD R0,#01CH 2CA8 FCFF POP R15 2CAA FCFE POP R14 2CAC FCFD POP R13 2CAE DB00 RETS ; FUNCTION usrGetDouble (END RMASK = @0x7FFF) ; FUNCTION usrGetLong (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 484 2CB0 ECFD PUSH R13 2CB2 ECFE PUSH R14 2CB4 ECFF PUSH R15 2CB6 F0E9 MOV R14,R9 2CB8 F0FA MOV R15,R10 ;---- Variable 'deflong' assigned to Register 'R14/R15' ---- 2CBA F0D8 MOV R13,R8 ;---- Variable 'row' assigned to Register 'R13' ---- 2CBC 06F0ECFF ADD R0,#0FFECH ; SOURCE LINE # 485 ; SOURCE LINE # 490 2CC0 E028 MOV R8,#02H 2CC2 DA000000 R CALLS SEG (lcd_on),lcd_on ; SOURCE LINE # 491 2CC6 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 493 2CCA 88F0 MOV [-R0],R15 2CCC F0CE MOV R12,R14 2CCE E6FA0000 R MOV R10,#POF (SC?3D1) 2CD2 E6FB0000 R MOV R11,#PAG (SC?3D1) 2CD6 E028 MOV R8,#02H ; tmp1 2CD8 0080 ADD R8,R0 ; tmp1 2CDA 66F8FF3F AND R8,#03FFFH 2CDE F2F904FE MOV R9,DPP2 2CE2 DA000000 E CALLS SEG (sprintf),sprintf 2CE6 0802 ADD R0,#02H ; SOURCE LINE # 494 2CE8 F04E MOV R4,R14 2CEA F05F MOV R5,R15 2CEC 2840 SUB R4,#00H 2CEE 3850 SUBC R5,#00H 2CF0 CD04 JMPR cc_SLT,?C0270 ; SOURCE LINE # 495 2CF2 E7F82B00 MOVB RL4,#02BH 2CF6 B980 MOVB [R0],RL4 ; tmp1 ; SOURCE LINE # 496 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 85 2CF8 0D03 JMPR cc_UC,?C0271 2CFA ?C0270: ; SOURCE LINE # 498 2CFA E7F82D00 MOVB RL4,#02DH 2CFE B980 MOVB [R0],RL4 ; tmp1 ; SOURCE LINE # 499 2D00 ?C0271: ; SOURCE LINE # 501 2D00 E106 MOVB RL3,#00H ;---- Variable 'KEY' assigned to Register 'RL3' ---- ; SOURCE LINE # 502 2D02 E114 MOVB RL2,#01H ;---- Variable 'x' assigned to Register 'RL2' ---- ; SOURCE LINE # 504 2D04 0D48 JMPR cc_UC,?C0272 2D06 ?C0274: ; SOURCE LINE # 506 2D06 E106 MOVB RL3,#00H ; SOURCE LINE # 507 2D08 F0A0 MOV R10,R0 2D0A 66FAFF3F AND R10,#03FFFH 2D0E F2FB04FE MOV R11,DPP2 2D12 E009 MOV R9,#00H 2D14 F04D MOV R4,R13 2D16 C088 MOVBZ R8,RL4 2D18 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 508 2D1C C049 MOVBZ R9,RL2 2D1E F04D MOV R4,R13 2D20 C088 MOVBZ R8,RL4 2D22 DA000000 R CALLS SEG (lcd_setcursor),lcd_setcursor ; SOURCE LINE # 510 2D26 0D03 JMPR cc_UC,?C0276 2D28 ?C0278: ; SOURCE LINE # 511 2D28 DA000000 R CALLS SEG (readkey),readkey 2D2C F168 MOVB RL3,RL4 ; SOURCE LINE # 512 2D2E ?C0276: 2D2E 4960 CMPB RL3,#00H 2D30 2DFB JMPR cc_Z,?C0278 2D32 ?C0277: ; SOURCE LINE # 514 2D32 47F64C00 CMPB RL3,#04CH 2D36 3D04 JMPR cc_NZ,?C0280 ; SOURCE LINE # 515 2D38 4940 CMPB RL2,#00H 2D3A FD2D JMPR cc_ULE,?C0272 ; SOURCE LINE # 516 2D3C 2941 SUBB RL2,#01H ; SOURCE LINE # 517 ; SOURCE LINE # 518 2D3E 0D2B JMPR cc_UC,?C0272 ; SOURCE LINE # 519 2D40 ?C0280: ; SOURCE LINE # 521 2D40 4940 CMPB RL2,#00H 2D42 3D18 JMPR cc_NZ,?C0282 ; SOURCE LINE # 522 2D44 47F63000 CMPB RL3,#030H 2D48 9D03 JMPR cc_UGE,?C0284 2D4A 47F63900 CMPB RL3,#039H 2D4E ED1E JMPR cc_UGT,?C0287 2D50 ?C0284: ; SOURCE LINE # 523 2D50 C048 MOVBZ R8,RL2 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 86 2D52 F010 MOV R1,R0 2D54 F071 MOV R7,R1 2D56 0078 ADD R7,R8 2D58 A987 MOVB RL4,[R7] 2D5A 47F82B00 CMPB RL4,#02BH 2D5E 3D04 JMPR cc_NZ,?C0285 ; SOURCE LINE # 524 2D60 E7FC2D00 MOVB RL6,#02DH 2D64 B9C7 MOVB [R7],RL6 ; SOURCE LINE # 525 2D66 0D03 JMPR cc_UC,?C0286 2D68 ?C0285: ; SOURCE LINE # 527 2D68 E7FC2B00 MOVB RL6,#02BH 2D6C B9C7 MOVB [R7],RL6 ; SOURCE LINE # 528 2D6E ?C0286: ; SOURCE LINE # 529 2D6E E7F65200 MOVB RL3,#052H ; SOURCE LINE # 530 2D72 0D0C JMPR cc_UC,?C0287 2D74 ?C0282: ; SOURCE LINE # 533 2D74 47F63000 CMPB RL3,#030H 2D78 8D09 JMPR cc_ULT,?C0287 2D7A 47F63900 CMPB RL3,#039H 2D7E ED06 JMPR cc_UGT,?C0287 ; SOURCE LINE # 534 2D80 C045 MOVBZ R5,RL2 2D82 F040 MOV R4,R0 2D84 0045 ADD R4,R5 2D86 B964 MOVB [R4],RL3 ; SOURCE LINE # 535 2D88 E7F65200 MOVB RL3,#052H ; SOURCE LINE # 536 2D8C ?C0287: ; SOURCE LINE # 539 ; SOURCE LINE # 540 2D8C 0941 ADDB RL2,#01H ; SOURCE LINE # 542 2D8E 47F40900 CMPB RL2,#09H 2D92 FD01 JMPR cc_ULE,?C0272 ; SOURCE LINE # 543 2D94 2941 SUBB RL2,#01H ; SOURCE LINE # 544 ; SOURCE LINE # 546 ; SOURCE LINE # 549 2D96 ?C0272: 2D96 47F64500 CMPB RL3,#045H 2D9A 3DB5 JMPR cc_NZ,?C0274 2D9C ?C0273: ; SOURCE LINE # 552 2D9C F080 MOV R8,R0 2D9E 66F8FF3F AND R8,#03FFFH 2DA2 F2F904FE MOV R9,DPP2 2DA6 DA000000 E CALLS SEG (atol),atol 2DAA F064 MOV R6,R4 2DAC F075 MOV R7,R5 ;---- Variable 'l' assigned to Register 'R6/R7' ---- ; SOURCE LINE # 554 2DAE E008 MOV R8,#00H 2DB0 DA000000 R CALLS SEG (lcd_on),lcd_on ; SOURCE LINE # 555 2DB4 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 557 2DB8 F046 MOV R4,R6 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 87 2DBA F057 MOV R5,R7 ; SOURCE LINE # 558 2DBC 06F01400 ADD R0,#014H 2DC0 FCFF POP R15 2DC2 FCFE POP R14 2DC4 FCFD POP R13 2DC6 DB00 RETS ; FUNCTION usrGetLong (END RMASK = @0x7FFF) ; FUNCTION usrGetInt (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 563 2DC8 ECFD PUSH R13 2DCA ECFE PUSH R14 2DCC F0D9 MOV R13,R9 ;---- Variable 'defint' assigned to Register 'R13' ---- 2DCE F0E8 MOV R14,R8 ;---- Variable 'row' assigned to Register 'R14' ---- 2DD0 06F0ECFF ADD R0,#0FFECH ; SOURCE LINE # 564 ; SOURCE LINE # 569 2DD4 E028 MOV R8,#02H 2DD6 DA000000 R CALLS SEG (lcd_on),lcd_on ; SOURCE LINE # 570 2DDA DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 572 2DDE F0CD MOV R12,R13 2DE0 E6FA0000 R MOV R10,#POF (SC?3CC) 2DE4 E6FB0000 R MOV R11,#PAG (SC?3CC) 2DE8 F080 MOV R8,R0 2DEA 66F8FF3F AND R8,#03FFFH 2DEE F2F904FE MOV R9,DPP2 2DF2 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 574 2DF6 48D0 CMP R13,#00H 2DF8 CD04 JMPR cc_SLT,?C0292 ; SOURCE LINE # 575 2DFA E7F82B00 MOVB RL4,#02BH 2DFE B980 MOVB [R0],RL4 ; tmp1 ; SOURCE LINE # 576 2E00 0D03 JMPR cc_UC,?C0293 2E02 ?C0292: ; SOURCE LINE # 578 2E02 E7F82D00 MOVB RL4,#02DH 2E06 B980 MOVB [R0],RL4 ; tmp1 ; SOURCE LINE # 579 2E08 ?C0293: ; SOURCE LINE # 581 2E08 E106 MOVB RL3,#00H ;---- Variable 'KEY' assigned to Register 'RL3' ---- ; SOURCE LINE # 582 2E0A E114 MOVB RL2,#01H ;---- Variable 'x' assigned to Register 'RL2' ---- ; SOURCE LINE # 584 2E0C 0D47 JMPR cc_UC,?C0294 2E0E ?C0296: ; SOURCE LINE # 586 2E0E E106 MOVB RL3,#00H ; SOURCE LINE # 587 2E10 F0A0 MOV R10,R0 2E12 66FAFF3F AND R10,#03FFFH 2E16 F2FB04FE MOV R11,DPP2 2E1A E009 MOV R9,#00H 2E1C F04E MOV R4,R14 2E1E C088 MOVBZ R8,RL4 2E20 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 588 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 88 2E24 C049 MOVBZ R9,RL2 2E26 F04E MOV R4,R14 2E28 C088 MOVBZ R8,RL4 2E2A DA000000 R CALLS SEG (lcd_setcursor),lcd_setcursor ; SOURCE LINE # 590 2E2E 0D03 JMPR cc_UC,?C0298 2E30 ?C0300: ; SOURCE LINE # 591 2E30 DA000000 R CALLS SEG (readkey),readkey 2E34 F168 MOVB RL3,RL4 ; SOURCE LINE # 592 2E36 ?C0298: 2E36 4960 CMPB RL3,#00H 2E38 2DFB JMPR cc_Z,?C0300 2E3A ?C0299: ; SOURCE LINE # 594 2E3A 47F64C00 CMPB RL3,#04CH 2E3E 3D04 JMPR cc_NZ,?C0302 ; SOURCE LINE # 595 2E40 4940 CMPB RL2,#00H 2E42 FD2C JMPR cc_ULE,?C0294 ; SOURCE LINE # 596 2E44 2941 SUBB RL2,#01H ; SOURCE LINE # 597 ; SOURCE LINE # 598 2E46 0D2A JMPR cc_UC,?C0294 ; SOURCE LINE # 599 2E48 ?C0302: ; SOURCE LINE # 601 2E48 4940 CMPB RL2,#00H 2E4A 3D18 JMPR cc_NZ,?C0304 ; SOURCE LINE # 602 2E4C 47F63000 CMPB RL3,#030H 2E50 9D03 JMPR cc_UGE,?C0306 2E52 47F63900 CMPB RL3,#039H 2E56 ED1E JMPR cc_UGT,?C0309 2E58 ?C0306: ; SOURCE LINE # 603 2E58 C048 MOVBZ R8,RL2 2E5A F010 MOV R1,R0 2E5C F071 MOV R7,R1 2E5E 0078 ADD R7,R8 2E60 A987 MOVB RL4,[R7] 2E62 47F82B00 CMPB RL4,#02BH 2E66 3D04 JMPR cc_NZ,?C0307 ; SOURCE LINE # 604 2E68 E7FC2D00 MOVB RL6,#02DH 2E6C B9C7 MOVB [R7],RL6 ; SOURCE LINE # 605 2E6E 0D03 JMPR cc_UC,?C0308 2E70 ?C0307: ; SOURCE LINE # 607 2E70 E7FC2B00 MOVB RL6,#02BH 2E74 B9C7 MOVB [R7],RL6 ; SOURCE LINE # 608 2E76 ?C0308: ; SOURCE LINE # 609 2E76 E7F65200 MOVB RL3,#052H ; SOURCE LINE # 610 2E7A 0D0C JMPR cc_UC,?C0309 2E7C ?C0304: ; SOURCE LINE # 613 2E7C 47F63000 CMPB RL3,#030H 2E80 8D09 JMPR cc_ULT,?C0309 2E82 47F63900 CMPB RL3,#039H 2E86 ED06 JMPR cc_UGT,?C0309 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 89 ; SOURCE LINE # 614 2E88 C045 MOVBZ R5,RL2 2E8A F040 MOV R4,R0 2E8C 0045 ADD R4,R5 2E8E B964 MOVB [R4],RL3 ; SOURCE LINE # 615 2E90 E7F65200 MOVB RL3,#052H ; SOURCE LINE # 616 2E94 ?C0309: ; SOURCE LINE # 619 ; SOURCE LINE # 620 2E94 0941 ADDB RL2,#01H ; SOURCE LINE # 622 2E96 4945 CMPB RL2,#05H 2E98 FD01 JMPR cc_ULE,?C0294 ; SOURCE LINE # 623 2E9A 2941 SUBB RL2,#01H ; SOURCE LINE # 624 ; SOURCE LINE # 626 ; SOURCE LINE # 629 2E9C ?C0294: 2E9C 47F64500 CMPB RL3,#045H 2EA0 3DB6 JMPR cc_NZ,?C0296 2EA2 ?C0295: ; SOURCE LINE # 632 2EA2 F080 MOV R8,R0 2EA4 66F8FF3F AND R8,#03FFFH 2EA8 F2F904FE MOV R9,DPP2 2EAC DA000000 E CALLS SEG (atoi),atoi 2EB0 F054 MOV R5,R4 ;---- Variable 'i' assigned to Register 'R5' ---- ; SOURCE LINE # 634 2EB2 E008 MOV R8,#00H 2EB4 DA000000 R CALLS SEG (lcd_on),lcd_on ; SOURCE LINE # 635 2EB8 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 637 2EBC F045 MOV R4,R5 ; SOURCE LINE # 638 2EBE 06F01400 ADD R0,#014H 2EC2 FCFE POP R14 2EC4 FCFD POP R13 2EC6 DB00 RETS ; FUNCTION usrGetInt (END RMASK = @0x7FFF) ; FUNCTION printArc10Degrees (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 644 2EC8 ECFD PUSH R13 2ECA ECFE PUSH R14 2ECC ECFF PUSH R15 ;---- Variable 'val' assigned to Register 'R9/R10' ---- 2ECE F0D8 MOV R13,R8 ;---- Variable 'row' assigned to Register 'R13' ---- 2ED0 06F0E6FF ADD R0,#0FFE6H ; SOURCE LINE # 645 ; SOURCE LINE # 650 2ED4 E004 MOV R4,#00H 2ED6 C4401800 MOV [R0+#018H],R4 ; sign ; SOURCE LINE # 652 2EDA E0A6 MOV R6,#0AH 2EDC E007 MOV R7,#00H 2EDE F049 MOV R4,R9 2EE0 F05A MOV R5,R10 2EE2 DA000000 E CALLS SEG (?C_SLDIV),?C_SLDIV 2EE6 F0A4 MOV R10,R4 2EE8 F0B5 MOV R11,R5 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 90 ;---- Variable 'rest' assigned to Register 'R10/R11' ---- ; SOURCE LINE # 653 2EEA 2840 SUB R4,#00H 2EEC 3850 SUBC R5,#00H 2EEE DD0D JMPR cc_SGE,?C0314 ; SOURCE LINE # 654 2EF0 E014 MOV R4,#01H 2EF2 C4401800 MOV [R0+#018H],R4 ; sign ; SOURCE LINE # 655 2EF6 E6F6FFFF MOV R6,#0FFFFH 2EFA E6F7FFFF MOV R7,#0FFFFH 2EFE F04A MOV R4,R10 2F00 F05B MOV R5,R11 2F02 DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 2F06 F0A4 MOV R10,R4 2F08 F0B5 MOV R11,R5 ; SOURCE LINE # 656 2F0A ?C0314: ; SOURCE LINE # 658 2F0A E6F6100E MOV R6,#0E10H 2F0E E007 MOV R7,#00H 2F10 F04A MOV R4,R10 2F12 F05B MOV R5,R11 2F14 DA000000 E CALLS SEG (?C_SLDIV),?C_SLDIV 2F18 F084 MOV R8,R4 2F1A F095 MOV R9,R5 2F1C C4401400 MOV [R0+#014H],R4 ; l1 2F20 C4501600 MOV [R0+#016H],R5 ; l1+2 ; SOURCE LINE # 659 2F24 E6F6100E MOV R6,#0E10H 2F28 E007 MOV R7,#00H 2F2A DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 2F2E F0E4 MOV R14,R4 2F30 F0F5 MOV R15,R5 ;---- Variable 'tmp' assigned to Register 'R14/R15' ---- ; SOURCE LINE # 660 2F32 20A4 SUB R10,R4 2F34 30B5 SUBC R11,R5 ; SOURCE LINE # 662 2F36 E6F63C00 MOV R6,#03CH 2F3A E007 MOV R7,#00H 2F3C F04A MOV R4,R10 2F3E F05B MOV R5,R11 2F40 DA000000 E CALLS SEG (?C_SLDIV),?C_SLDIV 2F44 F084 MOV R8,R4 2F46 F095 MOV R9,R5 ;---- Variable 'l2' assigned to Register 'R8/R9' ---- ; SOURCE LINE # 663 2F48 E6F63C00 MOV R6,#03CH 2F4C E007 MOV R7,#00H 2F4E DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 2F52 F0E4 MOV R14,R4 2F54 F0F5 MOV R15,R5 ; SOURCE LINE # 664 2F56 20A4 SUB R10,R4 2F58 30B5 SUBC R11,R5 ; SOURCE LINE # 666 ;---- Variable 'l3' assigned to Register 'R10/R11' ---- ; SOURCE LINE # 668 2F5A 88B0 MOV [-R0],R11 2F5C 88A0 MOV [-R0],R10 2F5E 8890 MOV [-R0],R9 2F60 8880 MOV [-R0],R8 2F62 D4401C00 MOV R4,[R0+#01CH] ; l1 2F66 D4501E00 MOV R5,[R0+#01EH] ; l1+2 2F6A 8850 MOV [-R0],R5 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 91 2F6C F0C4 MOV R12,R4 2F6E E6FA0000 R MOV R10,#POF (SC?3B9) 2F72 E6FB0000 R MOV R11,#PAG (SC?3B9) 2F76 E0A8 MOV R8,#0AH ; tmp1 2F78 0080 ADD R8,R0 ; tmp1 2F7A 66F8FF3F AND R8,#03FFFH 2F7E F2F904FE MOV R9,DPP2 2F82 DA000000 E CALLS SEG (sprintf),sprintf 2F86 06F00A00 ADD R0,#0AH ; SOURCE LINE # 670 2F8A D4401800 MOV R4,[R0+#018H] ; sign 2F8E 2D04 JMPR cc_Z,?C0315 ; SOURCE LINE # 671 2F90 E7F82D00 MOVB RL4,#02DH 2F94 B980 MOVB [R0],RL4 ; tmp1 ; SOURCE LINE # 672 2F96 0D03 JMPR cc_UC,?C0316 2F98 ?C0315: ; SOURCE LINE # 674 2F98 E7F82B00 MOVB RL4,#02BH 2F9C B980 MOVB [R0],RL4 ; tmp1 ; SOURCE LINE # 675 2F9E ?C0316: ; SOURCE LINE # 677 2F9E F0A0 MOV R10,R0 2FA0 66FAFF3F AND R10,#03FFFH 2FA4 F2FB04FE MOV R11,DPP2 2FA8 E009 MOV R9,#00H 2FAA F04D MOV R4,R13 2FAC C088 MOVBZ R8,RL4 2FAE DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 679 2FB2 06F01A00 ADD R0,#01AH 2FB6 FCFF POP R15 2FB8 FCFE POP R14 2FBA FCFD POP R13 2FBC DB00 RETS ; FUNCTION printArc10Degrees (END RMASK = @0x7FFF) ; FUNCTION printDegrees (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 685 2FBE ECFD PUSH R13 2FC0 F049 MOV R4,R9 2FC2 F05A MOV R5,R10 2FC4 F06B MOV R6,R11 2FC6 F07C MOV R7,R12 ;---- Variable 'val' assigned to Register 'R4/R5/R6/R7' ---- 2FC8 F0D8 MOV R13,R8 ;---- Variable 'row' assigned to Register 'R13' ---- ; SOURCE LINE # 686 ; SOURCE LINE # 688 2FCA F089 MOV R8,R9 2FCC F09A MOV R9,R10 2FCE F0AB MOV R10,R11 2FD0 F0BC MOV R11,R12 2FD2 DA000000 R CALLS SEG (dDegreeslArc10),dDegreeslArc10 ;---- Variable 'lo' assigned to Register 'R4/R5' ---- ; SOURCE LINE # 689 2FD6 F094 MOV R9,R4 2FD8 F0A5 MOV R10,R5 2FDA F04D MOV R4,R13 2FDC C088 MOVBZ R8,RL4 2FDE DA000000 R CALLS SEG (printArc10Degrees),printArc10Degrees ; SOURCE LINE # 690 2FE2 FCFD POP R13 2FE4 DB00 RETS C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 92 ; FUNCTION printDegrees (END RMASK = @0x7FFF) ; FUNCTION sprintArc10Degrees (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 698 2FE6 ECFD PUSH R13 2FE8 ECFE PUSH R14 2FEA ECFF PUSH R15 ;---- Variable 'val' assigned to Register 'R10/R11' ---- 2FEC F0E8 MOV R14,R8 2FEE F0F9 MOV R15,R9 ;---- Variable 'ptr' assigned to Register 'R14/R15' ---- 2FF0 2806 SUB R0,#06H ; SOURCE LINE # 699 ; SOURCE LINE # 703 2FF2 E004 MOV R4,#00H 2FF4 C4400400 MOV [R0+#04H],R4 ; sign ; SOURCE LINE # 705 2FF8 E0A6 MOV R6,#0AH 2FFA E007 MOV R7,#00H 2FFC F04A MOV R4,R10 2FFE F05B MOV R5,R11 3000 DA000000 E CALLS SEG (?C_SLDIV),?C_SLDIV 3004 F0A4 MOV R10,R4 3006 F0B5 MOV R11,R5 ;---- Variable 'rest' assigned to Register 'R10/R11' ---- ; SOURCE LINE # 706 3008 2840 SUB R4,#00H 300A 3850 SUBC R5,#00H 300C DD0D JMPR cc_SGE,?C0317 ; SOURCE LINE # 707 300E E014 MOV R4,#01H 3010 C4400400 MOV [R0+#04H],R4 ; sign ; SOURCE LINE # 708 3014 E6F6FFFF MOV R6,#0FFFFH 3018 E6F7FFFF MOV R7,#0FFFFH 301C F04A MOV R4,R10 301E F05B MOV R5,R11 3020 DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 3024 F0A4 MOV R10,R4 3026 F0B5 MOV R11,R5 ; SOURCE LINE # 709 3028 ?C0317: ; SOURCE LINE # 711 3028 E6F6100E MOV R6,#0E10H 302C E007 MOV R7,#00H 302E F04A MOV R4,R10 3030 F05B MOV R5,R11 3032 DA000000 E CALLS SEG (?C_SLDIV),?C_SLDIV 3036 F084 MOV R8,R4 3038 F095 MOV R9,R5 303A B840 MOV [R0],R4 ; l1 303C C4500200 MOV [R0+#02H],R5 ; l1+2 ; SOURCE LINE # 712 3040 E6F6100E MOV R6,#0E10H 3044 E007 MOV R7,#00H 3046 DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 304A F0C4 MOV R12,R4 304C F0D5 MOV R13,R5 ;---- Variable 'tmp' assigned to Register 'R12/R13' ---- ; SOURCE LINE # 713 304E 20A4 SUB R10,R4 3050 30B5 SUBC R11,R5 ; SOURCE LINE # 715 3052 E6F63C00 MOV R6,#03CH 3056 E007 MOV R7,#00H 3058 F04A MOV R4,R10 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 93 305A F05B MOV R5,R11 305C DA000000 E CALLS SEG (?C_SLDIV),?C_SLDIV 3060 F084 MOV R8,R4 3062 F095 MOV R9,R5 ;---- Variable 'l2' assigned to Register 'R8/R9' ---- ; SOURCE LINE # 716 3064 E6F63C00 MOV R6,#03CH 3068 E007 MOV R7,#00H 306A DA000000 E CALLS SEG (?C_LMUL),?C_LMUL 306E F0C4 MOV R12,R4 3070 F0D5 MOV R13,R5 ; SOURCE LINE # 717 3072 20A4 SUB R10,R4 3074 30B5 SUBC R11,R5 ; SOURCE LINE # 719 ;---- Variable 'l3' assigned to Register 'R10/R11' ---- ; SOURCE LINE # 721 3076 88B0 MOV [-R0],R11 3078 88A0 MOV [-R0],R10 307A 8890 MOV [-R0],R9 307C 8880 MOV [-R0],R8 307E D4400800 MOV R4,[R0+#08H] ; l1 3082 D4500A00 MOV R5,[R0+#0AH] ; l1+2 3086 8850 MOV [-R0],R5 3088 F0C4 MOV R12,R4 308A E6FA0000 R MOV R10,#POF (SC?3B9) 308E E6FB0000 R MOV R11,#PAG (SC?3B9) 3092 F09F MOV R9,R15 3094 F08E MOV R8,R14 3096 DA000000 E CALLS SEG (sprintf),sprintf 309A 06F00A00 ADD R0,#0AH ; SOURCE LINE # 723 309E D4400400 MOV R4,[R0+#04H] ; sign 30A2 2D05 JMPR cc_Z,?C0318 ; SOURCE LINE # 724 30A4 E7FC2D00 MOVB RL6,#02DH 30A8 DC4F EXTP R15,#01H 30AA B9CE MOVB [R14],RL6 ; SOURCE LINE # 725 30AC 0D04 JMPR cc_UC,?C0319 30AE ?C0318: ; SOURCE LINE # 727 30AE E7FC2B00 MOVB RL6,#02BH 30B2 DC4F EXTP R15,#01H 30B4 B9CE MOVB [R14],RL6 ; SOURCE LINE # 728 30B6 ?C0319: ; SOURCE LINE # 730 30B6 0806 ADD R0,#06H 30B8 FCFF POP R15 30BA FCFE POP R14 30BC FCFD POP R13 30BE DB00 RETS ; FUNCTION sprintArc10Degrees (END RMASK = @0x7FFF) ; FUNCTION sprintDegrees (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 736 30C0 ECFE PUSH R14 30C2 ECFF PUSH R15 30C4 88C0 MOV [-R0],R12 30C6 88B0 MOV [-R0],R11 30C8 88A0 MOV [-R0],R10 30CA F0E8 MOV R14,R8 30CC F0F9 MOV R15,R9 ;---- Variable 'ptr' assigned to Register 'R14/R15' ---- ; SOURCE LINE # 737 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 94 ; SOURCE LINE # 739 30CE A880 MOV R8,[R0] ; val 30D0 D4900200 MOV R9,[R0+#02H] ; val+2 30D4 D4A00400 MOV R10,[R0+#04H] ; val+4 30D8 D4B00600 MOV R11,[R0+#06H] ; val+6 30DC DA000000 R CALLS SEG (dDegreeslArc10),dDegreeslArc10 ;---- Variable 'lo' assigned to Register 'R4/R5' ---- ; SOURCE LINE # 740 30E0 F0A4 MOV R10,R4 30E2 F0B5 MOV R11,R5 30E4 F09F MOV R9,R15 30E6 F08E MOV R8,R14 30E8 DA000000 R CALLS SEG (sprintArc10Degrees),sprintArc10Degrees ; SOURCE LINE # 741 30EC 0806 ADD R0,#06H 30EE FCFF POP R15 30F0 FCFE POP R14 30F2 DB00 RETS ; FUNCTION sprintDegrees (END RMASK = @0x7FFF) ; FUNCTION printDouble (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 748 30F4 ECFD PUSH R13 30F6 88C0 MOV [-R0],R12 30F8 88B0 MOV [-R0],R11 30FA 88A0 MOV [-R0],R10 30FC 8890 MOV [-R0],R9 30FE F0D8 MOV R13,R8 ;---- Variable 'row' assigned to Register 'R13' ---- 3100 06F0D6FF ADD R0,#0FFD6H ; SOURCE LINE # 749 ; SOURCE LINE # 751 3104 D4402A00 MOV R4,[R0+#02AH] ; val 3108 D4502C00 MOV R5,[R0+#02CH] ; val+2 310C D4602E00 MOV R6,[R0+#02EH] ; val+4 3110 D4703000 MOV R7,[R0+#030H] ; val+6 3114 8870 MOV [-R0],R7 3116 8860 MOV [-R0],R6 3118 8850 MOV [-R0],R5 311A F0C4 MOV R12,R4 311C E6FA0000 R MOV R10,#POF (SC?2E8) 3120 E6FB0000 R MOV R11,#PAG (SC?2E8) 3124 E068 MOV R8,#06H ; tmp1 3126 0080 ADD R8,R0 ; tmp1 3128 66F8FF3F AND R8,#03FFFH 312C F2F904FE MOV R9,DPP2 3130 DA000000 E CALLS SEG (sprintf),sprintf 3134 0806 ADD R0,#06H ; SOURCE LINE # 752 3136 F0A0 MOV R10,R0 3138 66FAFF3F AND R10,#03FFFH 313C F2FB04FE MOV R11,DPP2 3140 E009 MOV R9,#00H 3142 F04D MOV R4,R13 3144 C088 MOVBZ R8,RL4 3146 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 754 314A 06F03200 ADD R0,#032H 314E FCFD POP R13 3150 DB00 RETS ; FUNCTION printDouble (END RMASK = @0x7FFF) ; FUNCTION printLong (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 760 3152 ECFD PUSH R13 ;---- Variable 'val' assigned to Register 'R9/R10' ---- C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 95 3154 F0D8 MOV R13,R8 ;---- Variable 'row' assigned to Register 'R13' ---- 3156 06F0D6FF ADD R0,#0FFD6H ; SOURCE LINE # 761 ; SOURCE LINE # 763 315A 88A0 MOV [-R0],R10 315C F0C9 MOV R12,R9 315E E6FA0000 R MOV R10,#POF (SC?3D1) 3162 E6FB0000 R MOV R11,#PAG (SC?3D1) 3166 E028 MOV R8,#02H ; tmp1 3168 0080 ADD R8,R0 ; tmp1 316A 66F8FF3F AND R8,#03FFFH 316E F2F904FE MOV R9,DPP2 3172 DA000000 E CALLS SEG (sprintf),sprintf 3176 0802 ADD R0,#02H ; SOURCE LINE # 764 3178 F0A0 MOV R10,R0 317A 66FAFF3F AND R10,#03FFFH 317E F2FB04FE MOV R11,DPP2 3182 E009 MOV R9,#00H 3184 F04D MOV R4,R13 3186 C088 MOVBZ R8,RL4 3188 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 766 318C 06F02A00 ADD R0,#02AH 3190 FCFD POP R13 3192 DB00 RETS ; FUNCTION printLong (END RMASK = @0x7FFF) ; FUNCTION printDateTime (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 772 3194 ECFD PUSH R13 3196 F0D8 MOV R13,R8 ;---- Variable 'row' assigned to Register 'R13' ---- 3198 06F0ECFF ADD R0,#0FFECH ; SOURCE LINE # 773 ; SOURCE LINE # 780 319C F2F40000 E MOV R4,MINUTE 31A0 8840 MOV [-R0],R4 31A2 F2F40000 E MOV R4,HOUR 31A6 8840 MOV [-R0],R4 31A8 F2F40000 E MOV R4,YEAR 31AC 8840 MOV [-R0],R4 31AE F2F40000 E MOV R4,MONTH 31B2 8840 MOV [-R0],R4 31B4 F2FC0000 E MOV R12,DAY 31B8 E6FA0000 R MOV R10,#POF (SC?3A0) 31BC E6FB0000 R MOV R11,#PAG (SC?3A0) 31C0 E088 MOV R8,#08H ; tmp1 31C2 0080 ADD R8,R0 ; tmp1 31C4 66F8FF3F AND R8,#03FFFH 31C8 F2F904FE MOV R9,DPP2 31CC DA000000 E CALLS SEG (sprintf),sprintf 31D0 06F00800 ADD R0,#08H ; SOURCE LINE # 782 31D4 F0A0 MOV R10,R0 31D6 66FAFF3F AND R10,#03FFFH 31DA F2FB04FE MOV R11,DPP2 31DE E009 MOV R9,#00H 31E0 F04D MOV R4,R13 31E2 C088 MOVBZ R8,RL4 31E4 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 784 31E8 06F01400 ADD R0,#014H 31EC FCFD POP R13 31EE DB00 RETS C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 96 ; FUNCTION printDateTime (END RMASK = @0x7FFF) ; FUNCTION usrGetAck (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 789 ;---- Variable 'txt' assigned to Register 'R8/R9' ---- 31F0 06F0ECFF ADD R0,#0FFECH ; SOURCE LINE # 793 31F4 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 795 31F8 8890 MOV [-R0],R9 31FA F0C8 MOV R12,R8 31FC E6FA0000 R MOV R10,#POF (SC?428) 3200 E6FB0000 R MOV R11,#PAG (SC?428) 3204 E028 MOV R8,#02H ; tmp1 3206 0080 ADD R8,R0 ; tmp1 3208 66F8FF3F AND R8,#03FFFH 320C F2F904FE MOV R9,DPP2 3210 DA000000 E CALLS SEG (sprintf),sprintf 3214 0802 ADD R0,#02H ; SOURCE LINE # 796 3216 F0A0 MOV R10,R0 3218 66FAFF3F AND R10,#03FFFH 321C F2FB04FE MOV R11,DPP2 3220 E009 MOV R9,#00H 3222 E008 MOV R8,#00H 3224 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 797 3228 E6FA0000 R MOV R10,#POF (SC?38F) 322C E6FB0000 R MOV R11,#PAG (SC?38F) 3230 F080 MOV R8,R0 3232 66F8FF3F AND R8,#03FFFH 3236 F2F904FE MOV R9,DPP2 323A DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 798 323E F0A0 MOV R10,R0 3240 66FAFF3F AND R10,#03FFFH 3244 F2FB04FE MOV R11,DPP2 3248 E009 MOV R9,#00H 324A E018 MOV R8,#01H 324C DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 799 3250 E6FA0000 R MOV R10,#POF (SC?37E) 3254 E6FB0000 R MOV R11,#PAG (SC?37E) 3258 F080 MOV R8,R0 325A 66F8FF3F AND R8,#03FFFH 325E F2F904FE MOV R9,DPP2 3262 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 800 3266 F0A0 MOV R10,R0 3268 66FAFF3F AND R10,#03FFFH 326C F2FB04FE MOV R11,DPP2 3270 E009 MOV R9,#00H 3272 E028 MOV R8,#02H 3274 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 803 3278 E102 MOVB RL1,#00H ;---- Variable 'KEY' assigned to Register 'RL1' ---- ; SOURCE LINE # 804 327A ?C0322: ; SOURCE LINE # 805 327A DA000000 R CALLS SEG (readkey),readkey 327E F128 MOVB RL1,RL4 ; SOURCE LINE # 806 3280 4920 CMPB RL1,#00H 3282 2DFB JMPR cc_Z,?C0322 3284 ?C0321: C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 97 ; SOURCE LINE # 808 3284 47F23100 CMPB RL1,#031H 3288 3D02 JMPR cc_NZ,?C0324 ; SOURCE LINE # 809 328A E014 MOV R4,#01H 328C 0D01 JMPR cc_UC,?C0325 ; SOURCE LINE # 810 328E ?C0324: ; SOURCE LINE # 812 328E E004 MOV R4,#00H ; SOURCE LINE # 813 3290 ?C0325: 3290 06F01400 ADD R0,#014H 3294 DB00 RETS ; FUNCTION usrGetAck (END RMASK = @0x7FFF) ; FUNCTION initEncoderValues (BEGIN RMASK = @0x2070) ; SOURCE LINE # 9 ; SOURCE LINE # 11 3296 F2F60000 E MOV R6,CFG_ENC_HO 329A E6F400C1 MOV R4,#0C100H 329E E6F5C500 MOV R5,#0C5H 32A2 F6F40EFE MOV MDL,R4 32A6 F6F50CFE MOV MDH,R5 32AA 6B66 DIVL R6 32AC F2F40EFE MOV R4,MDL 32B0 F6F40000 E MOV ARC10PERENCHO,R4 ; SOURCE LINE # 12 32B4 F2F60000 E MOV R6,CFG_ENC_VE 32B8 E6F400C1 MOV R4,#0C100H 32BC F6F40EFE MOV MDL,R4 32C0 F6F50CFE MOV MDH,R5 32C4 6B66 DIVL R6 32C6 F2F40EFE MOV R4,MDL 32CA F6F40000 E MOV ARC10PERENCVE,R4 ; SOURCE LINE # 13 32CE DB00 RETS ; FUNCTION initEncoderValues (END RMASK = @0x2070) ; FUNCTION initScopeValues (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 18 32D0 06F0F0FF ADD R0,#0FFF0H ; SOURCE LINE # 21 32D4 F2F80000 E MOV R8,CFG_HSTS_HO 32D8 F2F90200 E MOV R9,CFG_HSTS_HO+02H 32DC F2FA0400 E MOV R10,CFG_HSTS_HO+04H 32E0 F2FB0600 E MOV R11,CFG_HSTS_HO+06H 32E4 E004 MOV R4,#00H 32E6 E005 MOV R5,#00H 32E8 E6F680C6 MOV R6,#0C680H 32EC E6F73341 MOV R7,#04133H 32F0 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 32F4 C4400800 MOV [R0+#08H],R4 ; v 32F8 C4500A00 MOV [R0+#0AH],R5 ; v+2 32FC C4600C00 MOV [R0+#0CH],R6 ; v+4 3300 C4700E00 MOV [R0+#0EH],R7 ; v+6 ; SOURCE LINE # 22 3304 F2F80000 E MOV R8,CFG_HSTS_HO 3308 F2F90200 E MOV R9,CFG_HSTS_HO+02H 330C F2FA0400 E MOV R10,CFG_HSTS_HO+04H 3310 F2FB0600 E MOV R11,CFG_HSTS_HO+06H 3314 D4400800 MOV R4,[R0+#08H] ; v 3318 D4500A00 MOV R5,[R0+#0AH] ; v+2 331C D4600C00 MOV R6,[R0+#0CH] ; v+4 3320 D4700E00 MOV R7,[R0+#0EH] ; v+6 3324 DA000000 E CALLS SEG (?C_DPSUB),?C_DPSUB C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 98 3328 C4400800 MOV [R0+#08H],R4 ; v 332C C4500A00 MOV [R0+#0AH],R5 ; v+2 3330 C4600C00 MOV [R0+#0CH],R6 ; v+4 3334 C4700E00 MOV [R0+#0EH],R7 ; v+6 ; SOURCE LINE # 23 3338 F040 MOV R4,R0 333A 66F4FF3F AND R4,#03FFFH 333E F2F504FE MOV R5,DPP2 3342 8850 MOV [-R0],R5 3344 F0C4 MOV R12,R4 3346 D4800A00 MOV R8,[R0+#0AH] ; v 334A D4900C00 MOV R9,[R0+#0CH] ; v+2 334E D4A00E00 MOV R10,[R0+#0EH] ; v+4 3352 D4B01000 MOV R11,[R0+#010H] ; v+6 3356 DA000000 E CALLS SEG (modf),modf 335A 0802 ADD R0,#02H ; SOURCE LINE # 24 335C A840 MOV R4,[R0] ; abs 335E D4500200 MOV R5,[R0+#02H] ; abs+2 3362 D4600400 MOV R6,[R0+#04H] ; abs+4 3366 D4700600 MOV R7,[R0+#06H] ; abs+6 336A DA000000 E CALLS SEG (?C_CASTD),?C_CASTD 336E F6F40000 E MOV HSTEPSHO359,R4 3372 F6F50200 E MOV HSTEPSHO359+02H,R5 ; SOURCE LINE # 26 3376 F2F80000 E MOV R8,CFG_HSTS_HO 337A F2F90200 E MOV R9,CFG_HSTS_HO+02H 337E F2FA0400 E MOV R10,CFG_HSTS_HO+04H 3382 F2FB0600 E MOV R11,CFG_HSTS_HO+06H 3386 E004 MOV R4,#00H 3388 E005 MOV R5,#00H 338A E6F680C6 MOV R6,#0C680H 338E E6F71341 MOV R7,#04113H 3392 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 3396 C4400800 MOV [R0+#08H],R4 ; v 339A C4500A00 MOV [R0+#0AH],R5 ; v+2 339E C4600C00 MOV [R0+#0CH],R6 ; v+4 33A2 C4700E00 MOV [R0+#0EH],R7 ; v+6 ; SOURCE LINE # 27 33A6 F040 MOV R4,R0 33A8 66F4FF3F AND R4,#03FFFH 33AC F2F504FE MOV R5,DPP2 33B0 8850 MOV [-R0],R5 33B2 F0C4 MOV R12,R4 33B4 D4800A00 MOV R8,[R0+#0AH] ; v 33B8 D4900C00 MOV R9,[R0+#0CH] ; v+2 33BC D4A00E00 MOV R10,[R0+#0EH] ; v+4 33C0 D4B01000 MOV R11,[R0+#010H] ; v+6 33C4 DA000000 E CALLS SEG (modf),modf 33C8 0802 ADD R0,#02H ; SOURCE LINE # 28 33CA A840 MOV R4,[R0] ; abs 33CC D4500200 MOV R5,[R0+#02H] ; abs+2 33D0 D4600400 MOV R6,[R0+#04H] ; abs+4 33D4 D4700600 MOV R7,[R0+#06H] ; abs+6 33D8 DA000000 E CALLS SEG (?C_CASTD),?C_CASTD 33DC F6F40000 E MOV HSTEPSHO090,R4 33E0 F6F50200 E MOV HSTEPSHO090+02H,R5 ; SOURCE LINE # 30 33E4 F2F80000 E MOV R8,CFG_HSTS_HO 33E8 F2F90200 E MOV R9,CFG_HSTS_HO+02H 33EC F2FA0400 E MOV R10,CFG_HSTS_HO+04H 33F0 F2FB0600 E MOV R11,CFG_HSTS_HO+06H 33F4 E004 MOV R4,#00H 33F6 E005 MOV R5,#00H 33F8 E6F680C6 MOV R6,#0C680H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 99 33FC E6F72341 MOV R7,#04123H 3400 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 3404 C4400800 MOV [R0+#08H],R4 ; v 3408 C4500A00 MOV [R0+#0AH],R5 ; v+2 340C C4600C00 MOV [R0+#0CH],R6 ; v+4 3410 C4700E00 MOV [R0+#0EH],R7 ; v+6 ; SOURCE LINE # 31 3414 F040 MOV R4,R0 3416 66F4FF3F AND R4,#03FFFH 341A F2F504FE MOV R5,DPP2 341E 8850 MOV [-R0],R5 3420 F0C4 MOV R12,R4 3422 D4800A00 MOV R8,[R0+#0AH] ; v 3426 D4900C00 MOV R9,[R0+#0CH] ; v+2 342A D4A00E00 MOV R10,[R0+#0EH] ; v+4 342E D4B01000 MOV R11,[R0+#010H] ; v+6 3432 DA000000 E CALLS SEG (modf),modf 3436 0802 ADD R0,#02H ; SOURCE LINE # 32 3438 A840 MOV R4,[R0] ; abs 343A D4500200 MOV R5,[R0+#02H] ; abs+2 343E D4600400 MOV R6,[R0+#04H] ; abs+4 3442 D4700600 MOV R7,[R0+#06H] ; abs+6 3446 DA000000 E CALLS SEG (?C_CASTD),?C_CASTD 344A F6F40000 E MOV HSTEPSHO180,R4 344E F6F50200 E MOV HSTEPSHO180+02H,R5 ; SOURCE LINE # 34 3452 F2F80000 E MOV R8,CFG_HSTS_HO 3456 F2F90200 E MOV R9,CFG_HSTS_HO+02H 345A F2FA0400 E MOV R10,CFG_HSTS_HO+04H 345E F2FB0600 E MOV R11,CFG_HSTS_HO+06H 3462 E004 MOV R4,#00H 3464 E005 MOV R5,#00H 3466 E6F6C0A9 MOV R6,#0A9C0H 346A E6F72D41 MOV R7,#0412DH 346E DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 3472 C4400800 MOV [R0+#08H],R4 ; v 3476 C4500A00 MOV [R0+#0AH],R5 ; v+2 347A C4600C00 MOV [R0+#0CH],R6 ; v+4 347E C4700E00 MOV [R0+#0EH],R7 ; v+6 ; SOURCE LINE # 35 3482 F040 MOV R4,R0 3484 66F4FF3F AND R4,#03FFFH 3488 F2F504FE MOV R5,DPP2 348C 8850 MOV [-R0],R5 348E F0C4 MOV R12,R4 3490 D4800A00 MOV R8,[R0+#0AH] ; v 3494 D4900C00 MOV R9,[R0+#0CH] ; v+2 3498 D4A00E00 MOV R10,[R0+#0EH] ; v+4 349C D4B01000 MOV R11,[R0+#010H] ; v+6 34A0 DA000000 E CALLS SEG (modf),modf 34A4 0802 ADD R0,#02H ; SOURCE LINE # 36 34A6 A840 MOV R4,[R0] ; abs 34A8 D4500200 MOV R5,[R0+#02H] ; abs+2 34AC D4600400 MOV R6,[R0+#04H] ; abs+4 34B0 D4700600 MOV R7,[R0+#06H] ; abs+6 34B4 DA000000 E CALLS SEG (?C_CASTD),?C_CASTD 34B8 F6F40000 E MOV HSTEPSHO270,R4 34BC F6F50200 E MOV HSTEPSHO270+02H,R5 ; SOURCE LINE # 38 34C0 06F01000 ADD R0,#010H 34C4 DB00 RETS ; FUNCTION initScopeValues (END RMASK = @0x7FFF) ; FUNCTION hstepsSector (BEGIN RMASK = @0x4030) C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 100 ; SOURCE LINE # 44 ;---- Variable 'val' assigned to Register 'R8/R9' ---- ; SOURCE LINE # 46 34C6 F048 MOV R4,R8 34C8 F059 MOV R5,R9 34CA 2840 SUB R4,#00H 34CC 3850 SUBC R5,#00H 34CE CD09 JMPR cc_SLT,?C0326 34D0 F048 MOV R4,R8 34D2 F059 MOV R5,R9 34D4 22F40000 E SUB R4,HSTEPSHO090 34D8 32F50200 E SUBC R5,HSTEPSHO090+02H 34DC DD02 JMPR cc_SGE,?C0326 ; SOURCE LINE # 47 34DE E004 MOV R4,#00H 34E0 DB00 RETS ; SOURCE LINE # 48 34E2 ?C0326: ; SOURCE LINE # 50 34E2 F048 MOV R4,R8 34E4 F059 MOV R5,R9 34E6 22F40000 E SUB R4,HSTEPSHO090 34EA 32F50200 E SUBC R5,HSTEPSHO090+02H 34EE CD09 JMPR cc_SLT,?C0328 34F0 F048 MOV R4,R8 34F2 F059 MOV R5,R9 34F4 22F40000 E SUB R4,HSTEPSHO180 34F8 32F50200 E SUBC R5,HSTEPSHO180+02H 34FC DD02 JMPR cc_SGE,?C0328 ; SOURCE LINE # 51 34FE E014 MOV R4,#01H 3500 DB00 RETS ; SOURCE LINE # 52 3502 ?C0328: ; SOURCE LINE # 54 3502 F048 MOV R4,R8 3504 F059 MOV R5,R9 3506 22F40000 E SUB R4,HSTEPSHO180 350A 32F50200 E SUBC R5,HSTEPSHO180+02H 350E CD09 JMPR cc_SLT,?C0329 3510 F048 MOV R4,R8 3512 F059 MOV R5,R9 3514 22F40000 E SUB R4,HSTEPSHO270 3518 32F50200 E SUBC R5,HSTEPSHO270+02H 351C DD02 JMPR cc_SGE,?C0329 ; SOURCE LINE # 55 351E E024 MOV R4,#02H 3520 DB00 RETS ; SOURCE LINE # 56 3522 ?C0329: ; SOURCE LINE # 58 3522 E034 MOV R4,#03H ; SOURCE LINE # 59 3524 ?C0327: 3524 DB00 RETS ; FUNCTION hstepsSector (END RMASK = @0x4030) ; FUNCTION origin (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 67 3526 06F0F0FF ADD R0,#0FFF0H ; SOURCE LINE # 71 352A F2F458E0 MOV R4,0E058H 352E F2F55AE0 MOV R5,0E05AH 3532 F2F65CE0 MOV R6,0E05CH 3536 F2F75EE0 MOV R7,0E05EH 353A F6F420E0 MOV 0E020H,R4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 101 353E F6F522E0 MOV 0E022H,R5 3542 F6F624E0 MOV 0E024H,R6 3546 F6F726E0 MOV 0E026H,R7 ; SOURCE LINE # 72 354A F2F460E0 MOV R4,0E060H 354E F2F562E0 MOV R5,0E062H 3552 F2F664E0 MOV R6,0E064H 3556 F2F766E0 MOV R7,0E066H 355A F6F428E0 MOV 0E028H,R4 355E F6F52AE0 MOV 0E02AH,R5 3562 F6F62CE0 MOV 0E02CH,R6 3566 F6F72EE0 MOV 0E02EH,R7 ; SOURCE LINE # 74 356A DA000000 R CALLS SEG (cCurrentStarTime),cCurrentStarTime ; SOURCE LINE # 76 356E DA000000 R CALLS SEG (cAzAlt),cAzAlt ; SOURCE LINE # 78 3572 E008 MOV R8,#00H 3574 E009 MOV R9,#00H 3576 E6FA0020 MOV R10,#02000H 357A E6FBAC40 MOV R11,#040ACH 357E F2F430E0 MOV R4,0E030H 3582 F2F532E0 MOV R5,0E032H 3586 F2F634E0 MOV R6,0E034H 358A F2F736E0 MOV R7,0E036H 358E DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 3592 F2F80000 E MOV R8,CFG_HSTS_HO 3596 F2F90200 E MOV R9,CFG_HSTS_HO+02H 359A F2FA0400 E MOV R10,CFG_HSTS_HO+04H 359E F2FB0600 E MOV R11,CFG_HSTS_HO+06H 35A2 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 35A6 C4400800 MOV [R0+#08H],R4 ; v 35AA C4500A00 MOV [R0+#0AH],R5 ; v+2 35AE C4600C00 MOV [R0+#0CH],R6 ; v+4 35B2 C4700E00 MOV [R0+#0EH],R7 ; v+6 ; SOURCE LINE # 79 35B6 F040 MOV R4,R0 35B8 66F4FF3F AND R4,#03FFFH 35BC F2F504FE MOV R5,DPP2 35C0 8850 MOV [-R0],R5 35C2 F0C4 MOV R12,R4 35C4 D4800A00 MOV R8,[R0+#0AH] ; v 35C8 D4900C00 MOV R9,[R0+#0CH] ; v+2 35CC D4A00E00 MOV R10,[R0+#0EH] ; v+4 35D0 D4B01000 MOV R11,[R0+#010H] ; v+6 35D4 DA000000 E CALLS SEG (modf),modf 35D8 0802 ADD R0,#02H ; SOURCE LINE # 80 35DA A840 MOV R4,[R0] ; abs 35DC D4500200 MOV R5,[R0+#02H] ; abs+2 35E0 D4600400 MOV R6,[R0+#04H] ; abs+4 35E4 D4700600 MOV R7,[R0+#06H] ; abs+6 35E8 DA000000 E CALLS SEG (?C_CASTD),?C_CASTD 35EC F6F40000 E MOV CUR_HSTEPS_HO,R4 35F0 F6F50200 E MOV CUR_HSTEPS_HO+02H,R5 ; SOURCE LINE # 82 35F4 E008 MOV R8,#00H 35F6 E009 MOV R9,#00H 35F8 E6FA0020 MOV R10,#02000H 35FC E6FBAC40 MOV R11,#040ACH 3600 F2F438E0 MOV R4,0E038H 3604 F2F53AE0 MOV R5,0E03AH 3608 F2F63CE0 MOV R6,0E03CH 360C F2F73EE0 MOV R7,0E03EH 3610 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 3614 F2F80000 E MOV R8,CFG_HSTS_VE C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 102 3618 F2F90200 E MOV R9,CFG_HSTS_VE+02H 361C F2FA0400 E MOV R10,CFG_HSTS_VE+04H 3620 F2FB0600 E MOV R11,CFG_HSTS_VE+06H 3624 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 3628 C4400800 MOV [R0+#08H],R4 ; v 362C C4500A00 MOV [R0+#0AH],R5 ; v+2 3630 C4600C00 MOV [R0+#0CH],R6 ; v+4 3634 C4700E00 MOV [R0+#0EH],R7 ; v+6 ; SOURCE LINE # 83 3638 F040 MOV R4,R0 363A 66F4FF3F AND R4,#03FFFH 363E F2F504FE MOV R5,DPP2 3642 8850 MOV [-R0],R5 3644 F0C4 MOV R12,R4 3646 D4800A00 MOV R8,[R0+#0AH] ; v 364A D4900C00 MOV R9,[R0+#0CH] ; v+2 364E D4A00E00 MOV R10,[R0+#0EH] ; v+4 3652 D4B01000 MOV R11,[R0+#010H] ; v+6 3656 DA000000 E CALLS SEG (modf),modf 365A 0802 ADD R0,#02H ; SOURCE LINE # 84 365C A840 MOV R4,[R0] ; abs 365E D4500200 MOV R5,[R0+#02H] ; abs+2 3662 D4600400 MOV R6,[R0+#04H] ; abs+4 3666 D4700600 MOV R7,[R0+#06H] ; abs+6 366A DA000000 E CALLS SEG (?C_CASTD),?C_CASTD 366E F6F40000 E MOV CUR_HSTEPS_VE,R4 3672 F6F50200 E MOV CUR_HSTEPS_VE+02H,R5 ; SOURCE LINE # 86 3676 F2F40000 E MOV R4,CUR_HSTEPS_HO 367A F2F50200 E MOV R5,CUR_HSTEPS_HO+02H 367E F065 MOV R6,R5 3680 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 3684 F2F80000 E MOV R8,CFG_HSTS_HO 3688 F2F90200 E MOV R9,CFG_HSTS_HO+02H 368C F2FA0400 E MOV R10,CFG_HSTS_HO+04H 3690 F2FB0600 E MOV R11,CFG_HSTS_HO+06H 3694 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 3698 E008 MOV R8,#00H 369A E009 MOV R9,#00H 369C E00A MOV R10,#00H 369E E6FB2440 MOV R11,#04024H 36A2 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 36A6 C4400800 MOV [R0+#08H],R4 ; v 36AA C4500A00 MOV [R0+#0AH],R5 ; v+2 36AE C4600C00 MOV [R0+#0CH],R6 ; v+4 36B2 C4700E00 MOV [R0+#0EH],R7 ; v+6 ; SOURCE LINE # 87 36B6 F040 MOV R4,R0 36B8 66F4FF3F AND R4,#03FFFH 36BC F2F504FE MOV R5,DPP2 36C0 8850 MOV [-R0],R5 36C2 F0C4 MOV R12,R4 36C4 D4800A00 MOV R8,[R0+#0AH] ; v 36C8 D4900C00 MOV R9,[R0+#0CH] ; v+2 36CC D4A00E00 MOV R10,[R0+#0EH] ; v+4 36D0 D4B01000 MOV R11,[R0+#010H] ; v+6 36D4 DA000000 E CALLS SEG (modf),modf 36D8 0802 ADD R0,#02H ; SOURCE LINE # 88 36DA A840 MOV R4,[R0] ; abs 36DC D4500200 MOV R5,[R0+#02H] ; abs+2 36E0 D4600400 MOV R6,[R0+#04H] ; abs+4 36E4 D4700600 MOV R7,[R0+#06H] ; abs+6 36E8 DA000000 E CALLS SEG (?C_CASTD),?C_CASTD 36EC F6F40000 E MOV CUR_ARC10_HO,R4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 103 36F0 F6F50200 E MOV CUR_ARC10_HO+02H,R5 ; SOURCE LINE # 90 36F4 F2F40000 E MOV R4,CUR_HSTEPS_VE 36F8 F2F50200 E MOV R5,CUR_HSTEPS_VE+02H 36FC F065 MOV R6,R5 36FE DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 3702 F2F80000 E MOV R8,CFG_HSTS_VE 3706 F2F90200 E MOV R9,CFG_HSTS_VE+02H 370A F2FA0400 E MOV R10,CFG_HSTS_VE+04H 370E F2FB0600 E MOV R11,CFG_HSTS_VE+06H 3712 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 3716 E008 MOV R8,#00H 3718 E009 MOV R9,#00H 371A E00A MOV R10,#00H 371C E6FB2440 MOV R11,#04024H 3720 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 3724 C4400800 MOV [R0+#08H],R4 ; v 3728 C4500A00 MOV [R0+#0AH],R5 ; v+2 372C C4600C00 MOV [R0+#0CH],R6 ; v+4 3730 C4700E00 MOV [R0+#0EH],R7 ; v+6 ; SOURCE LINE # 91 3734 F040 MOV R4,R0 3736 66F4FF3F AND R4,#03FFFH 373A F2F504FE MOV R5,DPP2 373E 8850 MOV [-R0],R5 3740 F0C4 MOV R12,R4 3742 D4800A00 MOV R8,[R0+#0AH] ; v 3746 D4900C00 MOV R9,[R0+#0CH] ; v+2 374A D4A00E00 MOV R10,[R0+#0EH] ; v+4 374E D4B01000 MOV R11,[R0+#010H] ; v+6 3752 DA000000 E CALLS SEG (modf),modf 3756 0802 ADD R0,#02H ; SOURCE LINE # 92 3758 A840 MOV R4,[R0] ; abs 375A D4500200 MOV R5,[R0+#02H] ; abs+2 375E D4600400 MOV R6,[R0+#04H] ; abs+4 3762 D4700600 MOV R7,[R0+#06H] ; abs+6 3766 DA000000 E CALLS SEG (?C_CASTD),?C_CASTD 376A F6F40000 E MOV CUR_ARC10_VE,R4 376E F6F50200 E MOV CUR_ARC10_VE+02H,R5 ; SOURCE LINE # 94 3772 F2F40000 E MOV R4,CUR_ARC10_HO 3776 F2F50200 E MOV R5,CUR_ARC10_HO+02H 377A F6F40000 E MOV ENC_ARC10_HO,R4 377E F6F50200 E MOV ENC_ARC10_HO+02H,R5 ; SOURCE LINE # 95 3782 F2F40000 E MOV R4,CUR_ARC10_VE 3786 F2F50200 E MOV R5,CUR_ARC10_VE+02H 378A F6F40000 E MOV ENC_ARC10_VE,R4 378E F6F50200 E MOV ENC_ARC10_VE+02H,R5 ; SOURCE LINE # 97 3792 0E00 E BCLR ENCHO_COR ; SOURCE LINE # 98 3794 0E00 E BCLR ENCVE_COR ; SOURCE LINE # 100 3796 06F01000 ADD R0,#010H 379A DB00 RETS ; FUNCTION origin (END RMASK = @0x7FFF) ; FUNCTION calcTarget (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 111 379C ECFE PUSH R14 379E ECFF PUSH R15 37A0 06F0E4FF ADD R0,#0FFE4H ; SOURCE LINE # 117 37A4 DA000000 R CALLS SEG (cCurrentStarTime),cCurrentStarTime C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 104 ; SOURCE LINE # 119 37A8 DA000000 R CALLS SEG (cAzAlt),cAzAlt ; SOURCE LINE # 121 37AC E008 MOV R8,#00H 37AE E009 MOV R9,#00H 37B0 E6FA0020 MOV R10,#02000H 37B4 E6FBAC40 MOV R11,#040ACH 37B8 F2F430E0 MOV R4,0E030H 37BC F2F532E0 MOV R5,0E032H 37C0 F2F634E0 MOV R6,0E034H 37C4 F2F736E0 MOV R7,0E036H 37C8 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 37CC F2F80000 E MOV R8,CFG_HSTS_HO 37D0 F2F90200 E MOV R9,CFG_HSTS_HO+02H 37D4 F2FA0400 E MOV R10,CFG_HSTS_HO+04H 37D8 F2FB0600 E MOV R11,CFG_HSTS_HO+06H 37DC DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 37E0 C4400800 MOV [R0+#08H],R4 ; v 37E4 C4500A00 MOV [R0+#0AH],R5 ; v+2 37E8 C4600C00 MOV [R0+#0CH],R6 ; v+4 37EC C4700E00 MOV [R0+#0EH],R7 ; v+6 ; SOURCE LINE # 122 37F0 F040 MOV R4,R0 37F2 66F4FF3F AND R4,#03FFFH 37F6 F2F504FE MOV R5,DPP2 37FA 8850 MOV [-R0],R5 37FC F0C4 MOV R12,R4 37FE D4800A00 MOV R8,[R0+#0AH] ; v 3802 D4900C00 MOV R9,[R0+#0CH] ; v+2 3806 D4A00E00 MOV R10,[R0+#0EH] ; v+4 380A D4B01000 MOV R11,[R0+#010H] ; v+6 380E DA000000 E CALLS SEG (modf),modf 3812 0802 ADD R0,#02H ; SOURCE LINE # 123 3814 A840 MOV R4,[R0] ; abs 3816 D4500200 MOV R5,[R0+#02H] ; abs+2 381A D4600400 MOV R6,[R0+#04H] ; abs+4 381E D4700600 MOV R7,[R0+#06H] ; abs+6 3822 DA000000 E CALLS SEG (?C_CASTD),?C_CASTD 3826 C4401400 MOV [R0+#014H],R4 ; trgho 382A C4501600 MOV [R0+#016H],R5 ; trgho+2 ; SOURCE LINE # 125 382E E008 MOV R8,#00H 3830 E009 MOV R9,#00H 3832 E6FA0020 MOV R10,#02000H 3836 E6FBAC40 MOV R11,#040ACH 383A F2F438E0 MOV R4,0E038H 383E F2F53AE0 MOV R5,0E03AH 3842 F2F63CE0 MOV R6,0E03CH 3846 F2F73EE0 MOV R7,0E03EH 384A DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 384E F2F80000 E MOV R8,CFG_HSTS_VE 3852 F2F90200 E MOV R9,CFG_HSTS_VE+02H 3856 F2FA0400 E MOV R10,CFG_HSTS_VE+04H 385A F2FB0600 E MOV R11,CFG_HSTS_VE+06H 385E DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 3862 C4400800 MOV [R0+#08H],R4 ; v 3866 C4500A00 MOV [R0+#0AH],R5 ; v+2 386A C4600C00 MOV [R0+#0CH],R6 ; v+4 386E C4700E00 MOV [R0+#0EH],R7 ; v+6 ; SOURCE LINE # 126 3872 F040 MOV R4,R0 3874 66F4FF3F AND R4,#03FFFH 3878 F2F504FE MOV R5,DPP2 387C 8850 MOV [-R0],R5 387E F0C4 MOV R12,R4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 105 3880 D4800A00 MOV R8,[R0+#0AH] ; v 3884 D4900C00 MOV R9,[R0+#0CH] ; v+2 3888 D4A00E00 MOV R10,[R0+#0EH] ; v+4 388C D4B01000 MOV R11,[R0+#010H] ; v+6 3890 DA000000 E CALLS SEG (modf),modf 3894 0802 ADD R0,#02H ; SOURCE LINE # 127 3896 A840 MOV R4,[R0] ; abs 3898 D4500200 MOV R5,[R0+#02H] ; abs+2 389C D4600400 MOV R6,[R0+#04H] ; abs+4 38A0 D4700600 MOV R7,[R0+#06H] ; abs+6 38A4 DA000000 E CALLS SEG (?C_CASTD),?C_CASTD 38A8 F064 MOV R6,R4 38AA F075 MOV R7,R5 38AC C4401800 MOV [R0+#018H],R4 ; trgve 38B0 C4501A00 MOV [R0+#01AH],R5 ; trgve+2 ; SOURCE LINE # 130 38B4 D4401400 MOV R4,[R0+#014H] ; trgho 38B8 D4501600 MOV R5,[R0+#016H] ; trgho+2 38BC F6F40000 E MOV TRG_HSTEPS_HO,R4 38C0 F6F50200 E MOV TRG_HSTEPS_HO+02H,R5 ; SOURCE LINE # 131 38C4 F6F60000 E MOV TRG_HSTEPS_VE,R6 38C8 F6F70200 E MOV TRG_HSTEPS_VE+02H,R7 ; SOURCE LINE # 132 38CC F2FE0000 E MOV R14,CUR_HSTEPS_HO 38D0 F2FF0200 E MOV R15,CUR_HSTEPS_HO+02H ;---- Variable 'curho' assigned to Register 'R14/R15' ---- ; SOURCE LINE # 133 38D4 F2F40000 E MOV R4,CUR_HSTEPS_VE 38D8 F2F50200 E MOV R5,CUR_HSTEPS_VE+02H 38DC C4401000 MOV [R0+#010H],R4 ; curve 38E0 C4501200 MOV [R0+#012H],R5 ; curve+2 ; SOURCE LINE # 136 38E4 F04E MOV R4,R14 38E6 F05F MOV R5,R15 38E8 F065 MOV R6,R5 38EA DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 38EE F2F80000 E MOV R8,CFG_HSTS_HO 38F2 F2F90200 E MOV R9,CFG_HSTS_HO+02H 38F6 F2FA0400 E MOV R10,CFG_HSTS_HO+04H 38FA F2FB0600 E MOV R11,CFG_HSTS_HO+06H 38FE DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 3902 E008 MOV R8,#00H 3904 E009 MOV R9,#00H 3906 E00A MOV R10,#00H 3908 E6FB2440 MOV R11,#04024H 390C DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 3910 C4400800 MOV [R0+#08H],R4 ; v 3914 C4500A00 MOV [R0+#0AH],R5 ; v+2 3918 C4600C00 MOV [R0+#0CH],R6 ; v+4 391C C4700E00 MOV [R0+#0EH],R7 ; v+6 ; SOURCE LINE # 137 3920 F040 MOV R4,R0 3922 66F4FF3F AND R4,#03FFFH 3926 F2F504FE MOV R5,DPP2 392A 8850 MOV [-R0],R5 392C F0C4 MOV R12,R4 392E D4800A00 MOV R8,[R0+#0AH] ; v 3932 D4900C00 MOV R9,[R0+#0CH] ; v+2 3936 D4A00E00 MOV R10,[R0+#0EH] ; v+4 393A D4B01000 MOV R11,[R0+#010H] ; v+6 393E DA000000 E CALLS SEG (modf),modf 3942 0802 ADD R0,#02H ; SOURCE LINE # 138 3944 A840 MOV R4,[R0] ; abs C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 106 3946 D4500200 MOV R5,[R0+#02H] ; abs+2 394A D4600400 MOV R6,[R0+#04H] ; abs+4 394E D4700600 MOV R7,[R0+#06H] ; abs+6 3952 DA000000 E CALLS SEG (?C_CASTD),?C_CASTD 3956 F6F40000 E MOV CUR_ARC10_HO,R4 395A F6F50200 E MOV CUR_ARC10_HO+02H,R5 ; SOURCE LINE # 140 395E D4401000 MOV R4,[R0+#010H] ; curve 3962 D4501200 MOV R5,[R0+#012H] ; curve+2 3966 F065 MOV R6,R5 3968 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 396C F2F80000 E MOV R8,CFG_HSTS_VE 3970 F2F90200 E MOV R9,CFG_HSTS_VE+02H 3974 F2FA0400 E MOV R10,CFG_HSTS_VE+04H 3978 F2FB0600 E MOV R11,CFG_HSTS_VE+06H 397C DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 3980 E008 MOV R8,#00H 3982 E009 MOV R9,#00H 3984 E00A MOV R10,#00H 3986 E6FB2440 MOV R11,#04024H 398A DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 398E C4400800 MOV [R0+#08H],R4 ; v 3992 C4500A00 MOV [R0+#0AH],R5 ; v+2 3996 C4600C00 MOV [R0+#0CH],R6 ; v+4 399A C4700E00 MOV [R0+#0EH],R7 ; v+6 ; SOURCE LINE # 141 399E F040 MOV R4,R0 39A0 66F4FF3F AND R4,#03FFFH 39A4 F2F504FE MOV R5,DPP2 39A8 8850 MOV [-R0],R5 39AA F0C4 MOV R12,R4 39AC D4800A00 MOV R8,[R0+#0AH] ; v 39B0 D4900C00 MOV R9,[R0+#0CH] ; v+2 39B4 D4A00E00 MOV R10,[R0+#0EH] ; v+4 39B8 D4B01000 MOV R11,[R0+#010H] ; v+6 39BC DA000000 E CALLS SEG (modf),modf 39C0 0802 ADD R0,#02H ; SOURCE LINE # 142 39C2 A840 MOV R4,[R0] ; abs 39C4 D4500200 MOV R5,[R0+#02H] ; abs+2 39C8 D4600400 MOV R6,[R0+#04H] ; abs+4 39CC D4700600 MOV R7,[R0+#06H] ; abs+6 39D0 DA000000 E CALLS SEG (?C_CASTD),?C_CASTD 39D4 F6F40000 E MOV CUR_ARC10_VE,R4 39D8 F6F50200 E MOV CUR_ARC10_VE+02H,R5 ; SOURCE LINE # 146 39DC F08E MOV R8,R14 39DE F09F MOV R9,R15 39E0 DA000000 R CALLS SEG (hstepsSector),hstepsSector 39E4 F0A4 MOV R10,R4 ;---- Variable 'cursector' assigned to Register 'R10' ---- ; SOURCE LINE # 147 39E6 D4801400 MOV R8,[R0+#014H] ; trgho 39EA D4901600 MOV R9,[R0+#016H] ; trgho+2 39EE DA000000 R CALLS SEG (hstepsSector),hstepsSector 39F2 F094 MOV R9,R4 ;---- Variable 'trgsector' assigned to Register 'R9' ---- ; SOURCE LINE # 151 39F4 E008 MOV R8,#00H ;---- Variable 'flag' assigned to Register 'R8' ---- ; SOURCE LINE # 153 39F6 D4601000 MOV R6,[R0+#010H] ; curve 39FA D4701200 MOV R7,[R0+#012H] ; curve+2 39FE D4201800 MOV R2,[R0+#018H] ; trgve 3A02 D4301A00 MOV R3,[R0+#01AH] ; trgve+2 3A06 F042 MOV R4,R2 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 107 3A08 F053 MOV R5,R3 3A0A 2046 SUB R4,R6 3A0C 3057 SUBC R5,R7 3A0E 3D03 JMPR cc_NZ,?C0330 ; SOURCE LINE # 154 3A10 E018 MOV R8,#01H ; SOURCE LINE # 155 3A12 0E00 E BCLR MOTVE_RUN ; SOURCE LINE # 156 3A14 0D0B JMPR cc_UC,?C0331 3A16 ?C0330: ; SOURCE LINE # 158 3A16 D4601000 MOV R6,[R0+#010H] ; curve 3A1A D4701200 MOV R7,[R0+#012H] ; curve+2 3A1E 2026 SUB R2,R6 3A20 3037 SUBC R3,R7 3A22 DD02 JMPR cc_SGE,?C0332 ; SOURCE LINE # 159 3A24 0F00 E BSET MOTVE_DIR ; SOURCE LINE # 160 3A26 0D01 JMPR cc_UC,?C0333 3A28 ?C0332: ; SOURCE LINE # 162 3A28 0E00 E BCLR MOTVE_DIR ; SOURCE LINE # 163 3A2A ?C0333: ; SOURCE LINE # 165 3A2A 0F00 E BSET MOTVE_RUN ; SOURCE LINE # 166 3A2C ?C0331: ; SOURCE LINE # 170 3A2C D4201400 MOV R2,[R0+#014H] ; trgho 3A30 D4301600 MOV R3,[R0+#016H] ; trgho+2 3A34 F042 MOV R4,R2 3A36 F053 MOV R5,R3 3A38 204E SUB R4,R14 3A3A 305F SUBC R5,R15 3A3C 3D03 JMPR cc_NZ,?C0334 ; SOURCE LINE # 171 3A3E 0881 ADD R8,#01H ; SOURCE LINE # 172 3A40 0E00 E BCLR MOTHO_RUN ; SOURCE LINE # 173 3A42 0D67 JMPR cc_UC,?C0335 3A44 ?C0334: ; SOURCE LINE # 176 3A44 F04A MOV R4,R10 3A46 2841 SUB R4,#01H 3A48 2D36 JMPR cc_Z,?C0338 3A4A 2841 SUB R4,#01H 3A4C 2D4C JMPR cc_Z,?C0339 3A4E 2841 SUB R4,#01H 3A50 2D1A JMPR cc_Z,?C0340 3A52 0843 ADD R4,#03H 3A54 3D5D JMPR cc_NZ,?C0336 ; SOURCE LINE # 179 3A56 ?C0337: ; SOURCE LINE # 181 3A56 F049 MOV R4,R9 3A58 2841 SUB R4,#01H 3A5A 2D11 JMPR cc_Z,?C0343 3A5C 2841 SUB R4,#01H 3A5E 2D11 JMPR cc_Z,?C0344 3A60 2841 SUB R4,#01H 3A62 2D0B JMPR cc_Z,?C0345 3A64 0843 ADD R4,#03H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 108 3A66 3D54 JMPR cc_NZ,?C0336 ; SOURCE LINE # 184 3A68 ?C0342: ; SOURCE LINE # 185 3A68 F042 MOV R4,R2 3A6A F053 MOV R5,R3 3A6C 204E SUB R4,R14 3A6E 305F SUBC R5,R15 3A70 DD02 JMPR cc_SGE,?C0346 ; SOURCE LINE # 186 3A72 0F00 E BSET MOTHO_DIR ; SOURCE LINE # 187 3A74 0D4D JMPR cc_UC,?C0336 3A76 ?C0346: ; SOURCE LINE # 189 3A76 0E00 E BCLR MOTHO_DIR ; SOURCE LINE # 190 ; SOURCE LINE # 191 3A78 0D4B JMPR cc_UC,?C0336 ; SOURCE LINE # 193 3A7A ?C0345: ; SOURCE LINE # 194 3A7A 0F00 E BSET MOTHO_DIR ; SOURCE LINE # 195 3A7C 0D49 JMPR cc_UC,?C0336 ; SOURCE LINE # 198 3A7E ?C0343: ; SOURCE LINE # 199 3A7E 0E00 E BCLR MOTHO_DIR ; SOURCE LINE # 200 3A80 0D47 JMPR cc_UC,?C0336 ; SOURCE LINE # 202 3A82 ?C0344: ; SOURCE LINE # 203 3A82 0E00 E BCLR MOTHO_DIR ; SOURCE LINE # 204 ; SOURCE LINE # 205 ; SOURCE LINE # 207 3A84 0D45 JMPR cc_UC,?C0336 ; SOURCE LINE # 209 3A86 ?C0340: ; SOURCE LINE # 211 3A86 F049 MOV R4,R9 3A88 2841 SUB R4,#01H 3A8A 2D11 JMPR cc_Z,?C0350 3A8C 2841 SUB R4,#01H 3A8E 2D11 JMPR cc_Z,?C0351 3A90 2841 SUB R4,#01H 3A92 2D04 JMPR cc_Z,?C0352 3A94 0843 ADD R4,#03H 3A96 3D3C JMPR cc_NZ,?C0336 ; SOURCE LINE # 214 3A98 ?C0349: ; SOURCE LINE # 215 3A98 0E00 E BCLR MOTHO_DIR ; SOURCE LINE # 216 3A9A 0D3A JMPR cc_UC,?C0336 ; SOURCE LINE # 218 3A9C ?C0352: ; SOURCE LINE # 219 3A9C F042 MOV R4,R2 3A9E F053 MOV R5,R3 3AA0 204E SUB R4,R14 3AA2 305F SUBC R5,R15 3AA4 DD02 JMPR cc_SGE,?C0353 ; SOURCE LINE # 220 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 109 3AA6 0F00 E BSET MOTHO_DIR ; SOURCE LINE # 221 3AA8 0D33 JMPR cc_UC,?C0336 3AAA ?C0353: ; SOURCE LINE # 223 3AAA 0E00 E BCLR MOTHO_DIR ; SOURCE LINE # 224 ; SOURCE LINE # 225 3AAC 0D31 JMPR cc_UC,?C0336 ; SOURCE LINE # 228 3AAE ?C0350: ; SOURCE LINE # 229 3AAE 0F00 E BSET MOTHO_DIR ; SOURCE LINE # 230 3AB0 0D2F JMPR cc_UC,?C0336 ; SOURCE LINE # 232 3AB2 ?C0351: ; SOURCE LINE # 233 3AB2 0F00 E BSET MOTHO_DIR ; SOURCE LINE # 234 ; SOURCE LINE # 235 ; SOURCE LINE # 237 3AB4 0D2D JMPR cc_UC,?C0336 ; SOURCE LINE # 241 3AB6 ?C0338: ; SOURCE LINE # 243 3AB6 F049 MOV R4,R9 3AB8 2841 SUB R4,#01H 3ABA 2D0A JMPR cc_Z,?C0357 3ABC 2841 SUB R4,#01H 3ABE 2D11 JMPR cc_Z,?C0358 3AC0 2841 SUB R4,#01H 3AC2 2D04 JMPR cc_Z,?C0359 3AC4 0843 ADD R4,#03H 3AC6 3D24 JMPR cc_NZ,?C0336 ; SOURCE LINE # 246 3AC8 ?C0356: ; SOURCE LINE # 247 3AC8 0F00 E BSET MOTHO_DIR ; SOURCE LINE # 248 3ACA 0D22 JMPR cc_UC,?C0336 ; SOURCE LINE # 250 3ACC ?C0359: ; SOURCE LINE # 251 3ACC 0E00 E BCLR MOTHO_DIR ; SOURCE LINE # 252 3ACE 0D20 JMPR cc_UC,?C0336 ; SOURCE LINE # 255 3AD0 ?C0357: ; SOURCE LINE # 256 3AD0 F042 MOV R4,R2 3AD2 F053 MOV R5,R3 3AD4 204E SUB R4,R14 3AD6 305F SUBC R5,R15 3AD8 DD02 JMPR cc_SGE,?C0360 ; SOURCE LINE # 257 3ADA 0F00 E BSET MOTHO_DIR ; SOURCE LINE # 258 3ADC 0D19 JMPR cc_UC,?C0336 3ADE ?C0360: ; SOURCE LINE # 260 3ADE 0E00 E BCLR MOTHO_DIR ; SOURCE LINE # 261 ; SOURCE LINE # 262 3AE0 0D17 JMPR cc_UC,?C0336 ; SOURCE LINE # 264 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 110 3AE2 ?C0358: ; SOURCE LINE # 265 3AE2 0E00 E BCLR MOTHO_DIR ; SOURCE LINE # 266 ; SOURCE LINE # 267 ; SOURCE LINE # 269 3AE4 0D15 JMPR cc_UC,?C0336 ; SOURCE LINE # 271 3AE6 ?C0339: ; SOURCE LINE # 273 3AE6 F049 MOV R4,R9 3AE8 2841 SUB R4,#01H 3AEA 2D0A JMPR cc_Z,?C0364 3AEC 2841 SUB R4,#01H 3AEE 2D0A JMPR cc_Z,?C0365 3AF0 2841 SUB R4,#01H 3AF2 2D04 JMPR cc_Z,?C0366 3AF4 0843 ADD R4,#03H 3AF6 3D0C JMPR cc_NZ,?C0336 ; SOURCE LINE # 276 3AF8 ?C0363: ; SOURCE LINE # 277 3AF8 0F00 E BSET MOTHO_DIR ; SOURCE LINE # 278 3AFA 0D0A JMPR cc_UC,?C0336 ; SOURCE LINE # 280 3AFC ?C0366: ; SOURCE LINE # 281 3AFC 0E00 E BCLR MOTHO_DIR ; SOURCE LINE # 282 3AFE 0D08 JMPR cc_UC,?C0336 ; SOURCE LINE # 285 3B00 ?C0364: ; SOURCE LINE # 286 3B00 0F00 E BSET MOTHO_DIR ; SOURCE LINE # 287 3B02 0D06 JMPR cc_UC,?C0336 ; SOURCE LINE # 289 3B04 ?C0365: ; SOURCE LINE # 290 3B04 202E SUB R2,R14 3B06 303F SUBC R3,R15 3B08 DD02 JMPR cc_SGE,?C0367 ; SOURCE LINE # 291 3B0A 0F00 E BSET MOTHO_DIR ; SOURCE LINE # 292 3B0C 0D01 JMPR cc_UC,?C0336 3B0E ?C0367: ; SOURCE LINE # 294 3B0E 0E00 E BCLR MOTHO_DIR ; SOURCE LINE # 295 ; SOURCE LINE # 296 ; SOURCE LINE # 297 ; SOURCE LINE # 299 ; SOURCE LINE # 301 3B10 ?C0336: ; SOURCE LINE # 303 3B10 0F00 E BSET MOTHO_RUN ; SOURCE LINE # 304 3B12 ?C0335: ; SOURCE LINE # 308 ; SOURCE LINE # 312 ; SOURCE LINE # 315 3B12 4882 CMP R8,#02H 3B14 3D02 JMPR cc_NZ,?C0370 ; SOURCE LINE # 316 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 111 3B16 E014 MOV R4,#01H 3B18 0D01 JMPR cc_UC,?C0371 ; SOURCE LINE # 317 3B1A ?C0370: ; SOURCE LINE # 318 3B1A E004 MOV R4,#00H ; SOURCE LINE # 319 3B1C ?C0371: 3B1C 06F01C00 ADD R0,#01CH 3B20 FCFF POP R15 3B22 FCFE POP R14 3B24 DB00 RETS ; FUNCTION calcTarget (END RMASK = @0x7FFF) ; FUNCTION correction (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 327 3B26 ECFD PUSH R13 3B28 ECFE PUSH R14 3B2A ECFF PUSH R15 3B2C F0E9 MOV R14,R9 ;---- Variable 'speedflag' assigned to Register 'R14' ---- 3B2E F0D8 MOV R13,R8 ;---- Variable 'KEY' assigned to Register 'R13' ---- ;---- Variable 'mflags' assigned to Register 'R15' ---- 3B30 06F0EAFF ADD R0,#0FFEAH ; SOURCE LINE # 333 3B34 F048 MOV R4,R8 3B36 47F84C00 CMPB RL4,#04CH 3B3A 2D04 JMPR cc_Z,?C0373 3B3C F04D MOV R4,R13 3B3E 47F85200 CMPB RL4,#052H 3B42 3D7A JMPR cc_NZ,?C0372 3B44 ?C0373: ; SOURCE LINE # 335 3B44 F04D MOV R4,R13 3B46 E4800400 MOVB [R0+#04H],RL4 ; _key ; SOURCE LINE # 336 3B4A F2F40000 E MOV R4,SPEED_HO 3B4E B840 MOV [R0],R4 ; speed ; SOURCE LINE # 337 3B50 F2F40000 E MOV R4,SPEED_HO_CT 3B54 C4400200 MOV [R0+#02H],R4 ; speedct ; SOURCE LINE # 338 3B58 F3F80000 E MOVB RL4,MOT_FLAGS 3B5C F0F4 MOV R15,R4 ; SOURCE LINE # 339 3B5E F78E0000 E MOVB MOT_FLAGS,ZEROS ; SOURCE LINE # 341 3B62 F04E MOV R4,R14 3B64 47F83100 CMPB RL4,#031H 3B68 3D05 JMPR cc_NZ,?C0374 ; SOURCE LINE # 342 3B6A F2F468E0 MOV R4,0E068H 3B6E F6F40000 E MOV SPEED_HO,R4 ; SOURCE LINE # 343 3B72 0D04 JMPR cc_UC,?C0375 3B74 ?C0374: ; SOURCE LINE # 345 3B74 F2F46CE0 MOV R4,0E06CH 3B78 F6F40000 E MOV SPEED_HO,R4 ; SOURCE LINE # 346 3B7C ?C0375: ; SOURCE LINE # 348 3B7C 0F00 E BSET MOT_CORRECTION ; SOURCE LINE # 349 3B7E F68E0000 E MOV SPEED_HO_CT,ZEROS C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 112 ; SOURCE LINE # 351 3B82 F04D MOV R4,R13 3B84 47F84C00 CMPB RL4,#04CH 3B88 3D01 JMPR cc_NZ,?C0376 ; SOURCE LINE # 352 3B8A 0F00 E BSET MOTHO_DIR ; SOURCE LINE # 353 3B8C ?C0376: ; SOURCE LINE # 355 3B8C 0F00 E BSET MOTHO_RUN ; SOURCE LINE # 357 3B8E ?C0377: 3B8E DA000000 R CALLS SEG (testkey),testkey 3B92 F4A00400 MOVB RL5,[R0+#04H] ; _key 3B96 418A CMPB RL4,RL5 3B98 2DFA JMPR cc_Z,?C0377 3B9A ?C0378: ; SOURCE LINE # 359 3B9A 0E00 E BCLR MOTHO_RUN ; SOURCE LINE # 361 3B9C A840 MOV R4,[R0] ; speed 3B9E F6F40000 E MOV SPEED_HO,R4 ; SOURCE LINE # 362 3BA2 D4400200 MOV R4,[R0+#02H] ; speedct 3BA6 F6F40000 E MOV SPEED_HO_CT,R4 ; SOURCE LINE # 363 3BAA F04F MOV R4,R15 3BAC F7F80000 E MOVB MOT_FLAGS,RL4 ; SOURCE LINE # 366 3BB0 F2F40000 E MOV R4,CUR_HSTEPS_HO 3BB4 F2F50200 E MOV R5,CUR_HSTEPS_HO+02H 3BB8 F065 MOV R6,R5 3BBA DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 3BBE F2F80000 E MOV R8,CFG_HSTS_HO 3BC2 F2F90200 E MOV R9,CFG_HSTS_HO+02H 3BC6 F2FA0400 E MOV R10,CFG_HSTS_HO+04H 3BCA F2FB0600 E MOV R11,CFG_HSTS_HO+06H 3BCE DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 3BD2 E008 MOV R8,#00H 3BD4 E009 MOV R9,#00H 3BD6 E00A MOV R10,#00H 3BD8 E6FB2440 MOV R11,#04024H 3BDC DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 3BE0 C4400600 MOV [R0+#06H],R4 ; v 3BE4 C4500800 MOV [R0+#08H],R5 ; v+2 3BE8 C4600A00 MOV [R0+#0AH],R6 ; v+4 3BEC C4700C00 MOV [R0+#0CH],R7 ; v+6 ; SOURCE LINE # 367 3BF0 E0E4 MOV R4,#0EH ; abs 3BF2 0040 ADD R4,R0 ; abs 3BF4 66F4FF3F AND R4,#03FFFH 3BF8 F2F504FE MOV R5,DPP2 3BFC 8850 MOV [-R0],R5 3BFE F0C4 MOV R12,R4 3C00 D4800800 MOV R8,[R0+#08H] ; v 3C04 D4900A00 MOV R9,[R0+#0AH] ; v+2 3C08 D4A00C00 MOV R10,[R0+#0CH] ; v+4 3C0C D4B00E00 MOV R11,[R0+#0EH] ; v+6 3C10 DA000000 E CALLS SEG (modf),modf 3C14 0802 ADD R0,#02H ; SOURCE LINE # 368 3C16 D4400E00 MOV R4,[R0+#0EH] ; abs 3C1A D4501000 MOV R5,[R0+#010H] ; abs+2 3C1E D4601200 MOV R6,[R0+#012H] ; abs+4 3C22 D4701400 MOV R7,[R0+#014H] ; abs+6 3C26 DA000000 E CALLS SEG (?C_CASTD),?C_CASTD C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 113 3C2A F6F40000 E MOV CUR_ARC10_HO,R4 3C2E F6F50200 E MOV CUR_ARC10_HO+02H,R5 ; SOURCE LINE # 370 3C32 E014 MOV R4,#01H 3C34 EA003C3D R JMPA cc_UC,?C0381 ; SOURCE LINE # 371 3C38 ?C0372: ; SOURCE LINE # 374 3C38 F04D MOV R4,R13 3C3A 47F85500 CMPB RL4,#055H 3C3E 2D04 JMPR cc_Z,?C0383 3C40 F04D MOV R4,R13 3C42 47F84400 CMPB RL4,#044H 3C46 3D79 JMPR cc_NZ,?C0382 3C48 ?C0383: ; SOURCE LINE # 376 3C48 F04D MOV R4,R13 3C4A E4800400 MOVB [R0+#04H],RL4 ; _key ; SOURCE LINE # 377 3C4E F2F40000 E MOV R4,SPEED_VE 3C52 B840 MOV [R0],R4 ; speed ; SOURCE LINE # 378 3C54 F2F40000 E MOV R4,SPEED_VE_CT 3C58 C4400200 MOV [R0+#02H],R4 ; speedct ; SOURCE LINE # 379 3C5C F3F80000 E MOVB RL4,MOT_FLAGS 3C60 F0F4 MOV R15,R4 ; SOURCE LINE # 380 3C62 F78E0000 E MOVB MOT_FLAGS,ZEROS ; SOURCE LINE # 382 3C66 F04E MOV R4,R14 3C68 47F83100 CMPB RL4,#031H 3C6C 3D05 JMPR cc_NZ,?C0384 ; SOURCE LINE # 383 3C6E F2F46AE0 MOV R4,0E06AH 3C72 F6F40000 E MOV SPEED_VE,R4 ; SOURCE LINE # 384 3C76 0D04 JMPR cc_UC,?C0385 3C78 ?C0384: ; SOURCE LINE # 386 3C78 F2F46EE0 MOV R4,0E06EH 3C7C F6F40000 E MOV SPEED_VE,R4 ; SOURCE LINE # 387 3C80 ?C0385: ; SOURCE LINE # 389 3C80 0F00 E BSET MOT_CORRECTION ; SOURCE LINE # 390 3C82 F68E0000 E MOV SPEED_VE_CT,ZEROS ; SOURCE LINE # 392 3C86 F04D MOV R4,R13 3C88 47F84400 CMPB RL4,#044H 3C8C 3D01 JMPR cc_NZ,?C0386 ; SOURCE LINE # 393 3C8E 0F00 E BSET MOTVE_DIR ; SOURCE LINE # 394 3C90 ?C0386: ; SOURCE LINE # 396 3C90 0F00 E BSET MOTVE_RUN ; SOURCE LINE # 398 3C92 ?C0387: 3C92 DA000000 R CALLS SEG (testkey),testkey 3C96 F4A00400 MOVB RL5,[R0+#04H] ; _key 3C9A 418A CMPB RL4,RL5 3C9C 2DFA JMPR cc_Z,?C0387 3C9E ?C0388: ; SOURCE LINE # 400 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 114 3C9E 0E00 E BCLR MOTVE_RUN ; SOURCE LINE # 402 3CA0 A840 MOV R4,[R0] ; speed 3CA2 F6F40000 E MOV SPEED_VE,R4 ; SOURCE LINE # 403 3CA6 D4400200 MOV R4,[R0+#02H] ; speedct 3CAA F6F40000 E MOV SPEED_VE_CT,R4 ; SOURCE LINE # 404 3CAE F04F MOV R4,R15 3CB0 F7F80000 E MOVB MOT_FLAGS,RL4 ; SOURCE LINE # 407 3CB4 F2F40000 E MOV R4,CUR_HSTEPS_VE 3CB8 F2F50200 E MOV R5,CUR_HSTEPS_VE+02H 3CBC F065 MOV R6,R5 3CBE DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 3CC2 F2F80000 E MOV R8,CFG_HSTS_VE 3CC6 F2F90200 E MOV R9,CFG_HSTS_VE+02H 3CCA F2FA0400 E MOV R10,CFG_HSTS_VE+04H 3CCE F2FB0600 E MOV R11,CFG_HSTS_VE+06H 3CD2 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 3CD6 E008 MOV R8,#00H 3CD8 E009 MOV R9,#00H 3CDA E00A MOV R10,#00H 3CDC E6FB2440 MOV R11,#04024H 3CE0 DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 3CE4 C4400600 MOV [R0+#06H],R4 ; v 3CE8 C4500800 MOV [R0+#08H],R5 ; v+2 3CEC C4600A00 MOV [R0+#0AH],R6 ; v+4 3CF0 C4700C00 MOV [R0+#0CH],R7 ; v+6 ; SOURCE LINE # 408 3CF4 E0E4 MOV R4,#0EH ; abs 3CF6 0040 ADD R4,R0 ; abs 3CF8 66F4FF3F AND R4,#03FFFH 3CFC F2F504FE MOV R5,DPP2 3D00 8850 MOV [-R0],R5 3D02 F0C4 MOV R12,R4 3D04 D4800800 MOV R8,[R0+#08H] ; v 3D08 D4900A00 MOV R9,[R0+#0AH] ; v+2 3D0C D4A00C00 MOV R10,[R0+#0CH] ; v+4 3D10 D4B00E00 MOV R11,[R0+#0EH] ; v+6 3D14 DA000000 E CALLS SEG (modf),modf 3D18 0802 ADD R0,#02H ; SOURCE LINE # 409 3D1A D4400E00 MOV R4,[R0+#0EH] ; abs 3D1E D4501000 MOV R5,[R0+#010H] ; abs+2 3D22 D4601200 MOV R6,[R0+#012H] ; abs+4 3D26 D4701400 MOV R7,[R0+#014H] ; abs+6 3D2A DA000000 E CALLS SEG (?C_CASTD),?C_CASTD 3D2E F6F40000 E MOV CUR_ARC10_VE,R4 3D32 F6F50200 E MOV CUR_ARC10_VE+02H,R5 ; SOURCE LINE # 412 3D36 E014 MOV R4,#01H 3D38 0D01 JMPR cc_UC,?C0381 ; SOURCE LINE # 413 3D3A ?C0382: ; SOURCE LINE # 416 3D3A E004 MOV R4,#00H ; SOURCE LINE # 417 3D3C ?C0381: 3D3C 06F01600 ADD R0,#016H 3D40 FCFF POP R15 3D42 FCFE POP R14 3D44 FCFD POP R13 3D46 DB00 RETS ; FUNCTION correction (END RMASK = @0x7FFF) C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 115 ; FUNCTION scope (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 431 3D48 ECFD PUSH R13 3D4A ECFE PUSH R14 3D4C ECFF PUSH R15 3D4E 06F0D8FF ADD R0,#0FFD8H ; SOURCE LINE # 441 3D52 F78E0000 E MOVB MOT_FLAGS,ZEROS ; SOURCE LINE # 443 3D56 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 446 3D5A DA000000 R CALLS SEG (initEncoderValues),initEncoderValues ; SOURCE LINE # 447 3D5E DA000000 R CALLS SEG (initScopeValues),initScopeValues ; SOURCE LINE # 449 3D62 E00D MOV R13,#00H ;---- Variable 'KEY' assigned to Register 'R13' ---- ; SOURCE LINE # 450 3D64 E00F MOV R15,#00H ;---- Variable 'mode' assigned to Register 'R15' ---- ; SOURCE LINE # 451 3D66 E01E MOV R14,#01H ;---- Variable 'upd' assigned to Register 'R14' ---- ; SOURCE LINE # 453 3D68 E6FA0000 R MOV R10,#POF (SC?36F) 3D6C E6FB0000 R MOV R11,#PAG (SC?36F) 3D70 F080 MOV R8,R0 3D72 66F8FF3F AND R8,#03FFFH 3D76 F2F904FE MOV R9,DPP2 3D7A DA000000 E CALLS SEG (strcpy),strcpy ; SOURCE LINE # 456 3D7E 4EEA BCLR MOTORSWITCH ; SOURCE LINE # 458 3D80 9A000200 E JNB ENCHO_USE,?C0391 ; SOURCE LINE # 459 3D84 DA000000 E CALLS SEG (startEncoderIntsHo),startEncoderIntsHo ; SOURCE LINE # 460 3D88 ?C0391: ; SOURCE LINE # 461 3D88 9A000200 E JNB ENCVE_USE,?C0396 ; SOURCE LINE # 462 3D8C DA000000 E CALLS SEG (startEncoderIntsVe),startEncoderIntsVe ; SOURCE LINE # 463 ; SOURCE LINE # 466 3D90 ?C0396: 3D90 EA003842 R JMPA cc_UC,?C0393 3D94 ?C0395: ; SOURCE LINE # 468 3D94 48E0 CMP R14,#00H 3D96 2D44 JMPR cc_Z,?C0397 ; SOURCE LINE # 470 3D98 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 472 3D9C F04F MOV R4,R15 3D9E 2841 SUB R4,#01H 3DA0 2D28 JMPR cc_Z,?C0400 3DA2 0841 ADD R4,#01H 3DA4 3D3C JMPR cc_NZ,?C0398 ; SOURCE LINE # 474 3DA6 ?C0399: ; SOURCE LINE # 475 3DA6 E7F83000 MOVB RL4,#030H 3DAA E4800A00 MOVB [R0+#0AH],RL4 ; status2+10 ; SOURCE LINE # 476 3DAE E4800700 MOVB [R0+#07H],RL4 ; status2+7 ; SOURCE LINE # 477 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 116 3DB2 E4800D00 MOVB [R0+#0DH],RL4 ; status2+13 ; SOURCE LINE # 478 3DB6 9A000400 E JNB MOT_GOTO,?C0401 ; SOURCE LINE # 479 3DBA E7F83100 MOVB RL4,#031H 3DBE E4800A00 MOVB [R0+#0AH],RL4 ; status2+10 ; SOURCE LINE # 480 3DC2 ?C0401: ; SOURCE LINE # 481 3DC2 9A000400 E JNB MOTFR_USE,?C0402 ; SOURCE LINE # 482 3DC6 E7F83100 MOVB RL4,#031H 3DCA E4800700 MOVB [R0+#07H],RL4 ; status2+7 ; SOURCE LINE # 483 3DCE ?C0402: ; SOURCE LINE # 484 3DCE 8A000200 E JB ENCHO_CORUSE,?C0404 3DD2 9A000400 E JNB ENCVE_CORUSE,?C0403 3DD6 ?C0404: ; SOURCE LINE # 485 3DD6 E7F83100 MOVB RL4,#031H 3DDA E4800D00 MOVB [R0+#0DH],RL4 ; status2+13 ; SOURCE LINE # 486 3DDE ?C0403: ; SOURCE LINE # 487 3DDE F0A0 MOV R10,R0 3DE0 66FAFF3F AND R10,#03FFFH 3DE4 F2FB04FE MOV R11,DPP2 3DE8 E009 MOV R9,#00H 3DEA E038 MOV R8,#03H 3DEC DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 488 3DF0 0D16 JMPR cc_UC,?C0398 ; SOURCE LINE # 490 3DF2 ?C0400: ; SOURCE LINE # 491 3DF2 F2F958E0 MOV R9,0E058H 3DF6 F2FA5AE0 MOV R10,0E05AH 3DFA F2FB5CE0 MOV R11,0E05CH 3DFE F2FC5EE0 MOV R12,0E05EH 3E02 E028 MOV R8,#02H 3E04 DA000000 R CALLS SEG (printDegrees),printDegrees ; SOURCE LINE # 492 3E08 F2F960E0 MOV R9,0E060H 3E0C F2FA62E0 MOV R10,0E062H 3E10 F2FB64E0 MOV R11,0E064H 3E14 F2FC66E0 MOV R12,0E066H 3E18 E038 MOV R8,#03H 3E1A DA000000 R CALLS SEG (printDegrees),printDegrees ; SOURCE LINE # 493 ; SOURCE LINE # 495 3E1E ?C0398: ; SOURCE LINE # 498 3E1E E00E MOV R14,#00H ; SOURCE LINE # 499 3E20 ?C0397: ; SOURCE LINE # 502 3E20 F2F90000 E MOV R9,CUR_ARC10_HO 3E24 F2FA0200 E MOV R10,CUR_ARC10_HO+02H 3E28 E008 MOV R8,#00H 3E2A DA000000 R CALLS SEG (printArc10Degrees),printArc10Degrees ; SOURCE LINE # 503 3E2E F2F90000 E MOV R9,CUR_ARC10_VE 3E32 F2FA0200 E MOV R10,CUR_ARC10_VE+02H 3E36 E018 MOV R8,#01H 3E38 DA000000 R CALLS SEG (printArc10Degrees),printArc10Degrees C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 117 ; SOURCE LINE # 506 3E3C DA000000 R CALLS SEG (testkey),testkey 3E40 F0D4 MOV R13,R4 ; SOURCE LINE # 508 3E42 4980 CMPB RL4,#00H 3E44 3D1D JMPR cc_NZ,?C0405 ; SOURCE LINE # 511 3E46 8A000200 E JB MOT_GOTO,$+8 3E4A EA003842 R JMPA cc_UC,?C0393 ; SOURCE LINE # 512 3E4E DA000000 R CALLS SEG (calcTarget),calcTarget 3E52 4840 CMP R4,#00H 3E54 2D09 JMPR cc_Z,?C0407 ; SOURCE LINE # 513 3E56 F4800100 MOVB RL4,[R0+#01H] ; status2+1 3E5A 47F83000 CMPB RL4,#030H 3E5E 3D04 JMPR cc_NZ,?C0407 ; SOURCE LINE # 515 3E60 0E00 E BCLR MOT_GOTO ; SOURCE LINE # 516 3E62 0E00 E BCLR MOTHO_RUN ; SOURCE LINE # 517 3E64 0E00 E BCLR MOTVE_RUN ; SOURCE LINE # 518 3E66 E01E MOV R14,#01H ; SOURCE LINE # 520 3E68 ?C0407: ; SOURCE LINE # 522 3E68 D4402400 MOV R4,[R0+#024H] ; test 3E6C D4502600 MOV R5,[R0+#026H] ; test+2 3E70 0841 ADD R4,#01H 3E72 1850 ADDC R5,#00H 3E74 C4402400 MOV [R0+#024H],R4 ; test 3E78 C4502600 MOV [R0+#026H],R5 ; test+2 ; SOURCE LINE # 523 ; SOURCE LINE # 525 3E7C EA003842 R JMPA cc_UC,?C0393 ; SOURCE LINE # 526 3E80 ?C0405: ; SOURCE LINE # 530 3E80 F4800400 MOVB RL4,[R0+#04H] ; status2+4 3E84 D089 MOVBS R9,RL4 3E86 F04D MOV R4,R13 3E88 C088 MOVBZ R8,RL4 3E8A DA000000 R CALLS SEG (correction),correction 3E8E 4840 CMP R4,#00H 3E90 2D03 JMPR cc_Z,?C0409 ; SOURCE LINE # 531 3E92 E01E MOV R14,#01H ; SOURCE LINE # 532 3E94 EA003842 R JMPA cc_UC,?C0393 ; SOURCE LINE # 533 3E98 ?C0409: ; SOURCE LINE # 536 3E98 DA000000 R CALLS SEG (readkey),readkey 3E9C F0D4 MOV R13,R4 ; SOURCE LINE # 537 3E9E 4980 CMPB RL4,#00H 3EA0 EA203842 R JMPA cc_Z,?C0393 ; SOURCE LINE # 538 ; SOURCE LINE # 539 3EA4 ?C0410: ; SOURCE LINE # 545 3EA4 F04D MOV R4,R13 3EA6 47F83700 CMPB RL4,#037H 3EAA 3D08 JMPR cc_NZ,?C0411 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 118 ; SOURCE LINE # 547 3EAC 8A000200 E JB MOTFR_USE,?C0412 ; SOURCE LINE # 548 3EB0 0F00 E BSET MOTFR_USE ; SOURCE LINE # 549 3EB2 0D01 JMPR cc_UC,?C0413 3EB4 ?C0412: ; SOURCE LINE # 551 3EB4 0E00 E BCLR MOTFR_USE ; SOURCE LINE # 552 3EB6 ?C0413: ; SOURCE LINE # 553 3EB6 E01E MOV R14,#01H ; SOURCE LINE # 554 3EB8 EA003842 R JMPA cc_UC,?C0393 ; SOURCE LINE # 555 3EBC ?C0411: ; SOURCE LINE # 558 3EBC F04D MOV R4,R13 3EBE 47F83600 CMPB RL4,#036H 3EC2 3D11 JMPR cc_NZ,?C0414 ; SOURCE LINE # 560 3EC4 F4800100 MOVB RL4,[R0+#01H] ; status2+1 3EC8 47F83000 CMPB RL4,#030H 3ECC 3D05 JMPR cc_NZ,?C0415 ; SOURCE LINE # 561 3ECE E7F83100 MOVB RL4,#031H 3ED2 E4800100 MOVB [R0+#01H],RL4 ; status2+1 ; SOURCE LINE # 562 3ED6 0D04 JMPR cc_UC,?C0416 3ED8 ?C0415: ; SOURCE LINE # 564 3ED8 E7F83000 MOVB RL4,#030H 3EDC E4800100 MOVB [R0+#01H],RL4 ; status2+1 ; SOURCE LINE # 565 3EE0 ?C0416: ; SOURCE LINE # 566 3EE0 E01E MOV R14,#01H ; SOURCE LINE # 567 3EE2 EA003842 R JMPA cc_UC,?C0393 ; SOURCE LINE # 568 3EE6 ?C0414: ; SOURCE LINE # 570 3EE6 F04D MOV R4,R13 3EE8 47F83800 CMPB RL4,#038H 3EEC 3D11 JMPR cc_NZ,?C0417 ; SOURCE LINE # 573 3EEE 9A000500 E JNB ENCHO_USE,?C0418 ; SOURCE LINE # 574 3EF2 9A000200 E JNB ENCHO_CORUSE,?C0419 ; SOURCE LINE # 575 3EF6 0E00 E BCLR ENCHO_CORUSE ; SOURCE LINE # 576 3EF8 0D01 JMPR cc_UC,?C0418 3EFA ?C0419: ; SOURCE LINE # 578 3EFA 0F00 E BSET ENCHO_CORUSE ; SOURCE LINE # 579 ; SOURCE LINE # 580 3EFC ?C0418: ; SOURCE LINE # 581 3EFC 9A000500 E JNB ENCVE_USE,?C0421 ; SOURCE LINE # 582 3F00 9A000200 E JNB ENCVE_CORUSE,?C0422 ; SOURCE LINE # 583 3F04 0E00 E BCLR ENCVE_CORUSE C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 119 ; SOURCE LINE # 584 3F06 0D01 JMPR cc_UC,?C0421 3F08 ?C0422: ; SOURCE LINE # 586 3F08 0F00 E BSET ENCVE_CORUSE ; SOURCE LINE # 587 ; SOURCE LINE # 588 3F0A ?C0421: ; SOURCE LINE # 589 3F0A E01E MOV R14,#01H ; SOURCE LINE # 590 3F0C EA003842 R JMPA cc_UC,?C0393 ; SOURCE LINE # 591 3F10 ?C0417: ; SOURCE LINE # 594 3F10 F04D MOV R4,R13 3F12 47F83900 CMPB RL4,#039H 3F16 3D11 JMPR cc_NZ,?C0424 ; SOURCE LINE # 596 3F18 F4800400 MOVB RL4,[R0+#04H] ; status2+4 3F1C 47F83100 CMPB RL4,#031H 3F20 3D05 JMPR cc_NZ,?C0425 ; SOURCE LINE # 597 3F22 E7F83200 MOVB RL4,#032H 3F26 E4800400 MOVB [R0+#04H],RL4 ; status2+4 ; SOURCE LINE # 598 3F2A 0D04 JMPR cc_UC,?C0426 3F2C ?C0425: ; SOURCE LINE # 600 3F2C E7F83100 MOVB RL4,#031H 3F30 E4800400 MOVB [R0+#04H],RL4 ; status2+4 ; SOURCE LINE # 601 3F34 ?C0426: ; SOURCE LINE # 602 3F34 E01E MOV R14,#01H ; SOURCE LINE # 603 3F36 EA003842 R JMPA cc_UC,?C0393 ; SOURCE LINE # 604 3F3A ?C0424: ; SOURCE LINE # 607 3F3A F04D MOV R4,R13 3F3C 47F83500 CMPB RL4,#035H 3F40 3D06 JMPR cc_NZ,?C0427 ; SOURCE LINE # 610 ; SOURCE LINE # 611 3F42 800F CMPI1 R15,#00H 3F44 BD01 JMPR cc_SLE,?C0428 ; SOURCE LINE # 612 3F46 E00F MOV R15,#00H ; SOURCE LINE # 613 3F48 ?C0428: ; SOURCE LINE # 614 3F48 E01E MOV R14,#01H ; SOURCE LINE # 615 3F4A EA003842 R JMPA cc_UC,?C0393 ; SOURCE LINE # 616 3F4E ?C0427: ; SOURCE LINE # 623 3F4E 0E00 E BCLR MOT_GOTO ; SOURCE LINE # 624 3F50 0E00 E BCLR MOT_CORRECTION ; SOURCE LINE # 625 3F52 0E00 E BCLR MOTHO_RUN ; SOURCE LINE # 626 3F54 0E00 E BCLR MOTVE_RUN ; SOURCE LINE # 627 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 120 3F56 0E00 E BCLR ENCHO_COR ; SOURCE LINE # 628 3F58 0E00 E BCLR ENCVE_COR ; SOURCE LINE # 630 3F5A E01E MOV R14,#01H ; SOURCE LINE # 633 3F5C F04D MOV R4,R13 3F5E 47F83400 CMPB RL4,#034H 3F62 3D4E JMPR cc_NZ,?C0429 ; SOURCE LINE # 639 3F64 F2F470E0 MOV R4,0E070H 3F68 F6F40000 E MOV SPEED_HO,R4 ; SOURCE LINE # 640 3F6C F2F472E0 MOV R4,0E072H 3F70 F6F40000 E MOV SPEED_VE,R4 ; SOURCE LINE # 641 3F74 F2F474E0 MOV R4,0E074H 3F78 F6F40000 E MOV SPEED_FR,R4 ; SOURCE LINE # 643 3F7C F68E0000 E MOV SPEED_HO_CT,ZEROS ; SOURCE LINE # 644 3F80 F68E0000 E MOV SPEED_VE_CT,ZEROS ; SOURCE LINE # 645 3F84 F68E0000 E MOV SPEED_FR_CT,ZEROS ; SOURCE LINE # 647 3F88 F2F458E0 MOV R4,0E058H 3F8C F2F55AE0 MOV R5,0E05AH 3F90 F2F65CE0 MOV R6,0E05CH 3F94 F2F75EE0 MOV R7,0E05EH 3F98 F6F420E0 MOV 0E020H,R4 3F9C F6F522E0 MOV 0E022H,R5 3FA0 F6F624E0 MOV 0E024H,R6 3FA4 F6F726E0 MOV 0E026H,R7 ; SOURCE LINE # 648 3FA8 F2F460E0 MOV R4,0E060H 3FAC F2F562E0 MOV R5,0E062H 3FB0 F2F664E0 MOV R6,0E064H 3FB4 F2F766E0 MOV R7,0E066H 3FB8 F6F428E0 MOV 0E028H,R4 3FBC F6F52AE0 MOV 0E02AH,R5 3FC0 F6F62CE0 MOV 0E02CH,R6 3FC4 F6F72EE0 MOV 0E02EH,R7 ; SOURCE LINE # 650 3FC8 F4800100 MOVB RL4,[R0+#01H] ; status2+1 3FCC 47F83100 CMPB RL4,#031H 3FD0 3D0A JMPR cc_NZ,?C0430 ; SOURCE LINE # 651 3FD2 E004 MOV R4,#00H 3FD4 C4402400 MOV [R0+#024H],R4 ; test 3FD8 C4402600 MOV [R0+#026H],R4 ; test+2 ; SOURCE LINE # 652 3FDC DA000000 R CALLS SEG (calcTarget),calcTarget ; SOURCE LINE # 653 3FE0 0F00 E BSET MOT_GOTO ; SOURCE LINE # 654 3FE2 EA003842 R JMPA cc_UC,?C0393 3FE6 ?C0430: ; SOURCE LINE # 656 3FE6 DA000000 R CALLS SEG (calcTarget),calcTarget 3FEA 4840 CMP R4,#00H 3FEC EA303842 R JMPA cc_NZ,?C0393 ; SOURCE LINE # 657 3FF0 E004 MOV R4,#00H 3FF2 C4402400 MOV [R0+#024H],R4 ; test 3FF6 C4402600 MOV [R0+#026H],R4 ; test+2 ; SOURCE LINE # 658 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 121 3FFA 0F00 E BSET MOT_GOTO ; SOURCE LINE # 659 ; SOURCE LINE # 662 3FFC EA003842 R JMPA cc_UC,?C0393 ; SOURCE LINE # 663 4000 ?C0429: ; SOURCE LINE # 667 4000 F04D MOV R4,R13 4002 47F84500 CMPB RL4,#045H 4006 3D66 JMPR cc_NZ,?C0433 ; SOURCE LINE # 671 4008 F2F470E0 MOV R4,0E070H 400C F6F40000 E MOV SPEED_HO,R4 ; SOURCE LINE # 672 4010 F2F472E0 MOV R4,0E072H 4014 F6F40000 E MOV SPEED_VE,R4 ; SOURCE LINE # 673 4018 F2F474E0 MOV R4,0E074H 401C F6F40000 E MOV SPEED_FR,R4 ; SOURCE LINE # 675 4020 F68E0000 E MOV SPEED_HO_CT,ZEROS ; SOURCE LINE # 676 4024 F68E0000 E MOV SPEED_VE_CT,ZEROS ; SOURCE LINE # 677 4028 F68E0000 E MOV SPEED_FR_CT,ZEROS ; SOURCE LINE # 683 402C F2F40000 E MOV R4,CUR_HSTEPS_HO 4030 F2F50200 E MOV R5,CUR_HSTEPS_HO+02H 4034 F065 MOV R6,R5 4036 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 403A F2F80000 E MOV R8,CFG_HSTS_HO 403E F2F90200 E MOV R9,CFG_HSTS_HO+02H 4042 F2FA0400 E MOV R10,CFG_HSTS_HO+04H 4046 F2FB0600 E MOV R11,CFG_HSTS_HO+06H 404A DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 404E E008 MOV R8,#00H 4050 E009 MOV R9,#00H 4052 E6FA0020 MOV R10,#02000H 4056 E6FBAC40 MOV R11,#040ACH 405A DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 405E F6F430E0 MOV 0E030H,R4 4062 F6F532E0 MOV 0E032H,R5 4066 F6F634E0 MOV 0E034H,R6 406A F6F736E0 MOV 0E036H,R7 ; SOURCE LINE # 684 406E F2F40000 E MOV R4,CUR_HSTEPS_VE 4072 F2F50200 E MOV R5,CUR_HSTEPS_VE+02H 4076 F065 MOV R6,R5 4078 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 407C F2F80000 E MOV R8,CFG_HSTS_VE 4080 F2F90200 E MOV R9,CFG_HSTS_VE+02H 4084 F2FA0400 E MOV R10,CFG_HSTS_VE+04H 4088 F2FB0600 E MOV R11,CFG_HSTS_VE+06H 408C DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 4090 E008 MOV R8,#00H 4092 E009 MOV R9,#00H 4094 E6FA0020 MOV R10,#02000H 4098 E6FBAC40 MOV R11,#040ACH 409C DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 40A0 F6F438E0 MOV 0E038H,R4 40A4 F6F53AE0 MOV 0E03AH,R5 40A8 F6F63CE0 MOV 0E03CH,R6 40AC F6F73EE0 MOV 0E03EH,R7 ; SOURCE LINE # 686 40B0 DA000000 R CALLS SEG (cCurrentStarTime),cCurrentStarTime ; SOURCE LINE # 687 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 122 40B4 DA000000 R CALLS SEG (cRaDec),cRaDec ; SOURCE LINE # 689 40B8 E7F83100 MOVB RL4,#031H 40BC E4800100 MOVB [R0+#01H],RL4 ; status2+1 ; SOURCE LINE # 690 40C0 E004 MOV R4,#00H 40C2 C4402400 MOV [R0+#024H],R4 ; test 40C6 C4402600 MOV [R0+#026H],R4 ; test+2 ; SOURCE LINE # 691 40CA DA000000 R CALLS SEG (calcTarget),calcTarget ; SOURCE LINE # 692 40CE 0F00 E BSET MOT_GOTO ; SOURCE LINE # 694 40D0 EA003842 R JMPA cc_UC,?C0393 ; SOURCE LINE # 695 40D4 ?C0433: ; SOURCE LINE # 699 40D4 F04D MOV R4,R13 40D6 47F83100 CMPB RL4,#031H 40DA EA301E42 R JMPA cc_NZ,?C0434 ; SOURCE LINE # 701 40DE F2F420E0 MOV R4,0E020H 40E2 F2F522E0 MOV R5,0E022H 40E6 F2F624E0 MOV R6,0E024H 40EA F2F726E0 MOV R7,0E026H 40EE C4401400 MOV [R0+#014H],R4 ; ho 40F2 C4501600 MOV [R0+#016H],R5 ; ho+2 40F6 C4601800 MOV [R0+#018H],R6 ; ho+4 40FA C4701A00 MOV [R0+#01AH],R7 ; ho+6 ; SOURCE LINE # 702 40FE F2F428E0 MOV R4,0E028H 4102 F2F52AE0 MOV R5,0E02AH 4106 F2F62CE0 MOV R6,0E02CH 410A F2F72EE0 MOV R7,0E02EH 410E C4401C00 MOV [R0+#01CH],R4 ; ve 4112 C4501E00 MOV [R0+#01EH],R5 ; ve+2 4116 C4602000 MOV [R0+#020H],R6 ; ve+4 411A C4702200 MOV [R0+#022H],R7 ; ve+6 ; SOURCE LINE # 703 411E F2F40000 E MOV R4,CUR_HSTEPS_HO 4122 F2F50200 E MOV R5,CUR_HSTEPS_HO+02H 4126 F065 MOV R6,R5 4128 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 412C F2F80000 E MOV R8,CFG_HSTS_HO 4130 F2F90200 E MOV R9,CFG_HSTS_HO+02H 4134 F2FA0400 E MOV R10,CFG_HSTS_HO+04H 4138 F2FB0600 E MOV R11,CFG_HSTS_HO+06H 413C DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 4140 E008 MOV R8,#00H 4142 E009 MOV R9,#00H 4144 E6FA0020 MOV R10,#02000H 4148 E6FBAC40 MOV R11,#040ACH 414C DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 4150 F6F430E0 MOV 0E030H,R4 4154 F6F532E0 MOV 0E032H,R5 4158 F6F634E0 MOV 0E034H,R6 415C F6F736E0 MOV 0E036H,R7 ; SOURCE LINE # 704 4160 F2F40000 E MOV R4,CUR_HSTEPS_VE 4164 F2F50200 E MOV R5,CUR_HSTEPS_VE+02H 4168 F065 MOV R6,R5 416A DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 416E F2F80000 E MOV R8,CFG_HSTS_VE 4172 F2F90200 E MOV R9,CFG_HSTS_VE+02H 4176 F2FA0400 E MOV R10,CFG_HSTS_VE+04H 417A F2FB0600 E MOV R11,CFG_HSTS_VE+06H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 123 417E DA000000 E CALLS SEG (?C_DPMUL),?C_DPMUL 4182 E008 MOV R8,#00H 4184 E009 MOV R9,#00H 4186 E6FA0020 MOV R10,#02000H 418A E6FBAC40 MOV R11,#040ACH 418E DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 4192 F6F438E0 MOV 0E038H,R4 4196 F6F53AE0 MOV 0E03AH,R5 419A F6F63CE0 MOV 0E03CH,R6 419E F6F73EE0 MOV 0E03EH,R7 ; SOURCE LINE # 705 41A2 DA000000 R CALLS SEG (cCurrentStarTime),cCurrentStarTime ; SOURCE LINE # 706 41A6 DA000000 R CALLS SEG (cRaDec),cRaDec ; SOURCE LINE # 707 41AA F2F428E0 MOV R4,0E028H 41AE F2F52AE0 MOV R5,0E02AH 41B2 F2F62CE0 MOV R6,0E02CH 41B6 F2F72EE0 MOV R7,0E02EH 41BA 8870 MOV [-R0],R7 41BC 8860 MOV [-R0],R6 41BE 8850 MOV [-R0],R5 41C0 8840 MOV [-R0],R4 41C2 F2F920E0 MOV R9,0E020H 41C6 F2FA22E0 MOV R10,0E022H 41CA F2FB24E0 MOV R11,0E024H 41CE F2FC26E0 MOV R12,0E026H 41D2 E008 MOV R8,#00H 41D4 DA000000 R CALLS SEG (usrGetKoor),usrGetKoor 41D8 06F00800 ADD R0,#08H ; SOURCE LINE # 708 41DC D4401400 MOV R4,[R0+#014H] ; ho 41E0 D4501600 MOV R5,[R0+#016H] ; ho+2 41E4 D4601800 MOV R6,[R0+#018H] ; ho+4 41E8 D4701A00 MOV R7,[R0+#01AH] ; ho+6 41EC F6F420E0 MOV 0E020H,R4 41F0 F6F522E0 MOV 0E022H,R5 41F4 F6F624E0 MOV 0E024H,R6 41F8 F6F726E0 MOV 0E026H,R7 ; SOURCE LINE # 709 41FC D4401C00 MOV R4,[R0+#01CH] ; ve 4200 D4501E00 MOV R5,[R0+#01EH] ; ve+2 4204 D4602000 MOV R6,[R0+#020H] ; ve+4 4208 D4702200 MOV R7,[R0+#022H] ; ve+6 420C F6F428E0 MOV 0E028H,R4 4210 F6F52AE0 MOV 0E02AH,R5 4214 F6F62CE0 MOV 0E02CH,R6 4218 F6F72EE0 MOV 0E02EH,R7 ; SOURCE LINE # 710 421C 0D0D JMPR cc_UC,?C0393 ; SOURCE LINE # 711 421E ?C0434: ; SOURCE LINE # 714 421E F04D MOV R4,R13 4220 47F83200 CMPB RL4,#032H 4224 3D03 JMPR cc_NZ,?C0435 ; SOURCE LINE # 718 4226 DA000000 E CALLS SEG (getListObj),getListObj ; SOURCE LINE # 719 422A 0D06 JMPR cc_UC,?C0393 ; SOURCE LINE # 720 422C ?C0435: ; SOURCE LINE # 723 422C F04D MOV R4,R13 422E 47F83300 CMPB RL4,#033H 4232 3D02 JMPR cc_NZ,?C0393 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 124 ; SOURCE LINE # 725 4234 DA000000 R CALLS SEG (origin),origin ; SOURCE LINE # 726 ; SOURCE LINE # 727 4238 ?C0393: 4238 F04D MOV R4,R13 423A 47F84300 CMPB RL4,#043H 423E EA30943D R JMPA cc_NZ,?C0395 4242 ?C0394: ; SOURCE LINE # 736 4242 F78E0000 E MOVB MOT_FLAGS,ZEROS ; SOURCE LINE # 737 4246 4FEA BSET MOTORSWITCH ; SOURCE LINE # 739 4248 DA000000 E CALLS SEG (stopEncoderInts),stopEncoderInts ; SOURCE LINE # 742 424C D4402400 MOV R4,[R0+#024H] ; test 4250 D4502600 MOV R5,[R0+#026H] ; test+2 4254 8850 MOV [-R0],R5 4256 F0C4 MOV R12,R4 4258 E6FA0000 R MOV R10,#POF (SC?2D2) 425C E6FB0000 R MOV R11,#PAG (SC?2D2) 4260 E028 MOV R8,#02H ; status2 4262 0080 ADD R8,R0 ; status2 4264 66F8FF3F AND R8,#03FFFH 4268 F2F904FE MOV R9,DPP2 426C DA000000 E CALLS SEG (sprintf),sprintf 4270 0802 ADD R0,#02H ; SOURCE LINE # 743 4272 F0A0 MOV R10,R0 4274 66FAFF3F AND R10,#03FFFH 4278 F2FB04FE MOV R11,DPP2 427C E009 MOV R9,#00H 427E E038 MOV R8,#03H 4280 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 744 4284 ?C0437: 4284 DA000000 R CALLS SEG (readkey),readkey 4288 4980 CMPB RL4,#00H 428A 2DFC JMPR cc_Z,?C0437 428C ?C0438: ; SOURCE LINE # 746 428C 06F02800 ADD R0,#028H 4290 FCFF POP R15 4292 FCFE POP R14 4294 FCFD POP R13 4296 DB00 RETS ; FUNCTION scope (END RMASK = @0x7FFF) ; FUNCTION encode (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 755 4298 ECFD PUSH R13 429A ECFE PUSH R14 429C ECFF PUSH R15 429E 06F0D8FF ADD R0,#0FFD8H ; SOURCE LINE # 761 42A2 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 763 42A6 0E00 E BCLR ENCHO_CORUSE ; SOURCE LINE # 764 42A8 0E00 E BCLR ENCVE_CORUSE ; SOURCE LINE # 767 42AA DA000000 R CALLS SEG (initEncoderValues),initEncoderValues ; SOURCE LINE # 769 42AE 9A000200 E JNB ENCHO_USE,?C0441 ; SOURCE LINE # 770 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 125 42B2 DA000000 E CALLS SEG (startEncoderIntsHo),startEncoderIntsHo ; SOURCE LINE # 771 42B6 ?C0441: ; SOURCE LINE # 772 42B6 9A000200 E JNB ENCVE_USE,?C0442 ; SOURCE LINE # 773 42BA DA000000 E CALLS SEG (startEncoderIntsVe),startEncoderIntsVe ; SOURCE LINE # 774 42BE ?C0442: ; SOURCE LINE # 776 42BE E00D MOV R13,#00H ;---- Variable 'KEY' assigned to Register 'R13' ---- ; SOURCE LINE # 777 42C0 E00E MOV R14,#00H ;---- Variable 'mode' assigned to Register 'R14' ---- ; SOURCE LINE # 778 42C2 E01F MOV R15,#01H ;---- Variable 'upd' assigned to Register 'R15' ---- ; SOURCE LINE # 780 42C4 EA008C45 R JMPA cc_UC,?C0443 42C8 ?C0445: ; SOURCE LINE # 782 42C8 F04E MOV R4,R14 42CA 2841 SUB R4,#01H 42CC 2D11 JMPR cc_Z,?C0449 42CE 0841 ADD R4,#01H 42D0 3D45 JMPR cc_NZ,?C0447 ; SOURCE LINE # 784 42D2 ?C0448: ; SOURCE LINE # 785 42D2 F2F90000 E MOV R9,ENC_ARC10_HO 42D6 F2FA0200 E MOV R10,ENC_ARC10_HO+02H 42DA E008 MOV R8,#00H 42DC DA000000 R CALLS SEG (printArc10Degrees),printArc10Degrees ; SOURCE LINE # 786 42E0 F2F90000 E MOV R9,ENC_ARC10_VE 42E4 F2FA0200 E MOV R10,ENC_ARC10_VE+02H 42E8 E018 MOV R8,#01H 42EA DA000000 R CALLS SEG (printArc10Degrees),printArc10Degrees ; SOURCE LINE # 787 42EE 0D36 JMPR cc_UC,?C0447 ; SOURCE LINE # 789 42F0 ?C0449: ; SOURCE LINE # 790 42F0 F2F80000 E MOV R8,ENC_ARC10_HO 42F4 F2F90200 E MOV R9,ENC_ARC10_HO+02H 42F8 DA000000 R CALLS SEG (lArc10dDegrees),lArc10dDegrees 42FC F6F430E0 MOV 0E030H,R4 4300 F6F532E0 MOV 0E032H,R5 4304 F6F634E0 MOV 0E034H,R6 4308 F6F736E0 MOV 0E036H,R7 ; SOURCE LINE # 791 430C F2F80000 E MOV R8,ENC_ARC10_VE 4310 F2F90200 E MOV R9,ENC_ARC10_VE+02H 4314 DA000000 R CALLS SEG (lArc10dDegrees),lArc10dDegrees 4318 F6F438E0 MOV 0E038H,R4 431C F6F53AE0 MOV 0E03AH,R5 4320 F6F63CE0 MOV 0E03CH,R6 4324 F6F73EE0 MOV 0E03EH,R7 ; SOURCE LINE # 792 4328 DA000000 R CALLS SEG (cCurrentStarTime),cCurrentStarTime ; SOURCE LINE # 793 432C DA000000 R CALLS SEG (cRaDec),cRaDec ; SOURCE LINE # 794 4330 F2F920E0 MOV R9,0E020H 4334 F2FA22E0 MOV R10,0E022H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 126 4338 F2FB24E0 MOV R11,0E024H 433C F2FC26E0 MOV R12,0E026H 4340 E008 MOV R8,#00H 4342 DA000000 R CALLS SEG (printDegrees),printDegrees ; SOURCE LINE # 795 4346 F2F928E0 MOV R9,0E028H 434A F2FA2AE0 MOV R10,0E02AH 434E F2FB2CE0 MOV R11,0E02CH 4352 F2FC2EE0 MOV R12,0E02EH 4356 E018 MOV R8,#01H 4358 DA000000 R CALLS SEG (printDegrees),printDegrees ; SOURCE LINE # 796 ; SOURCE LINE # 797 435C ?C0447: ; SOURCE LINE # 799 435C 48F0 CMP R15,#00H 435E EA201A45 R JMPA cc_Z,?C0450 ; SOURCE LINE # 801 4362 F04E MOV R4,R14 4364 2841 SUB R4,#01H 4366 2D6A JMPR cc_Z,?C0453 4368 0841 ADD R4,#01H 436A EA301845 R JMPA cc_NZ,?C0451 ; SOURCE LINE # 803 436E ?C0452: ; SOURCE LINE # 804 436E E6FA0000 R MOV R10,#POF (SC?2CC) 4372 E6FB0000 R MOV R11,#PAG (SC?2CC) 4376 F080 MOV R8,R0 4378 66F8FF3F AND R8,#03FFFH 437C F2F904FE MOV R9,DPP2 4380 DA000000 E CALLS SEG (strcpy),strcpy ; SOURCE LINE # 805 4384 E6FA0000 R MOV R10,#POF (SC?2C6) 4388 E6FB0000 R MOV R11,#PAG (SC?2C6) 438C E6F81400 MOV R8,#014H ; tmp2 4390 0080 ADD R8,R0 ; tmp2 4392 66F8FF3F AND R8,#03FFFH 4396 F2F904FE MOV R9,DPP2 439A DA000000 E CALLS SEG (strcpy),strcpy ; SOURCE LINE # 806 439E F0A0 MOV R10,R0 43A0 66FAFF3F AND R10,#03FFFH 43A4 F2FB04FE MOV R11,DPP2 43A8 E0B9 MOV R9,#0BH 43AA E008 MOV R8,#00H 43AC DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 807 43B0 E6FA1400 MOV R10,#014H ; tmp2 43B4 00A0 ADD R10,R0 ; tmp2 43B6 66FAFF3F AND R10,#03FFFH 43BA F2FB04FE MOV R11,DPP2 43BE E0B9 MOV R9,#0BH 43C0 E018 MOV R8,#01H 43C2 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 809 43C6 F2F940E0 MOV R9,0E040H 43CA F2FA42E0 MOV R10,0E042H 43CE E028 MOV R8,#02H 43D0 DA000000 R CALLS SEG (printArc10Degrees),printArc10Degrees ; SOURCE LINE # 810 43D4 F2F944E0 MOV R9,0E044H 43D8 F2FA46E0 MOV R10,0E046H 43DC E038 MOV R8,#03H 43DE DA000000 R CALLS SEG (printArc10Degrees),printArc10Degrees ; SOURCE LINE # 811 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 127 43E2 E6FA0000 R MOV R10,#POF (SC?2C0) 43E6 E6FB0000 R MOV R11,#PAG (SC?2C0) 43EA F080 MOV R8,R0 43EC 66F8FF3F AND R8,#03FFFH 43F0 F2F904FE MOV R9,DPP2 43F4 DA000000 E CALLS SEG (strcpy),strcpy ; SOURCE LINE # 812 43F8 E6FA0000 R MOV R10,#POF (SC?2BA) 43FC E6FB0000 R MOV R11,#PAG (SC?2BA) 4400 E6F81400 MOV R8,#014H ; tmp2 4404 0080 ADD R8,R0 ; tmp2 4406 66F8FF3F AND R8,#03FFFH 440A F2F904FE MOV R9,DPP2 440E DA000000 E CALLS SEG (strcpy),strcpy ; SOURCE LINE # 813 4412 F0A0 MOV R10,R0 4414 66FAFF3F AND R10,#03FFFH 4418 F2FB04FE MOV R11,DPP2 441C E0B9 MOV R9,#0BH 441E E028 MOV R8,#02H 4420 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 814 4424 E6FA1400 MOV R10,#014H ; tmp2 4428 00A0 ADD R10,R0 ; tmp2 442A 66FAFF3F AND R10,#03FFFH 442E F2FB04FE MOV R11,DPP2 4432 E0B9 MOV R9,#0BH 4434 E038 MOV R8,#03H 4436 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 815 443A 0D6E JMPR cc_UC,?C0451 ; SOURCE LINE # 817 443C ?C0453: ; SOURCE LINE # 818 443C E6FA0000 R MOV R10,#POF (SC?2B4) 4440 E6FB0000 R MOV R11,#PAG (SC?2B4) 4444 F080 MOV R8,R0 4446 66F8FF3F AND R8,#03FFFH 444A F2F904FE MOV R9,DPP2 444E DA000000 E CALLS SEG (strcpy),strcpy ; SOURCE LINE # 819 4452 E6FA0000 R MOV R10,#POF (SC?2AE) 4456 E6FB0000 R MOV R11,#PAG (SC?2AE) 445A E6F81400 MOV R8,#014H ; tmp2 445E 0080 ADD R8,R0 ; tmp2 4460 66F8FF3F AND R8,#03FFFH 4464 F2F904FE MOV R9,DPP2 4468 DA000000 E CALLS SEG (strcpy),strcpy ; SOURCE LINE # 820 446C F0A0 MOV R10,R0 446E 66FAFF3F AND R10,#03FFFH 4472 F2FB04FE MOV R11,DPP2 4476 E0B9 MOV R9,#0BH 4478 E008 MOV R8,#00H 447A DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 821 447E E6FA1400 MOV R10,#014H ; tmp2 4482 00A0 ADD R10,R0 ; tmp2 4484 66FAFF3F AND R10,#03FFFH 4488 F2FB04FE MOV R11,DPP2 448C E0B9 MOV R9,#0BH 448E E018 MOV R8,#01H 4490 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 823 4494 F2F958E0 MOV R9,0E058H 4498 F2FA5AE0 MOV R10,0E05AH C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 128 449C F2FB5CE0 MOV R11,0E05CH 44A0 F2FC5EE0 MOV R12,0E05EH 44A4 E028 MOV R8,#02H 44A6 DA000000 R CALLS SEG (printDegrees),printDegrees ; SOURCE LINE # 824 44AA F2F960E0 MOV R9,0E060H 44AE F2FA62E0 MOV R10,0E062H 44B2 F2FB64E0 MOV R11,0E064H 44B6 F2FC66E0 MOV R12,0E066H 44BA E038 MOV R8,#03H 44BC DA000000 R CALLS SEG (printDegrees),printDegrees ; SOURCE LINE # 825 44C0 E6FA0000 R MOV R10,#POF (SC?2A8) 44C4 E6FB0000 R MOV R11,#PAG (SC?2A8) 44C8 F080 MOV R8,R0 44CA 66F8FF3F AND R8,#03FFFH 44CE F2F904FE MOV R9,DPP2 44D2 DA000000 E CALLS SEG (strcpy),strcpy ; SOURCE LINE # 826 44D6 E6FA0000 R MOV R10,#POF (SC?2A2) 44DA E6FB0000 R MOV R11,#PAG (SC?2A2) 44DE E6F81400 MOV R8,#014H ; tmp2 44E2 0080 ADD R8,R0 ; tmp2 44E4 66F8FF3F AND R8,#03FFFH 44E8 F2F904FE MOV R9,DPP2 44EC DA000000 E CALLS SEG (strcpy),strcpy ; SOURCE LINE # 827 44F0 F0A0 MOV R10,R0 44F2 66FAFF3F AND R10,#03FFFH 44F6 F2FB04FE MOV R11,DPP2 44FA E0B9 MOV R9,#0BH 44FC E028 MOV R8,#02H 44FE DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 828 4502 E6FA1400 MOV R10,#014H ; tmp2 4506 00A0 ADD R10,R0 ; tmp2 4508 66FAFF3F AND R10,#03FFFH 450C F2FB04FE MOV R11,DPP2 4510 E0B9 MOV R9,#0BH 4512 E038 MOV R8,#03H 4514 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 829 ; SOURCE LINE # 832 4518 ?C0451: ; SOURCE LINE # 834 4518 E00F MOV R15,#00H ; SOURCE LINE # 835 451A ?C0450: ; SOURCE LINE # 837 451A E00D MOV R13,#00H ; SOURCE LINE # 838 451C DA000000 R CALLS SEG (readkey),readkey 4520 F0D4 MOV R13,R4 ; SOURCE LINE # 840 4522 4980 CMPB RL4,#00H 4524 2D33 JMPR cc_Z,?C0443 ; SOURCE LINE # 842 4526 F04D MOV R4,R13 4528 47F83500 CMPB RL4,#035H 452C 3D07 JMPR cc_NZ,?C0455 ; SOURCE LINE # 844 452E 48E0 CMP R14,#00H 4530 3D02 JMPR cc_NZ,?C0456 ; SOURCE LINE # 845 4532 E01E MOV R14,#01H ; SOURCE LINE # 846 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 129 4534 0D01 JMPR cc_UC,?C0457 4536 ?C0456: ; SOURCE LINE # 848 4536 E00E MOV R14,#00H ; SOURCE LINE # 849 4538 ?C0457: ; SOURCE LINE # 851 4538 E01F MOV R15,#01H ; SOURCE LINE # 852 453A 0D28 JMPR cc_UC,?C0443 ; SOURCE LINE # 853 453C ?C0455: ; SOURCE LINE # 856 453C F04D MOV R4,R13 453E 47F83100 CMPB RL4,#031H 4542 3D14 JMPR cc_NZ,?C0458 ; SOURCE LINE # 858 4544 E01E MOV R14,#01H ; SOURCE LINE # 859 4546 E004 MOV R4,#00H 4548 E005 MOV R5,#00H 454A E006 MOV R6,#00H 454C E007 MOV R7,#00H 454E 8870 MOV [-R0],R7 4550 8860 MOV [-R0],R6 4552 8850 MOV [-R0],R5 4554 8840 MOV [-R0],R4 4556 E009 MOV R9,#00H 4558 E00A MOV R10,#00H 455A E00B MOV R11,#00H 455C E00C MOV R12,#00H 455E E008 MOV R8,#00H 4560 DA000000 R CALLS SEG (usrGetKoor),usrGetKoor 4564 06F00800 ADD R0,#08H ; SOURCE LINE # 860 4568 E01F MOV R15,#01H ; SOURCE LINE # 861 456A 0D10 JMPR cc_UC,?C0443 ; SOURCE LINE # 862 456C ?C0458: ; SOURCE LINE # 865 456C F04D MOV R4,R13 456E 47F83200 CMPB RL4,#032H 4572 3D05 JMPR cc_NZ,?C0459 ; SOURCE LINE # 868 4574 E01E MOV R14,#01H ; SOURCE LINE # 869 4576 DA000000 E CALLS SEG (getListObj),getListObj ; SOURCE LINE # 870 457A E01F MOV R15,#01H ; SOURCE LINE # 871 457C 0D07 JMPR cc_UC,?C0443 ; SOURCE LINE # 872 457E ?C0459: ; SOURCE LINE # 875 457E F04D MOV R4,R13 4580 47F83300 CMPB RL4,#033H 4584 3D03 JMPR cc_NZ,?C0443 ; SOURCE LINE # 877 4586 DA000000 R CALLS SEG (origin),origin ; SOURCE LINE # 878 458A E01F MOV R15,#01H ; SOURCE LINE # 879 ; SOURCE LINE # 880 ; SOURCE LINE # 885 458C ?C0443: C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 130 458C F04D MOV R4,R13 458E 47F84300 CMPB RL4,#043H 4592 EA30C842 R JMPA cc_NZ,?C0445 4596 ?C0444: ; SOURCE LINE # 887 4596 DA000000 E CALLS SEG (stopEncoderInts),stopEncoderInts ; SOURCE LINE # 889 459A 06F02800 ADD R0,#028H 459E FCFF POP R15 45A0 FCFE POP R14 45A2 FCFD POP R13 45A4 DB00 RETS ; FUNCTION encode (END RMASK = @0x7FFF) ; FUNCTION showEncoders (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 895 45A6 ECFD PUSH R13 45A8 ECFE PUSH R14 45AA F0D8 MOV R13,R8 ;---- Variable 'mode' assigned to Register 'R13' ---- 45AC 06F0D8FF ADD R0,#0FFD8H ; SOURCE LINE # 900 45B0 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 902 45B4 0E00 E BCLR ENCHO_CORUSE ; SOURCE LINE # 903 45B6 0E00 E BCLR ENCVE_CORUSE ; SOURCE LINE # 906 45B8 DA000000 R CALLS SEG (initEncoderValues),initEncoderValues ; SOURCE LINE # 909 45BC F04D MOV R4,R13 45BE 2841 SUB R4,#01H 45C0 2D1F JMPR cc_Z,?C0463 45C2 2841 SUB R4,#01H 45C4 2D36 JMPR cc_Z,?C0464 45C6 2841 SUB R4,#01H 45C8 2D4D JMPR cc_Z,?C0465 45CA 0843 ADD R4,#03H 45CC 3D63 JMPR cc_NZ,?C0461 ; SOURCE LINE # 911 45CE ?C0462: ; SOURCE LINE # 912 45CE E6FA0000 R MOV R10,#POF (SC?360) 45D2 E6FB0000 R MOV R11,#PAG (SC?360) 45D6 F080 MOV R8,R0 45D8 66F8FF3F AND R8,#03FFFH 45DC F2F904FE MOV R9,DPP2 45E0 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 913 45E4 E6FA0000 R MOV R10,#POF (SC?353) 45E8 E6FB0000 R MOV R11,#PAG (SC?353) 45EC E6F81400 MOV R8,#014H ; tmp2 45F0 0080 ADD R8,R0 ; tmp2 45F2 66F8FF3F AND R8,#03FFFH 45F6 F2F904FE MOV R9,DPP2 45FA DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 914 45FE 0D4A JMPR cc_UC,?C0461 ; SOURCE LINE # 916 4600 ?C0463: ; SOURCE LINE # 917 4600 E6FA0000 R MOV R10,#POF (SC?342) 4604 E6FB0000 R MOV R11,#PAG (SC?342) 4608 F080 MOV R8,R0 460A 66F8FF3F AND R8,#03FFFH 460E F2F904FE MOV R9,DPP2 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 131 4612 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 918 4616 E6FA0000 R MOV R10,#POF (SC?333) 461A E6FB0000 R MOV R11,#PAG (SC?333) 461E E6F81400 MOV R8,#014H ; tmp2 4622 0080 ADD R8,R0 ; tmp2 4624 66F8FF3F AND R8,#03FFFH 4628 F2F904FE MOV R9,DPP2 462C DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 919 4630 0D31 JMPR cc_UC,?C0461 ; SOURCE LINE # 921 4632 ?C0464: ; SOURCE LINE # 922 4632 E6FA0000 R MOV R10,#POF (SC?3DB) 4636 E6FB0000 R MOV R11,#PAG (SC?3DB) 463A F080 MOV R8,R0 463C 66F8FF3F AND R8,#03FFFH 4640 F2F904FE MOV R9,DPP2 4644 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 923 4648 E6FA0000 R MOV R10,#POF (SC?2DC) 464C E6FB0000 R MOV R11,#PAG (SC?2DC) 4650 E6F81400 MOV R8,#014H ; tmp2 4654 0080 ADD R8,R0 ; tmp2 4656 66F8FF3F AND R8,#03FFFH 465A F2F904FE MOV R9,DPP2 465E DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 924 4662 0D18 JMPR cc_UC,?C0461 ; SOURCE LINE # 926 4664 ?C0465: ; SOURCE LINE # 927 4664 E6FA0000 R MOV R10,#POF (SC?3D8) 4668 E6FB0000 R MOV R11,#PAG (SC?3D8) 466C F080 MOV R8,R0 466E 66F8FF3F AND R8,#03FFFH 4672 F2F904FE MOV R9,DPP2 4676 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 928 467A E6FA0000 R MOV R10,#POF (SC?2D8) 467E E6FB0000 R MOV R11,#PAG (SC?2D8) 4682 E6F81400 MOV R8,#014H ; tmp2 4686 0080 ADD R8,R0 ; tmp2 4688 66F8FF3F AND R8,#03FFFH 468C F2F904FE MOV R9,DPP2 4690 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 929 ; SOURCE LINE # 931 4694 ?C0461: ; SOURCE LINE # 933 4694 F0A0 MOV R10,R0 4696 66FAFF3F AND R10,#03FFFH 469A F2FB04FE MOV R11,DPP2 469E E009 MOV R9,#00H 46A0 E008 MOV R8,#00H 46A2 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 934 46A6 E6FA1400 MOV R10,#014H ; tmp2 46AA 00A0 ADD R10,R0 ; tmp2 46AC 66FAFF3F AND R10,#03FFFH 46B0 F2FB04FE MOV R11,DPP2 46B4 E009 MOV R9,#00H 46B6 E028 MOV R8,#02H 46B8 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 936 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 132 46BC 9A000200 E JNB ENCHO_USE,?C0466 ; SOURCE LINE # 937 46C0 DA000000 E CALLS SEG (startEncoderIntsHo),startEncoderIntsHo ; SOURCE LINE # 938 46C4 ?C0466: ; SOURCE LINE # 939 46C4 9A000200 E JNB ENCVE_USE,?C0467 ; SOURCE LINE # 940 46C8 DA000000 E CALLS SEG (startEncoderIntsVe),startEncoderIntsVe ; SOURCE LINE # 941 46CC ?C0467: ; SOURCE LINE # 943 46CC E00E MOV R14,#00H ;---- Variable 'KEY' assigned to Register 'R14' ---- ; SOURCE LINE # 944 46CE EA00EA47 R JMPA cc_UC,?C0468 46D2 ?C0470: ; SOURCE LINE # 946 46D2 DA000000 R CALLS SEG (readkey),readkey 46D6 F0E4 MOV R14,R4 ; SOURCE LINE # 948 46D8 F04D MOV R4,R13 46DA 2841 SUB R4,#01H 46DC 2D41 JMPR cc_Z,?C0474 46DE 2841 SUB R4,#01H 46E0 2D4E JMPR cc_Z,?C0475 46E2 0842 ADD R4,#02H 46E4 EA30EA47 R JMPA cc_NZ,?C0468 ; SOURCE LINE # 950 46E8 ?C0473: ; SOURCE LINE # 951 46E8 F2F40000 E MOV R4,ENC_ARC10_HO 46EC F2F50200 E MOV R5,ENC_ARC10_HO+02H 46F0 8850 MOV [-R0],R5 46F2 F0C4 MOV R12,R4 46F4 E6FA0000 R MOV R10,#POF (SC?3D1) 46F8 E6FB0000 R MOV R11,#PAG (SC?3D1) 46FC E028 MOV R8,#02H ; tmp1 46FE 0080 ADD R8,R0 ; tmp1 4700 66F8FF3F AND R8,#03FFFH 4704 F2F904FE MOV R9,DPP2 4708 DA000000 E CALLS SEG (sprintf),sprintf 470C 0802 ADD R0,#02H ; SOURCE LINE # 952 470E F2F40000 E MOV R4,ENC_ARC10_VE 4712 F2F50200 E MOV R5,ENC_ARC10_VE+02H 4716 8850 MOV [-R0],R5 4718 F0C4 MOV R12,R4 471A E6FA0000 R MOV R10,#POF (SC?3D1) 471E E6FB0000 R MOV R11,#PAG (SC?3D1) 4722 E6F81600 MOV R8,#016H ; tmp2 4726 0080 ADD R8,R0 ; tmp2 4728 66F8FF3F AND R8,#03FFFH 472C F2F904FE MOV R9,DPP2 4730 DA000000 E CALLS SEG (sprintf),sprintf 4734 0802 ADD R0,#02H ; SOURCE LINE # 953 4736 F0A0 MOV R10,R0 4738 66FAFF3F AND R10,#03FFFH 473C F2FB04FE MOV R11,DPP2 4740 E009 MOV R9,#00H 4742 E018 MOV R8,#01H 4744 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 954 4748 E6FA1400 MOV R10,#014H ; tmp2 474C 00A0 ADD R10,R0 ; tmp2 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 133 474E 66FAFF3F AND R10,#03FFFH 4752 F2FB04FE MOV R11,DPP2 4756 E009 MOV R9,#00H 4758 E038 MOV R8,#03H 475A DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 955 475E 0D45 JMPR cc_UC,?C0468 ; SOURCE LINE # 957 4760 ?C0474: ; SOURCE LINE # 958 4760 F2F90000 E MOV R9,ENC_ARC10_HO 4764 F2FA0200 E MOV R10,ENC_ARC10_HO+02H 4768 E018 MOV R8,#01H 476A DA000000 R CALLS SEG (printArc10Degrees),printArc10Degrees ; SOURCE LINE # 959 476E F2F90000 E MOV R9,ENC_ARC10_VE 4772 F2FA0200 E MOV R10,ENC_ARC10_VE+02H 4776 E038 MOV R8,#03H 4778 DA000000 R CALLS SEG (printArc10Degrees),printArc10Degrees ; SOURCE LINE # 960 477C 0D36 JMPR cc_UC,?C0468 ; SOURCE LINE # 962 477E ?C0475: ; SOURCE LINE # 963 477E F2F80000 E MOV R8,ENC_ARC10_HO 4782 F2F90200 E MOV R9,ENC_ARC10_HO+02H 4786 DA000000 R CALLS SEG (lArc10dDegrees),lArc10dDegrees 478A F6F430E0 MOV 0E030H,R4 478E F6F532E0 MOV 0E032H,R5 4792 F6F634E0 MOV 0E034H,R6 4796 F6F736E0 MOV 0E036H,R7 ; SOURCE LINE # 964 479A F2F80000 E MOV R8,ENC_ARC10_VE 479E F2F90200 E MOV R9,ENC_ARC10_VE+02H 47A2 DA000000 R CALLS SEG (lArc10dDegrees),lArc10dDegrees 47A6 F6F438E0 MOV 0E038H,R4 47AA F6F53AE0 MOV 0E03AH,R5 47AE F6F63CE0 MOV 0E03CH,R6 47B2 F6F73EE0 MOV 0E03EH,R7 ; SOURCE LINE # 965 47B6 DA000000 R CALLS SEG (cCurrentStarTime),cCurrentStarTime ; SOURCE LINE # 966 47BA DA000000 R CALLS SEG (cRaDec),cRaDec ; SOURCE LINE # 967 47BE F2F920E0 MOV R9,0E020H 47C2 F2FA22E0 MOV R10,0E022H 47C6 F2FB24E0 MOV R11,0E024H 47CA F2FC26E0 MOV R12,0E026H 47CE E018 MOV R8,#01H 47D0 DA000000 R CALLS SEG (printDegrees),printDegrees ; SOURCE LINE # 968 47D4 F2F928E0 MOV R9,0E028H 47D8 F2FA2AE0 MOV R10,0E02AH 47DC F2FB2CE0 MOV R11,0E02CH 47E0 F2FC2EE0 MOV R12,0E02EH 47E4 E038 MOV R8,#03H 47E6 DA000000 R CALLS SEG (printDegrees),printDegrees ; SOURCE LINE # 969 ; SOURCE LINE # 971 ; SOURCE LINE # 974 47EA ?C0468: 47EA F04E MOV R4,R14 47EC 4980 CMPB RL4,#00H 47EE EA20D246 R JMPA cc_Z,?C0470 47F2 ?C0469: ; SOURCE LINE # 976 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 134 47F2 DA000000 E CALLS SEG (stopEncoderInts),stopEncoderInts ; SOURCE LINE # 978 47F6 06F02800 ADD R0,#028H 47FA FCFE POP R14 47FC FCFD POP R13 47FE DB00 RETS ; FUNCTION showEncoders (END RMASK = @0x7FFF) ; FUNCTION encAutoTestHo (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 984 4800 ECFD PUSH R13 4802 06F0E4FF ADD R0,#0FFE4H ; SOURCE LINE # 990 4806 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 992 480A E6FA0000 R MOV R10,#POF (SC?322) 480E E6FB0000 R MOV R11,#PAG (SC?322) 4812 F080 MOV R8,R0 4814 66F8FF3F AND R8,#03FFFH 4818 F2F904FE MOV R9,DPP2 481C DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 993 4820 F0A0 MOV R10,R0 4822 66FAFF3F AND R10,#03FFFH 4826 F2FB04FE MOV R11,DPP2 482A E009 MOV R9,#00H 482C E008 MOV R8,#00H 482E DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 994 4832 ?C0476: 4832 DA000000 R CALLS SEG (readkey),readkey 4836 4980 CMPB RL4,#00H 4838 2DFC JMPR cc_Z,?C0476 483A ?C0477: ; SOURCE LINE # 995 483A E0A9 MOV R9,#0AH 483C E008 MOV R8,#00H 483E DA000000 R CALLS SEG (usrGetInt),usrGetInt 4842 F0D4 MOV R13,R4 ;---- Variable 'signr' assigned to Register 'R13' ---- ; SOURCE LINE # 996 4844 48D0 CMP R13,#00H 4846 EAB06A4A R JMPA cc_SLE,?C0481 ; SOURCE LINE # 997 ; SOURCE LINE # 998 484A ?C0480: ; SOURCE LINE # 1000 484A DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 1001 484E E6FA0000 R MOV R10,#POF (SC?296) 4852 E6FB0000 R MOV R11,#PAG (SC?296) 4856 F080 MOV R8,R0 4858 66F8FF3F AND R8,#03FFFH 485C F2F904FE MOV R9,DPP2 4860 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 1002 4864 F0A0 MOV R10,R0 4866 66FAFF3F AND R10,#03FFFH 486A F2FB04FE MOV R11,DPP2 486E E009 MOV R9,#00H 4870 E008 MOV R8,#00H 4872 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 1004 4876 DA000000 R CALLS SEG (initEncoderValues),initEncoderValues ; SOURCE LINE # 1005 487A DA000000 R CALLS SEG (initScopeValues),initScopeValues C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 135 ; SOURCE LINE # 1007 487E F78E0000 E MOVB MOT_FLAGS,ZEROS ; SOURCE LINE # 1008 4882 DA000000 E CALLS SEG (stopEncoderInts),stopEncoderInts ; SOURCE LINE # 1010 4886 4EEA BCLR MOTORSWITCH ; SOURCE LINE # 1011 4888 0E00 E BCLR ENCHO_COR ; SOURCE LINE # 1012 488A 0E00 E BCLR ENCHO_CORUSE ; SOURCE LINE # 1013 488C DA000000 E CALLS SEG (startEncoderIntsHo),startEncoderIntsHo ; SOURCE LINE # 1015 4890 F2F470E0 MOV R4,0E070H 4894 F6F40000 E MOV SPEED_HO,R4 ; SOURCE LINE # 1016 4898 F68E0000 E MOV SPEED_HO_CT,ZEROS ; SOURCE LINE # 1017 489C F68E0000 E MOV CUR_HSTEPS_HO,ZEROS 48A0 F68E0200 E MOV CUR_HSTEPS_HO+02H,ZEROS ; SOURCE LINE # 1018 48A4 0E00 E BCLR MOTHO_DIR ; SOURCE LINE # 1019 48A6 0F00 E BSET MOT_CORRECTION ; SOURCE LINE # 1022 48A8 F68E0000 E MOV ENC_ARC10_HO,ZEROS 48AC F68E0200 E MOV ENC_ARC10_HO+02H,ZEROS ; SOURCE LINE # 1023 48B0 0F00 E BSET MOTHO_RUN ; SOURCE LINE # 1024 48B2 ?C0482: 48B2 F2F40000 E MOV R4,ENC_ARC10_HO 48B6 F2F50200 E MOV R5,ENC_ARC10_HO+02H 48BA 7045 OR R4,R5 48BC 2DFA JMPR cc_Z,?C0482 48BE ?C0483: ; SOURCE LINE # 1025 48BE 0E00 E BCLR MOTHO_RUN ; SOURCE LINE # 1026 48C0 F68E0000 E MOV ENC_ARC10_HO,ZEROS 48C4 F68E0200 E MOV ENC_ARC10_HO+02H,ZEROS ; SOURCE LINE # 1027 48C8 0F00 E BSET MOTHO_RUN ; SOURCE LINE # 1028 48CA ?C0486: 48CA F2F40000 E MOV R4,ENC_ARC10_HO 48CE F2F50200 E MOV R5,ENC_ARC10_HO+02H 48D2 7045 OR R4,R5 48D4 2DFA JMPR cc_Z,?C0486 48D6 ?C0487: ; SOURCE LINE # 1029 48D6 0E00 E BCLR MOTHO_RUN ; SOURCE LINE # 1032 48D8 F68E0000 E MOV CUR_HSTEPS_HO,ZEROS 48DC F68E0200 E MOV CUR_HSTEPS_HO+02H,ZEROS ; SOURCE LINE # 1033 48E0 F68E0000 E MOV ENC_ARC10_HO,ZEROS 48E4 F68E0200 E MOV ENC_ARC10_HO+02H,ZEROS ; SOURCE LINE # 1034 48E8 F2F50000 E MOV R5,ARC10PERENCHO 48EC 0BD5 MUL R13,R5 48EE F2F70CFE MOV R7,MDH 48F2 F2F60EFE MOV R6,MDL ;---- Variable 'enc' assigned to Register 'R6/R7' ---- ; SOURCE LINE # 1035 ; SOURCE LINE # 1036 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 136 48F6 0F00 E BSET MOTHO_RUN ; SOURCE LINE # 1037 48F8 ?C0490: 48F8 F046 MOV R4,R6 48FA F057 MOV R5,R7 48FC 22F40000 E SUB R4,ENC_ARC10_HO 4900 32F50200 E SUBC R5,ENC_ARC10_HO+02H 4904 ADF9 JMPR cc_SGT,?C0490 4906 ?C0491: ; SOURCE LINE # 1038 4906 F78E0000 E MOVB MOT_FLAGS,ZEROS ; SOURCE LINE # 1039 490A 4FEA BSET MOTORSWITCH ; SOURCE LINE # 1041 490C DA000000 E CALLS SEG (stopEncoderInts),stopEncoderInts ; SOURCE LINE # 1042 4910 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 1044 4914 E6FA0000 R MOV R10,#POF (SC?317) 4918 E6FB0000 R MOV R11,#PAG (SC?317) 491C F080 MOV R8,R0 491E 66F8FF3F AND R8,#03FFFH 4922 F2F904FE MOV R9,DPP2 4926 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 1045 492A F0A0 MOV R10,R0 492C 66FAFF3F AND R10,#03FFFH 4930 F2FB04FE MOV R11,DPP2 4934 E009 MOV R9,#00H 4936 E008 MOV R8,#00H 4938 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 1047 493C F2F40000 E MOV R4,CUR_HSTEPS_HO 4940 F2F50200 E MOV R5,CUR_HSTEPS_HO+02H 4944 8850 MOV [-R0],R5 4946 F0C4 MOV R12,R4 4948 E6FA0000 R MOV R10,#POF (SC?2D2) 494C E6FB0000 R MOV R11,#PAG (SC?2D2) 4950 E028 MOV R8,#02H ; tmp 4952 0080 ADD R8,R0 ; tmp 4954 66F8FF3F AND R8,#03FFFH 4958 F2F904FE MOV R9,DPP2 495C DA000000 E CALLS SEG (sprintf),sprintf 4960 0802 ADD R0,#02H ; SOURCE LINE # 1048 4962 F0A0 MOV R10,R0 4964 66FAFF3F AND R10,#03FFFH 4968 F2FB04FE MOV R11,DPP2 496C E009 MOV R9,#00H 496E E018 MOV R8,#01H 4970 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 1050 4974 E6FA0000 R MOV R10,#POF (SC?288) 4978 E6FB0000 R MOV R11,#PAG (SC?288) 497C F080 MOV R8,R0 497E 66F8FF3F AND R8,#03FFFH 4982 F2F904FE MOV R9,DPP2 4986 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 1051 498A F0A0 MOV R10,R0 498C 66FAFF3F AND R10,#03FFFH 4990 F2FB04FE MOV R11,DPP2 4994 E009 MOV R9,#00H 4996 E028 MOV R8,#02H 4998 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 1053 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 137 499C F2FC0000 E MOV R12,ENC_ARC10_HO 49A0 F2FD0200 E MOV R13,ENC_ARC10_HO+02H ;---- Variable 'l' assigned to Register 'R12/R13' ---- ; SOURCE LINE # 1054 49A4 F2F40000 E MOV R4,CUR_HSTEPS_HO 49A8 F2F50200 E MOV R5,CUR_HSTEPS_HO+02H 49AC F065 MOV R6,R5 49AE DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 49B2 F084 MOV R8,R4 49B4 F095 MOV R9,R5 49B6 F0A6 MOV R10,R6 49B8 F0B7 MOV R11,R7 49BA F04C MOV R4,R12 49BC F05D MOV R5,R13 49BE F06D MOV R6,R13 49C0 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 49C4 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 49C8 C4401400 MOV [R0+#014H],R4 ; d 49CC C4501600 MOV [R0+#016H],R5 ; d+2 49D0 C4601800 MOV [R0+#018H],R6 ; d+4 49D4 C4701A00 MOV [R0+#01AH],R7 ; d+6 ; SOURCE LINE # 1055 49D8 E008 MOV R8,#00H 49DA E009 MOV R9,#00H 49DC E00A MOV R10,#00H 49DE E6FB2440 MOV R11,#04024H 49E2 D4401400 MOV R4,[R0+#014H] ; d 49E6 D4501600 MOV R5,[R0+#016H] ; d+2 49EA D4601800 MOV R6,[R0+#018H] ; d+4 49EE D4701A00 MOV R7,[R0+#01AH] ; d+6 49F2 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 49F6 F084 MOV R8,R4 49F8 F095 MOV R9,R5 49FA F0A6 MOV R10,R6 49FC F0B7 MOV R11,R7 49FE C4401400 MOV [R0+#014H],R4 ; d 4A02 C4501600 MOV [R0+#016H],R5 ; d+2 4A06 C4601800 MOV [R0+#018H],R6 ; d+4 4A0A C4701A00 MOV [R0+#01AH],R7 ; d+6 ; SOURCE LINE # 1057 4A0E 88B0 MOV [-R0],R11 4A10 88A0 MOV [-R0],R10 4A12 8890 MOV [-R0],R9 4A14 F0C4 MOV R12,R4 4A16 E6FA0000 R MOV R10,#POF (SC?2E8) 4A1A E6FB0000 R MOV R11,#PAG (SC?2E8) 4A1E E068 MOV R8,#06H ; tmp 4A20 0080 ADD R8,R0 ; tmp 4A22 66F8FF3F AND R8,#03FFFH 4A26 F2F904FE MOV R9,DPP2 4A2A DA000000 E CALLS SEG (sprintf),sprintf 4A2E 0806 ADD R0,#06H ; SOURCE LINE # 1058 4A30 F0A0 MOV R10,R0 4A32 66FAFF3F AND R10,#03FFFH 4A36 F2FB04FE MOV R11,DPP2 4A3A E009 MOV R9,#00H 4A3C E038 MOV R8,#03H 4A3E DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 1060 4A42 ?C0494: 4A42 DA000000 R CALLS SEG (readkey),readkey 4A46 4980 CMPB RL4,#00H 4A48 2DFC JMPR cc_Z,?C0494 4A4A ?C0495: ; SOURCE LINE # 1062 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 138 4A4A D4401400 MOV R4,[R0+#014H] ; d 4A4E D4501600 MOV R5,[R0+#016H] ; d+2 4A52 D4601800 MOV R6,[R0+#018H] ; d+4 4A56 D4701A00 MOV R7,[R0+#01AH] ; d+6 4A5A F6F40000 E MOV CFG_HSTS_HO,R4 4A5E F6F50200 E MOV CFG_HSTS_HO+02H,R5 4A62 F6F60400 E MOV CFG_HSTS_HO+04H,R6 4A66 F6F70600 E MOV CFG_HSTS_HO+06H,R7 ; SOURCE LINE # 1063 4A6A ?C0481: 4A6A 06F01C00 ADD R0,#01CH 4A6E FCFD POP R13 4A70 DB00 RETS ; FUNCTION encAutoTestHo (END RMASK = @0x7FFF) ; FUNCTION encAutoTestVe (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 1068 4A72 ECFD PUSH R13 4A74 06F0E4FF ADD R0,#0FFE4H ; SOURCE LINE # 1074 4A78 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 1076 4A7C E6FA0000 R MOV R10,#POF (SC?322) 4A80 E6FB0000 R MOV R11,#PAG (SC?322) 4A84 F080 MOV R8,R0 4A86 66F8FF3F AND R8,#03FFFH 4A8A F2F904FE MOV R9,DPP2 4A8E DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 1077 4A92 F0A0 MOV R10,R0 4A94 66FAFF3F AND R10,#03FFFH 4A98 F2FB04FE MOV R11,DPP2 4A9C E009 MOV R9,#00H 4A9E E008 MOV R8,#00H 4AA0 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 1078 4AA4 ?C0498: 4AA4 DA000000 R CALLS SEG (readkey),readkey 4AA8 4980 CMPB RL4,#00H 4AAA 2DFC JMPR cc_Z,?C0498 4AAC ?C0499: ; SOURCE LINE # 1079 4AAC E0A9 MOV R9,#0AH 4AAE E008 MOV R8,#00H 4AB0 DA000000 R CALLS SEG (usrGetInt),usrGetInt 4AB4 F0D4 MOV R13,R4 ;---- Variable 'signr' assigned to Register 'R13' ---- ; SOURCE LINE # 1080 4AB6 48D0 CMP R13,#00H 4AB8 EAB0DC4C R JMPA cc_SLE,?C0503 ; SOURCE LINE # 1081 ; SOURCE LINE # 1082 4ABC ?C0502: ; SOURCE LINE # 1084 4ABC DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 1085 4AC0 E6FA0000 R MOV R10,#POF (SC?296) 4AC4 E6FB0000 R MOV R11,#PAG (SC?296) 4AC8 F080 MOV R8,R0 4ACA 66F8FF3F AND R8,#03FFFH 4ACE F2F904FE MOV R9,DPP2 4AD2 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 1086 4AD6 F0A0 MOV R10,R0 4AD8 66FAFF3F AND R10,#03FFFH 4ADC F2FB04FE MOV R11,DPP2 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 139 4AE0 E009 MOV R9,#00H 4AE2 E008 MOV R8,#00H 4AE4 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 1088 4AE8 DA000000 R CALLS SEG (initEncoderValues),initEncoderValues ; SOURCE LINE # 1089 4AEC DA000000 R CALLS SEG (initScopeValues),initScopeValues ; SOURCE LINE # 1091 4AF0 F78E0000 E MOVB MOT_FLAGS,ZEROS ; SOURCE LINE # 1092 4AF4 DA000000 E CALLS SEG (stopEncoderInts),stopEncoderInts ; SOURCE LINE # 1094 4AF8 4EEA BCLR MOTORSWITCH ; SOURCE LINE # 1095 4AFA 0E00 E BCLR ENCVE_COR ; SOURCE LINE # 1096 4AFC 0E00 E BCLR ENCVE_CORUSE ; SOURCE LINE # 1097 4AFE DA000000 E CALLS SEG (startEncoderIntsVe),startEncoderIntsVe ; SOURCE LINE # 1099 4B02 F2F472E0 MOV R4,0E072H 4B06 F6F40000 E MOV SPEED_VE,R4 ; SOURCE LINE # 1100 4B0A F68E0000 E MOV SPEED_VE_CT,ZEROS ; SOURCE LINE # 1101 4B0E F68E0000 E MOV CUR_HSTEPS_VE,ZEROS 4B12 F68E0200 E MOV CUR_HSTEPS_VE+02H,ZEROS ; SOURCE LINE # 1102 4B16 0E00 E BCLR MOTVE_DIR ; SOURCE LINE # 1103 4B18 0F00 E BSET MOT_CORRECTION ; SOURCE LINE # 1106 4B1A F68E0000 E MOV ENC_ARC10_VE,ZEROS 4B1E F68E0200 E MOV ENC_ARC10_VE+02H,ZEROS ; SOURCE LINE # 1107 4B22 0F00 E BSET MOTVE_RUN ; SOURCE LINE # 1108 4B24 ?C0504: 4B24 F2F40000 E MOV R4,ENC_ARC10_VE 4B28 F2F50200 E MOV R5,ENC_ARC10_VE+02H 4B2C 7045 OR R4,R5 4B2E 2DFA JMPR cc_Z,?C0504 4B30 ?C0505: ; SOURCE LINE # 1109 4B30 0E00 E BCLR MOTVE_RUN ; SOURCE LINE # 1110 4B32 F68E0000 E MOV ENC_ARC10_VE,ZEROS 4B36 F68E0200 E MOV ENC_ARC10_VE+02H,ZEROS ; SOURCE LINE # 1111 4B3A 0F00 E BSET MOTVE_RUN ; SOURCE LINE # 1112 4B3C ?C0508: 4B3C F2F40000 E MOV R4,ENC_ARC10_VE 4B40 F2F50200 E MOV R5,ENC_ARC10_VE+02H 4B44 7045 OR R4,R5 4B46 2DFA JMPR cc_Z,?C0508 4B48 ?C0509: ; SOURCE LINE # 1113 4B48 0E00 E BCLR MOTVE_RUN ; SOURCE LINE # 1116 4B4A F68E0000 E MOV CUR_HSTEPS_VE,ZEROS 4B4E F68E0200 E MOV CUR_HSTEPS_VE+02H,ZEROS ; SOURCE LINE # 1117 4B52 F68E0000 E MOV ENC_ARC10_VE,ZEROS 4B56 F68E0200 E MOV ENC_ARC10_VE+02H,ZEROS ; SOURCE LINE # 1118 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 140 4B5A F2F50000 E MOV R5,ARC10PERENCVE 4B5E 0BD5 MUL R13,R5 4B60 F2F70CFE MOV R7,MDH 4B64 F2F60EFE MOV R6,MDL ;---- Variable 'enc' assigned to Register 'R6/R7' ---- ; SOURCE LINE # 1119 ; SOURCE LINE # 1120 4B68 0F00 E BSET MOTVE_RUN ; SOURCE LINE # 1121 4B6A ?C0512: 4B6A F046 MOV R4,R6 4B6C F057 MOV R5,R7 4B6E 22F40000 E SUB R4,ENC_ARC10_VE 4B72 32F50200 E SUBC R5,ENC_ARC10_VE+02H 4B76 ADF9 JMPR cc_SGT,?C0512 4B78 ?C0513: ; SOURCE LINE # 1122 4B78 F78E0000 E MOVB MOT_FLAGS,ZEROS ; SOURCE LINE # 1123 4B7C 4FEA BSET MOTORSWITCH ; SOURCE LINE # 1125 4B7E DA000000 E CALLS SEG (stopEncoderInts),stopEncoderInts ; SOURCE LINE # 1126 4B82 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 1128 4B86 E6FA0000 R MOV R10,#POF (SC?317) 4B8A E6FB0000 R MOV R11,#PAG (SC?317) 4B8E F080 MOV R8,R0 4B90 66F8FF3F AND R8,#03FFFH 4B94 F2F904FE MOV R9,DPP2 4B98 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 1129 4B9C F0A0 MOV R10,R0 4B9E 66FAFF3F AND R10,#03FFFH 4BA2 F2FB04FE MOV R11,DPP2 4BA6 E009 MOV R9,#00H 4BA8 E008 MOV R8,#00H 4BAA DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 1131 4BAE F2F40000 E MOV R4,CUR_HSTEPS_VE 4BB2 F2F50200 E MOV R5,CUR_HSTEPS_VE+02H 4BB6 8850 MOV [-R0],R5 4BB8 F0C4 MOV R12,R4 4BBA E6FA0000 R MOV R10,#POF (SC?2D2) 4BBE E6FB0000 R MOV R11,#PAG (SC?2D2) 4BC2 E028 MOV R8,#02H ; tmp 4BC4 0080 ADD R8,R0 ; tmp 4BC6 66F8FF3F AND R8,#03FFFH 4BCA F2F904FE MOV R9,DPP2 4BCE DA000000 E CALLS SEG (sprintf),sprintf 4BD2 0802 ADD R0,#02H ; SOURCE LINE # 1132 4BD4 F0A0 MOV R10,R0 4BD6 66FAFF3F AND R10,#03FFFH 4BDA F2FB04FE MOV R11,DPP2 4BDE E009 MOV R9,#00H 4BE0 E018 MOV R8,#01H 4BE2 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 1134 4BE6 E6FA0000 R MOV R10,#POF (SC?288) 4BEA E6FB0000 R MOV R11,#PAG (SC?288) 4BEE F080 MOV R8,R0 4BF0 66F8FF3F AND R8,#03FFFH 4BF4 F2F904FE MOV R9,DPP2 4BF8 DA000000 E CALLS SEG (sprintf),sprintf ; SOURCE LINE # 1135 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 141 4BFC F0A0 MOV R10,R0 4BFE 66FAFF3F AND R10,#03FFFH 4C02 F2FB04FE MOV R11,DPP2 4C06 E009 MOV R9,#00H 4C08 E028 MOV R8,#02H 4C0A DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 1137 4C0E F2FC0000 E MOV R12,ENC_ARC10_VE 4C12 F2FD0200 E MOV R13,ENC_ARC10_VE+02H ;---- Variable 'l' assigned to Register 'R12/R13' ---- ; SOURCE LINE # 1138 4C16 F2F40000 E MOV R4,CUR_HSTEPS_VE 4C1A F2F50200 E MOV R5,CUR_HSTEPS_VE+02H 4C1E F065 MOV R6,R5 4C20 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 4C24 F084 MOV R8,R4 4C26 F095 MOV R9,R5 4C28 F0A6 MOV R10,R6 4C2A F0B7 MOV R11,R7 4C2C F04C MOV R4,R12 4C2E F05D MOV R5,R13 4C30 F06D MOV R6,R13 4C32 DA000000 E CALLS SEG (?C_DCAST),?C_DCAST 4C36 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 4C3A C4401400 MOV [R0+#014H],R4 ; d 4C3E C4501600 MOV [R0+#016H],R5 ; d+2 4C42 C4601800 MOV [R0+#018H],R6 ; d+4 4C46 C4701A00 MOV [R0+#01AH],R7 ; d+6 ; SOURCE LINE # 1139 4C4A E008 MOV R8,#00H 4C4C E009 MOV R9,#00H 4C4E E00A MOV R10,#00H 4C50 E6FB2440 MOV R11,#04024H 4C54 D4401400 MOV R4,[R0+#014H] ; d 4C58 D4501600 MOV R5,[R0+#016H] ; d+2 4C5C D4601800 MOV R6,[R0+#018H] ; d+4 4C60 D4701A00 MOV R7,[R0+#01AH] ; d+6 4C64 DA000000 E CALLS SEG (?C_DPDIV),?C_DPDIV 4C68 F084 MOV R8,R4 4C6A F095 MOV R9,R5 4C6C F0A6 MOV R10,R6 4C6E F0B7 MOV R11,R7 4C70 C4401400 MOV [R0+#014H],R4 ; d 4C74 C4501600 MOV [R0+#016H],R5 ; d+2 4C78 C4601800 MOV [R0+#018H],R6 ; d+4 4C7C C4701A00 MOV [R0+#01AH],R7 ; d+6 ; SOURCE LINE # 1141 4C80 88B0 MOV [-R0],R11 4C82 88A0 MOV [-R0],R10 4C84 8890 MOV [-R0],R9 4C86 F0C4 MOV R12,R4 4C88 E6FA0000 R MOV R10,#POF (SC?2E8) 4C8C E6FB0000 R MOV R11,#PAG (SC?2E8) 4C90 E068 MOV R8,#06H ; tmp 4C92 0080 ADD R8,R0 ; tmp 4C94 66F8FF3F AND R8,#03FFFH 4C98 F2F904FE MOV R9,DPP2 4C9C DA000000 E CALLS SEG (sprintf),sprintf 4CA0 0806 ADD R0,#06H ; SOURCE LINE # 1142 4CA2 F0A0 MOV R10,R0 4CA4 66FAFF3F AND R10,#03FFFH 4CA8 F2FB04FE MOV R11,DPP2 4CAC E009 MOV R9,#00H 4CAE E038 MOV R8,#03H 4CB0 DA000000 R CALLS SEG (lcd_puts),lcd_puts C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 142 ; SOURCE LINE # 1144 4CB4 ?C0516: 4CB4 DA000000 R CALLS SEG (readkey),readkey 4CB8 4980 CMPB RL4,#00H 4CBA 2DFC JMPR cc_Z,?C0516 4CBC ?C0517: ; SOURCE LINE # 1146 4CBC D4401400 MOV R4,[R0+#014H] ; d 4CC0 D4501600 MOV R5,[R0+#016H] ; d+2 4CC4 D4601800 MOV R6,[R0+#018H] ; d+4 4CC8 D4701A00 MOV R7,[R0+#01AH] ; d+6 4CCC F6F40000 E MOV CFG_HSTS_VE,R4 4CD0 F6F50200 E MOV CFG_HSTS_VE+02H,R5 4CD4 F6F60400 E MOV CFG_HSTS_VE+04H,R6 4CD8 F6F70600 E MOV CFG_HSTS_VE+06H,R7 ; SOURCE LINE # 1147 4CDC ?C0503: 4CDC 06F01C00 ADD R0,#01CH 4CE0 FCFD POP R13 4CE2 DB00 RETS ; FUNCTION encAutoTestVe (END RMASK = @0x7FFF) ; FUNCTION getConfiguration (BEGIN RMASK = @0x55F0) ; SOURCE LINE # 118 ; SOURCE LINE # 120 4CE4 F2FC0000 R MOV R12,curconfig 4CE8 F0AC MOV R10,R12 4CEA F04C MOV R4,R12 4CEC 5C5A SHL R10,#05H 4CEE 20AC SUB R10,R12 4CF0 5C1A SHL R10,#01H 4CF2 D7400000 R EXTP #PAG (cfg),#01H 4CF6 D44A0000 R MOV R4,[R10+#POF(cfg)] 4CFA 46F43930 CMP R4,#03039H 4CFE EA30264E R JMPA cc_NZ,?C0521 ; SOURCE LINE # 121 ; SOURCE LINE # 122 4D02 ?C0520: ; SOURCE LINE # 124 4D02 E6F80200 R MOV R8,#POF (cfg+02H) 4D06 008A ADD R8,R10 4D08 D7700000 R EXTP #PAG (cfg),#04H 4D0C 9848 MOV R4,[R8+] 4D0E 9858 MOV R5,[R8+] 4D10 9868 MOV R6,[R8+] 4D12 A878 MOV R7,[R8] 4D14 F6F408E0 MOV 0E008H,R4 4D18 F6F50AE0 MOV 0E00AH,R5 4D1C F6F60CE0 MOV 0E00CH,R6 4D20 F6F70EE0 MOV 0E00EH,R7 ; SOURCE LINE # 125 4D24 E6F80A00 R MOV R8,#POF (cfg+0AH) 4D28 008A ADD R8,R10 4D2A D7700000 R EXTP #PAG (cfg),#04H 4D2E 9848 MOV R4,[R8+] 4D30 9858 MOV R5,[R8+] 4D32 9868 MOV R6,[R8+] 4D34 A878 MOV R7,[R8] 4D36 F6F400E0 MOV 0E000H,R4 4D3A F6F502E0 MOV 0E002H,R5 4D3E F6F604E0 MOV 0E004H,R6 4D42 F6F706E0 MOV 0E006H,R7 ; SOURCE LINE # 127 4D46 E6F81200 R MOV R8,#POF (cfg+012H) 4D4A 008A ADD R8,R10 4D4C D7700000 R EXTP #PAG (cfg),#04H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 143 4D50 9848 MOV R4,[R8+] 4D52 9858 MOV R5,[R8+] 4D54 9868 MOV R6,[R8+] 4D56 A878 MOV R7,[R8] 4D58 F6F40000 E MOV CFG_HSTS_HO,R4 4D5C F6F50200 E MOV CFG_HSTS_HO+02H,R5 4D60 F6F60400 E MOV CFG_HSTS_HO+04H,R6 4D64 F6F70600 E MOV CFG_HSTS_HO+06H,R7 ; SOURCE LINE # 128 4D68 E6F81A00 R MOV R8,#POF (cfg+01AH) 4D6C 008A ADD R8,R10 4D6E D7700000 R EXTP #PAG (cfg),#04H 4D72 9848 MOV R4,[R8+] 4D74 9858 MOV R5,[R8+] 4D76 9868 MOV R6,[R8+] 4D78 A878 MOV R7,[R8] 4D7A F6F40000 E MOV CFG_HSTS_VE,R4 4D7E F6F50200 E MOV CFG_HSTS_VE+02H,R5 4D82 F6F60400 E MOV CFG_HSTS_VE+04H,R6 4D86 F6F70600 E MOV CFG_HSTS_VE+06H,R7 ; SOURCE LINE # 129 4D8A E6F82200 R MOV R8,#POF (cfg+022H) 4D8E 008A ADD R8,R10 4D90 D7700000 R EXTP #PAG (cfg),#04H 4D94 9848 MOV R4,[R8+] 4D96 9858 MOV R5,[R8+] 4D98 9868 MOV R6,[R8+] 4D9A A878 MOV R7,[R8] 4D9C F6F40000 E MOV CFG_HSTS_FR,R4 4DA0 F6F50200 E MOV CFG_HSTS_FR+02H,R5 4DA4 F6F60400 E MOV CFG_HSTS_FR+04H,R6 4DA8 F6F70600 E MOV CFG_HSTS_FR+06H,R7 ; SOURCE LINE # 131 4DAC D7400000 R EXTP #PAG (cfg),#01H 4DB0 D44A2A00 R MOV R4,[R10+#POF(cfg+02AH)] 4DB4 F6F468E0 MOV 0E068H,R4 ; SOURCE LINE # 132 4DB8 D7400000 R EXTP #PAG (cfg),#01H 4DBC D44A2C00 R MOV R4,[R10+#POF(cfg+02CH)] 4DC0 F6F46AE0 MOV 0E06AH,R4 ; SOURCE LINE # 134 4DC4 D7400000 R EXTP #PAG (cfg),#01H 4DC8 D44A2E00 R MOV R4,[R10+#POF(cfg+02EH)] 4DCC F6F46CE0 MOV 0E06CH,R4 ; SOURCE LINE # 135 4DD0 D7400000 R EXTP #PAG (cfg),#01H 4DD4 D44A3000 R MOV R4,[R10+#POF(cfg+030H)] 4DD8 F6F46EE0 MOV 0E06EH,R4 ; SOURCE LINE # 137 4DDC D7400000 R EXTP #PAG (cfg),#01H 4DE0 D44A3200 R MOV R4,[R10+#POF(cfg+032H)] 4DE4 F6F470E0 MOV 0E070H,R4 ; SOURCE LINE # 138 4DE8 D7400000 R EXTP #PAG (cfg),#01H 4DEC D44A3400 R MOV R4,[R10+#POF(cfg+034H)] 4DF0 F6F472E0 MOV 0E072H,R4 ; SOURCE LINE # 140 4DF4 D7400000 R EXTP #PAG (cfg),#01H 4DF8 D44A3600 R MOV R4,[R10+#POF(cfg+036H)] 4DFC F6F474E0 MOV 0E074H,R4 ; SOURCE LINE # 142 4E00 D7400000 R EXTP #PAG (cfg),#01H 4E04 D44A3800 R MOV R4,[R10+#POF(cfg+038H)] 4E08 F6F40000 E MOV CFG_ENC_HO,R4 ; SOURCE LINE # 143 4E0C D7400000 R EXTP #PAG (cfg),#01H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 144 4E10 D44A3A00 R MOV R4,[R10+#POF(cfg+03AH)] 4E14 F6F40000 E MOV CFG_ENC_VE,R4 ; SOURCE LINE # 145 4E18 D7400000 R EXTP #PAG (cfg),#01H 4E1C F48A3C00 R MOVB RL4,[R10+#POF(cfg+03CH)] 4E20 6983 ANDB RL4,#03H 4E22 F7F80000 E MOVB ENC_FLAGS,RL4 ; SOURCE LINE # 147 4E26 ?C0521: 4E26 DB00 RETS ; FUNCTION getConfiguration (END RMASK = @0x55F0) ; FUNCTION setConfiguration (BEGIN RMASK = @0x5FD0) ; SOURCE LINE # 151 ; SOURCE LINE # 153 4E28 F2F808E0 MOV R8,0E008H 4E2C F2F90AE0 MOV R9,0E00AH 4E30 F2FA0CE0 MOV R10,0E00CH 4E34 F2FB0EE0 MOV R11,0E00EH 4E38 F2F70000 R MOV R7,curconfig 4E3C F0C7 MOV R12,R7 4E3E F047 MOV R4,R7 4E40 5C5C SHL R12,#05H 4E42 20C7 SUB R12,R7 4E44 5C1C SHL R12,#01H 4E46 E6F40200 R MOV R4,#POF (cfg+02H) 4E4A 004C ADD R4,R12 4E4C D7700000 R EXTP #PAG (cfg),#04H 4E50 B884 MOV [R4],R8 4E52 C4940200 MOV [R4+#POF(02H)],R9 4E56 C4A40400 MOV [R4+#POF(04H)],R10 4E5A C4B40600 MOV [R4+#POF(06H)],R11 ; SOURCE LINE # 154 4E5E F2F800E0 MOV R8,0E000H 4E62 F2F902E0 MOV R9,0E002H 4E66 F2FA04E0 MOV R10,0E004H 4E6A F2FB06E0 MOV R11,0E006H 4E6E E6F40A00 R MOV R4,#POF (cfg+0AH) 4E72 004C ADD R4,R12 4E74 D7700000 R EXTP #PAG (cfg),#04H 4E78 B884 MOV [R4],R8 4E7A C4940200 MOV [R4+#POF(02H)],R9 4E7E C4A40400 MOV [R4+#POF(04H)],R10 4E82 C4B40600 MOV [R4+#POF(06H)],R11 ; SOURCE LINE # 156 4E86 F2F80000 E MOV R8,CFG_HSTS_HO 4E8A F2F90200 E MOV R9,CFG_HSTS_HO+02H 4E8E F2FA0400 E MOV R10,CFG_HSTS_HO+04H 4E92 F2FB0600 E MOV R11,CFG_HSTS_HO+06H 4E96 E6F41200 R MOV R4,#POF (cfg+012H) 4E9A 004C ADD R4,R12 4E9C D7700000 R EXTP #PAG (cfg),#04H 4EA0 B884 MOV [R4],R8 4EA2 C4940200 MOV [R4+#POF(02H)],R9 4EA6 C4A40400 MOV [R4+#POF(04H)],R10 4EAA C4B40600 MOV [R4+#POF(06H)],R11 ; SOURCE LINE # 157 4EAE F2F80000 E MOV R8,CFG_HSTS_VE 4EB2 F2F90200 E MOV R9,CFG_HSTS_VE+02H 4EB6 F2FA0400 E MOV R10,CFG_HSTS_VE+04H 4EBA F2FB0600 E MOV R11,CFG_HSTS_VE+06H 4EBE E6F41A00 R MOV R4,#POF (cfg+01AH) 4EC2 004C ADD R4,R12 4EC4 D7700000 R EXTP #PAG (cfg),#04H 4EC8 B884 MOV [R4],R8 4ECA C4940200 MOV [R4+#POF(02H)],R9 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 145 4ECE C4A40400 MOV [R4+#POF(04H)],R10 4ED2 C4B40600 MOV [R4+#POF(06H)],R11 ; SOURCE LINE # 158 4ED6 F2F80000 E MOV R8,CFG_HSTS_FR 4EDA F2F90200 E MOV R9,CFG_HSTS_FR+02H 4EDE F2FA0400 E MOV R10,CFG_HSTS_FR+04H 4EE2 F2FB0600 E MOV R11,CFG_HSTS_FR+06H 4EE6 E6F42200 R MOV R4,#POF (cfg+022H) 4EEA 004C ADD R4,R12 4EEC D7700000 R EXTP #PAG (cfg),#04H 4EF0 B884 MOV [R4],R8 4EF2 C4940200 MOV [R4+#POF(02H)],R9 4EF6 C4A40400 MOV [R4+#POF(04H)],R10 4EFA C4B40600 MOV [R4+#POF(06H)],R11 ; SOURCE LINE # 160 4EFE F2F668E0 MOV R6,0E068H 4F02 D7400000 R EXTP #PAG (cfg),#01H 4F06 C46C2A00 R MOV [R12+#POF(cfg+02AH)],R6 ; SOURCE LINE # 161 4F0A F2F66AE0 MOV R6,0E06AH 4F0E D7400000 R EXTP #PAG (cfg),#01H 4F12 C46C2C00 R MOV [R12+#POF(cfg+02CH)],R6 ; SOURCE LINE # 163 4F16 F2F66CE0 MOV R6,0E06CH 4F1A D7400000 R EXTP #PAG (cfg),#01H 4F1E C46C2E00 R MOV [R12+#POF(cfg+02EH)],R6 ; SOURCE LINE # 164 4F22 F2F66EE0 MOV R6,0E06EH 4F26 D7400000 R EXTP #PAG (cfg),#01H 4F2A C46C3000 R MOV [R12+#POF(cfg+030H)],R6 ; SOURCE LINE # 166 4F2E F2F670E0 MOV R6,0E070H 4F32 D7400000 R EXTP #PAG (cfg),#01H 4F36 C46C3200 R MOV [R12+#POF(cfg+032H)],R6 ; SOURCE LINE # 167 4F3A F2F672E0 MOV R6,0E072H 4F3E D7400000 R EXTP #PAG (cfg),#01H 4F42 C46C3400 R MOV [R12+#POF(cfg+034H)],R6 ; SOURCE LINE # 169 4F46 F2F674E0 MOV R6,0E074H 4F4A D7400000 R EXTP #PAG (cfg),#01H 4F4E C46C3600 R MOV [R12+#POF(cfg+036H)],R6 ; SOURCE LINE # 171 4F52 F2F60000 E MOV R6,CFG_ENC_HO 4F56 D7400000 R EXTP #PAG (cfg),#01H 4F5A C46C3800 R MOV [R12+#POF(cfg+038H)],R6 ; SOURCE LINE # 172 4F5E F2F60000 E MOV R6,CFG_ENC_VE 4F62 D7400000 R EXTP #PAG (cfg),#01H 4F66 C46C3A00 R MOV [R12+#POF(cfg+03AH)],R6 ; SOURCE LINE # 174 4F6A F3FC0000 E MOVB RL6,ENC_FLAGS 4F6E D7400000 R EXTP #PAG (cfg),#01H 4F72 E4CC3C00 R MOVB [R12+#POF(cfg+03CH)],RL6 ; SOURCE LINE # 176 4F76 E6F63930 MOV R6,#03039H 4F7A D7400000 R EXTP #PAG (cfg),#01H 4F7E C46C0000 R MOV [R12+#POF(cfg)],R6 ; SOURCE LINE # 177 4F82 DB00 RETS ; FUNCTION setConfiguration (END RMASK = @0x5FD0) ; FUNCTION config_reset (BEGIN RMASK = @0x55F0) ; SOURCE LINE # 182 ; SOURCE LINE # 185 4F84 E6F4A00F MOV R4,#0FA0H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 146 4F88 F6F40000 E MOV CFG_ENC_HO,R4 ; SOURCE LINE # 186 4F8C F6F40000 E MOV CFG_ENC_VE,R4 ; SOURCE LINE # 188 4F90 E6F4A80C MOV R4,#0CA8H 4F94 F6F40000 E MOV ARC10PERENCHO,R4 ; SOURCE LINE # 189 4F98 F6F40000 E MOV ARC10PERENCVE,R4 ; SOURCE LINE # 192 4F9C E6F412F6 MOV R4,#0F612H 4FA0 E6F5ED24 MOV R5,#024EDH 4FA4 E6F62262 MOV R6,#06222H 4FA8 E6F74840 MOV R7,#04048H 4FAC F6F408E0 MOV 0E008H,R4 4FB0 F6F50AE0 MOV 0E00AH,R5 4FB4 F6F60CE0 MOV 0E00CH,R6 4FB8 F6F70EE0 MOV 0E00EH,R7 ; SOURCE LINE # 193 4FBC E6F41D8E MOV R4,#08E1DH 4FC0 E6F5AED2 MOV R5,#0D2AEH 4FC4 E6F6DD5D MOV R6,#05DDDH 4FC8 E6F72240 MOV R7,#04022H 4FCC F6F400E0 MOV 0E000H,R4 4FD0 F6F502E0 MOV 0E002H,R5 4FD4 F6F604E0 MOV 0E004H,R6 4FD8 F6F706E0 MOV 0E006H,R7 ; SOURCE LINE # 195 4FDC F68E0000 E MOV CUR_ARC10_HO,ZEROS 4FE0 F68E0200 E MOV CUR_ARC10_HO+02H,ZEROS ; SOURCE LINE # 196 4FE4 F68E0000 E MOV CUR_ARC10_VE,ZEROS 4FE8 F68E0200 E MOV CUR_ARC10_VE+02H,ZEROS ; SOURCE LINE # 197 4FEC E004 MOV R4,#00H 4FEE E005 MOV R5,#00H 4FF0 F6F440E0 MOV 0E040H,R4 4FF4 F6F542E0 MOV 0E042H,R5 ; SOURCE LINE # 198 4FF8 F6F444E0 MOV 0E044H,R4 4FFC F6F546E0 MOV 0E046H,R5 ; SOURCE LINE # 199 5000 F68E0000 E MOV ENC_ARC10_HO,ZEROS 5004 F68E0200 E MOV ENC_ARC10_HO+02H,ZEROS ; SOURCE LINE # 200 5008 F68E0000 E MOV ENC_ARC10_VE,ZEROS 500C F68E0200 E MOV ENC_ARC10_VE+02H,ZEROS ; SOURCE LINE # 201 5010 F68E0000 E MOV CUR_HSTEPS_HO,ZEROS 5014 F68E0200 E MOV CUR_HSTEPS_HO+02H,ZEROS ; SOURCE LINE # 202 5018 F68E0000 E MOV CUR_HSTEPS_VE,ZEROS 501C F68E0200 E MOV CUR_HSTEPS_VE+02H,ZEROS ; SOURCE LINE # 203 5020 F68E0000 E MOV TRG_HSTEPS_HO,ZEROS 5024 F68E0200 E MOV TRG_HSTEPS_HO+02H,ZEROS ; SOURCE LINE # 204 5028 F68E0000 E MOV TRG_HSTEPS_VE,ZEROS 502C F68E0200 E MOV TRG_HSTEPS_VE+02H,ZEROS ; SOURCE LINE # 206 5030 E6F4A0F1 MOV R4,#0F1A0H 5034 E045 MOV R5,#04H 5036 F6F40000 E MOV HSTEPSHO090,R4 503A F6F50200 E MOV HSTEPSHO090+02H,R5 ; SOURCE LINE # 207 503E E6F440E3 MOV R4,#0E340H 5042 E095 MOV R5,#09H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 147 5044 F6F40000 E MOV HSTEPSHO180,R4 5048 F6F50200 E MOV HSTEPSHO180+02H,R5 ; SOURCE LINE # 208 504C E6F4E0D4 MOV R4,#0D4E0H 5050 E0E5 MOV R5,#0EH 5052 F6F40000 E MOV HSTEPSHO270,R4 5056 F6F50200 E MOV HSTEPSHO270+02H,R5 ; SOURCE LINE # 209 505A E6F47FC6 MOV R4,#0C67FH 505E E6F51300 MOV R5,#013H 5062 F6F40000 E MOV HSTEPSHO359,R4 5066 F6F50200 E MOV HSTEPSHO359+02H,R5 ; SOURCE LINE # 211 506A E6F7F03F MOV R7,#03FF0H 506E F68E0000 E MOV CFG_HSTS_HO,ZEROS 5072 F68E0200 E MOV CFG_HSTS_HO+02H,ZEROS 5076 F68E0400 E MOV CFG_HSTS_HO+04H,ZEROS 507A F6F70600 E MOV CFG_HSTS_HO+06H,R7 ; SOURCE LINE # 212 507E F68E0000 E MOV CFG_HSTS_VE,ZEROS 5082 F68E0200 E MOV CFG_HSTS_VE+02H,ZEROS 5086 F68E0400 E MOV CFG_HSTS_VE+04H,ZEROS 508A F6F70600 E MOV CFG_HSTS_VE+06H,R7 ; SOURCE LINE # 213 508E F68E0000 E MOV CFG_HSTS_FR,ZEROS 5092 F68E0200 E MOV CFG_HSTS_FR+02H,ZEROS 5096 F68E0400 E MOV CFG_HSTS_FR+04H,ZEROS 509A F6F70600 E MOV CFG_HSTS_FR+06H,R7 ; SOURCE LINE # 215 509E E6F45802 MOV R4,#0258H 50A2 F6F468E0 MOV 0E068H,R4 ; SOURCE LINE # 216 50A6 F6F46AE0 MOV 0E06AH,R4 ; SOURCE LINE # 218 50AA E054 MOV R4,#05H 50AC F6F46CE0 MOV 0E06CH,R4 ; SOURCE LINE # 219 50B0 F6F46EE0 MOV 0E06EH,R4 ; SOURCE LINE # 221 50B4 F6F470E0 MOV 0E070H,R4 ; SOURCE LINE # 222 50B8 F6F472E0 MOV 0E072H,R4 ; SOURCE LINE # 224 50BC E004 MOV R4,#00H 50BE E005 MOV R5,#00H 50C0 E006 MOV R6,#00H 50C2 E007 MOV R7,#00H 50C4 F6F448E0 MOV 0E048H,R4 50C8 F6F54AE0 MOV 0E04AH,R5 50CC F6F64CE0 MOV 0E04CH,R6 50D0 F6F74EE0 MOV 0E04EH,R7 ; SOURCE LINE # 225 50D4 F6F450E0 MOV 0E050H,R4 50D8 F6F552E0 MOV 0E052H,R5 50DC F6F654E0 MOV 0E054H,R6 50E0 F6F756E0 MOV 0E056H,R7 ; SOURCE LINE # 226 50E4 F6F458E0 MOV 0E058H,R4 50E8 F6F55AE0 MOV 0E05AH,R5 50EC F6F65CE0 MOV 0E05CH,R6 50F0 F6F75EE0 MOV 0E05EH,R7 ; SOURCE LINE # 227 50F4 F6F460E0 MOV 0E060H,R4 50F8 F6F562E0 MOV 0E062H,R5 50FC F6F664E0 MOV 0E064H,R6 5100 F6F766E0 MOV 0E066H,R7 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 148 ; SOURCE LINE # 230 5104 F2F50000 R MOV R5,curconfig 5108 6D02 JMPR cc_N,?C0523 510A 4853 CMP R5,#03H 510C BD02 JMPR cc_SLE,?C0522 510E ?C0523: ; SOURCE LINE # 231 510E F68E0000 R MOV curconfig,ZEROS ; SOURCE LINE # 232 5112 ?C0522: ; SOURCE LINE # 234 5112 DA000000 R CALLS SEG (getConfiguration),getConfiguration ; SOURCE LINE # 235 5116 DB00 RETS ; FUNCTION config_reset (END RMASK = @0x55F0) ; FUNCTION config (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 241 5118 ECFD PUSH R13 511A ECFE PUSH R14 511C ECFF PUSH R15 ;---- Variable 'v1' assigned to Register 'R15' ---- 511E 06F0F0FF ADD R0,#0FFF0H ; SOURCE LINE # 247 5122 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 248 5126 E018 MOV R8,#01H 5128 DA000000 R CALLS SEG (wait_10ms),wait_10ms ; SOURCE LINE # 250 512C E00E MOV R14,#00H ;---- Variable 'y' assigned to Register 'R14' ---- ; SOURCE LINE # 251 512E E00D MOV R13,#00H ;---- Variable '_y' assigned to Register 'R13' ---- ; SOURCE LINE # 252 5130 E014 MOV R4,#01H 5132 C4400E00 MOV [R0+#0EH],R4 ; upd ; SOURCE LINE # 254 5136 E108 MOVB RL4,#00H 5138 E4800A00 MOVB [R0+#0AH],RL4 ; KEY ; SOURCE LINE # 255 513C EA000C56 R JMPA cc_UC,?C0524 5140 ?C0526: ; SOURCE LINE # 257 5140 D4400E00 MOV R4,[R0+#0EH] ; upd 5144 2D56 JMPR cc_Z,?C0528 ; SOURCE LINE # 259 5146 F2F40000 R MOV R4,curconfig 514A 2841 SUB R4,#01H 514C 2D0B JMPR cc_Z,?C0531 514E 2841 SUB R4,#01H 5150 2D0E JMPR cc_Z,?C0532 5152 2841 SUB R4,#01H 5154 2D11 JMPR cc_Z,?C0533 5156 0843 ADD R4,#03H 5158 3D13 JMPR cc_NZ,?C0529 ; SOURCE LINE # 260 515A ?C0530: 515A E7F83100 MOVB RL4,#031H 515E E4800C00 MOVB [R0+#0CH],RL4 ; cf 5162 0D0E JMPR cc_UC,?C0529 ; SOURCE LINE # 261 5164 ?C0531: 5164 E7F83200 MOVB RL4,#032H 5168 E4800C00 MOVB [R0+#0CH],RL4 ; cf 516C 0D09 JMPR cc_UC,?C0529 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 149 ; SOURCE LINE # 262 516E ?C0532: 516E E7F83300 MOVB RL4,#033H 5172 E4800C00 MOVB [R0+#0CH],RL4 ; cf 5176 0D04 JMPR cc_UC,?C0529 ; SOURCE LINE # 263 5178 ?C0533: 5178 E7F83400 MOVB RL4,#034H 517C E4800C00 MOVB [R0+#0CH],RL4 ; cf ; SOURCE LINE # 264 5180 ?C0529: ; SOURCE LINE # 266 5180 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 267 5184 F04E MOV R4,R14 5186 5C34 SHL R4,#03H 5188 004E ADD R4,R14 518A 5C14 SHL R4,#01H 518C E6FA0000 R MOV R10,#POF (cfg_txt) 5190 E6FB0000 R MOV R11,#PAG (cfg_txt) 5194 00A4 ADD R10,R4 5196 E009 MOV R9,#00H 5198 E008 MOV R8,#00H 519A DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 268 519E F04E MOV R4,R14 51A0 5C34 SHL R4,#03H 51A2 004E ADD R4,R14 51A4 5C14 SHL R4,#01H 51A6 E6FA1200 R MOV R10,#POF (cfg_txt+012H) 51AA E6FB0000 R MOV R11,#PAG (cfg_txt) 51AE 00A4 ADD R10,R4 51B0 E009 MOV R9,#00H 51B2 E018 MOV R8,#01H 51B4 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 269 51B8 F04E MOV R4,R14 51BA 5C34 SHL R4,#03H 51BC 004E ADD R4,R14 51BE 5C14 SHL R4,#01H 51C0 E6FA2400 R MOV R10,#POF (cfg_txt+024H) 51C4 E6FB0000 R MOV R11,#PAG (cfg_txt) 51C8 00A4 ADD R10,R4 51CA E009 MOV R9,#00H 51CC E028 MOV R8,#02H 51CE DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 270 51D2 F04E MOV R4,R14 51D4 5C34 SHL R4,#03H 51D6 004E ADD R4,R14 51D8 5C14 SHL R4,#01H 51DA E6FA3600 R MOV R10,#POF (cfg_txt+036H) 51DE E6FB0000 R MOV R11,#PAG (cfg_txt) 51E2 00A4 ADD R10,R4 51E4 E009 MOV R9,#00H 51E6 E038 MOV R8,#03H 51E8 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 272 51EC E004 MOV R4,#00H 51EE C4400E00 MOV [R0+#0EH],R4 ; upd ; SOURCE LINE # 273 51F2 ?C0528: ; SOURCE LINE # 275 51F2 E009 MOV R9,#00H 51F4 F04D MOV R4,R13 51F6 C088 MOVBZ R8,RL4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 150 51F8 DA000000 R CALLS SEG (lcd_setcursor),lcd_setcursor ; SOURCE LINE # 276 51FC F4800C00 MOVB RL4,[R0+#0CH] ; cf 5200 C088 MOVBZ R8,RL4 5202 DA000000 R CALLS SEG (lcd_putchar),lcd_putchar ; SOURCE LINE # 279 5206 DA000000 R CALLS SEG (readkey),readkey 520A F1A8 MOVB RL5,RL4 520C E4A00A00 MOVB [R0+#0AH],RL5 ; KEY ; SOURCE LINE # 281 5210 47FA4400 CMPB RL5,#044H 5214 3D18 JMPR cc_NZ,?C0534 ; SOURCE LINE # 283 5216 E009 MOV R9,#00H 5218 F04D MOV R4,R13 521A C088 MOVBZ R8,RL4 521C DA000000 R CALLS SEG (lcd_setcursor),lcd_setcursor ; SOURCE LINE # 284 5220 E6F82000 MOV R8,#020H 5224 DA000000 R CALLS SEG (lcd_putchar),lcd_putchar ; SOURCE LINE # 286 5228 08D1 ADD R13,#01H ; SOURCE LINE # 287 522A F04D MOV R4,R13 522C 4983 CMPB RL4,#03H 522E EAF00C56 R JMPA cc_ULE,?C0524 ; SOURCE LINE # 288 5232 46FE1900 CMP R14,#019H 5236 DD04 JMPR cc_SGE,?C0536 ; SOURCE LINE # 289 5238 08E1 ADD R14,#01H ; SOURCE LINE # 290 523A E014 MOV R4,#01H 523C C4400E00 MOV [R0+#0EH],R4 ; upd ; SOURCE LINE # 291 5240 ?C0536: ; SOURCE LINE # 292 5240 E03D MOV R13,#03H ; SOURCE LINE # 293 ; SOURCE LINE # 294 5242 EA000C56 R JMPA cc_UC,?C0524 ; SOURCE LINE # 295 5246 ?C0534: ; SOURCE LINE # 297 5246 F4800A00 MOVB RL4,[R0+#0AH] ; KEY 524A 47F85500 CMPB RL4,#055H 524E 3D18 JMPR cc_NZ,?C0537 ; SOURCE LINE # 299 5250 E009 MOV R9,#00H 5252 F04D MOV R4,R13 5254 C088 MOVBZ R8,RL4 5256 DA000000 R CALLS SEG (lcd_setcursor),lcd_setcursor ; SOURCE LINE # 300 525A E6F82000 MOV R8,#020H 525E DA000000 R CALLS SEG (lcd_putchar),lcd_putchar ; SOURCE LINE # 302 5262 F04D MOV R4,R13 5264 4980 CMPB RL4,#00H 5266 FD03 JMPR cc_ULE,?C0538 ; SOURCE LINE # 303 5268 28D1 SUB R13,#01H ; SOURCE LINE # 304 526A EA000C56 R JMPA cc_UC,?C0524 526E ?C0538: ; SOURCE LINE # 306 526E 48E0 CMP R14,#00H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 151 5270 BD04 JMPR cc_SLE,?C0540 ; SOURCE LINE # 307 5272 28E1 SUB R14,#01H ; SOURCE LINE # 308 5274 E014 MOV R4,#01H 5276 C4400E00 MOV [R0+#0EH],R4 ; upd ; SOURCE LINE # 309 527A ?C0540: ; SOURCE LINE # 310 527A E00D MOV R13,#00H ; SOURCE LINE # 311 ; SOURCE LINE # 312 527C EA000C56 R JMPA cc_UC,?C0524 ; SOURCE LINE # 313 5280 ?C0537: ; SOURCE LINE # 316 5280 F4800A00 MOVB RL4,[R0+#0AH] ; KEY 5284 47F84500 CMPB RL4,#045H 5288 EA300C56 R JMPA cc_NZ,?C0524 ; SOURCE LINE # 318 528C F04D MOV R4,R13 528E C085 MOVBZ R5,RL4 5290 005E ADD R5,R14 ;---- Variable 'cmd' assigned to Register 'R5' ---- ; SOURCE LINE # 320 5292 F045 MOV R4,R5 5294 46F41D00 CMP R4,#01DH 5298 EA900656 R JMPA cc_NC,?C0542 529C 5C24 SHL R4,#02H 529E 06F4A452 R ADD R4,#?C0605 52A2 9C04 JMPI cc_UC,[R4] 52A4 ?C0605: 52A4 EA001853 R JMPA cc_UC,?C0543 52A8 EA00A053 R JMPA cc_UC,?C0544 52AC EA00CA53 R JMPA cc_UC,?C0545 52B0 EA00F453 R JMPA cc_UC,?C0546 52B4 EA002454 R JMPA cc_UC,?C0547 52B8 EA005454 R JMPA cc_UC,?C0548 52BC EA007E54 R JMPA cc_UC,?C0549 52C0 EA00A854 R JMPA cc_UC,?C0550 52C4 EA00D254 R JMPA cc_UC,?C0551 52C8 EA00E454 R JMPA cc_UC,?C0552 52CC EA00F654 R JMPA cc_UC,?C0553 52D0 EA000855 R JMPA cc_UC,?C0554 52D4 EA001855 R JMPA cc_UC,?C0555 52D8 EA002855 R JMPA cc_UC,?C0556 52DC EA003855 R JMPA cc_UC,?C0557 52E0 EA004855 R JMPA cc_UC,?C0558 52E4 EA006A55 R JMPA cc_UC,?C0559 52E8 EA008C55 R JMPA cc_UC,?C0560 52EC EA009455 R JMPA cc_UC,?C0561 52F0 EA009C55 R JMPA cc_UC,?C0562 52F4 EA00A455 R JMPA cc_UC,?C0563 52F8 EA00AE55 R JMPA cc_UC,?C0564 52FC EA00B855 R JMPA cc_UC,?C0565 5300 EA00BE55 R JMPA cc_UC,?C0566 5304 EA00C855 R JMPA cc_UC,?C0567 5308 EA00D455 R JMPA cc_UC,?C0568 530C EA00E055 R JMPA cc_UC,?C0569 5310 EA00EC55 R JMPA cc_UC,?C0570 5314 EA00F255 R JMPA cc_UC,?C0571 ; SOURCE LINE # 322 5318 ?C0543: ; SOURCE LINE # 325 5318 DA000000 E CALLS SEG (stopTimerInt),stopTimerInt ; SOURCE LINE # 327 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 152 531C DA000000 R CALLS SEG (usrGetDateTime),usrGetDateTime 5320 4840 CMP R4,#00H 5322 2D3A JMPR cc_Z,?C0572 ; SOURCE LINE # 330 5324 F2F80000 E MOV R8,DAY 5328 DA000000 E CALLS SEG (INT2BCD),INT2BCD 532C E4800500 MOVB [R0+#05H],RL4 ; Time+5 ; SOURCE LINE # 331 5330 F2F80000 E MOV R8,MONTH 5334 DA000000 E CALLS SEG (INT2BCD),INT2BCD 5338 E4800400 MOVB [R0+#04H],RL4 ; Time+4 ; SOURCE LINE # 332 533C F2F80000 E MOV R8,YEAR 5340 DA000000 E CALLS SEG (INT2BCD),INT2BCD 5344 C4400200 MOV [R0+#02H],R4 ; Time+2 ; SOURCE LINE # 333 5348 F2F80000 E MOV R8,HOUR 534C DA000000 E CALLS SEG (INT2BCD),INT2BCD 5350 E4800600 MOVB [R0+#06H],RL4 ; Time+6 ; SOURCE LINE # 334 5354 F2F80000 E MOV R8,MINUTE 5358 DA000000 E CALLS SEG (INT2BCD),INT2BCD 535C E4800700 MOVB [R0+#07H],RL4 ; Time+7 ; SOURCE LINE # 335 5360 F2F80000 E MOV R8,SECOND 5364 DA000000 E CALLS SEG (INT2BCD),INT2BCD 5368 E4800800 MOVB [R0+#08H],RL4 ; Time+8 ; SOURCE LINE # 337 536C E6FAA200 MOV R10,#0A2H 5370 F080 MOV R8,R0 5372 66F8FF3F AND R8,#03FFFH 5376 F2F904FE MOV R9,DPP2 537A DA000000 E CALLS SEG (RTCSetTime),RTCSetTime 537E 4980 CMPB RL4,#00H 5380 EA300656 R JMPA cc_NZ,?C0542 ; SOURCE LINE # 339 5384 F2F90000 E MOV R9,YEAR 5388 F2F80000 E MOV R8,MONTH 538C DA000000 R CALLS SEG (setDaysOfMonth),setDaysOfMonth ; SOURCE LINE # 340 5390 DA000000 E CALLS SEG (startTimerInt),startTimerInt ; SOURCE LINE # 342 5394 EA000656 R JMPA cc_UC,?C0542 5398 ?C0572: ; SOURCE LINE # 345 5398 DA000000 E CALLS SEG (startTimerInt),startTimerInt ; SOURCE LINE # 346 ; SOURCE LINE # 348 539C EA000656 R JMPA cc_UC,?C0542 ; SOURCE LINE # 351 53A0 ?C0544: ; SOURCE LINE # 353 53A0 F2F908E0 MOV R9,0E008H 53A4 F2FA0AE0 MOV R10,0E00AH 53A8 F2FB0CE0 MOV R11,0E00CH 53AC F2FC0EE0 MOV R12,0E00EH 53B0 E008 MOV R8,#00H 53B2 DA000000 R CALLS SEG (usrGetDouble),usrGetDouble 53B6 F6F408E0 MOV 0E008H,R4 53BA F6F50AE0 MOV 0E00AH,R5 53BE F6F60CE0 MOV 0E00CH,R6 53C2 F6F70EE0 MOV 0E00EH,R7 ; SOURCE LINE # 354 53C6 EA000656 R JMPA cc_UC,?C0542 ; SOURCE LINE # 357 53CA ?C0545: C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 153 ; SOURCE LINE # 359 53CA F2F900E0 MOV R9,0E000H 53CE F2FA02E0 MOV R10,0E002H 53D2 F2FB04E0 MOV R11,0E004H 53D6 F2FC06E0 MOV R12,0E006H 53DA E008 MOV R8,#00H 53DC DA000000 R CALLS SEG (usrGetDouble),usrGetDouble 53E0 F6F400E0 MOV 0E000H,R4 53E4 F6F502E0 MOV 0E002H,R5 53E8 F6F604E0 MOV 0E004H,R6 53EC F6F706E0 MOV 0E006H,R7 ; SOURCE LINE # 360 53F0 EA000656 R JMPA cc_UC,?C0542 ; SOURCE LINE # 363 53F4 ?C0546: ; SOURCE LINE # 365 53F4 F2F90000 E MOV R9,CFG_ENC_HO 53F8 E008 MOV R8,#00H 53FA DA000000 R CALLS SEG (usrGetInt),usrGetInt 53FE F6F40000 E MOV CFG_ENC_HO,R4 ; SOURCE LINE # 366 5402 F2F60000 E MOV R6,CFG_ENC_HO 5406 E6F400C1 MOV R4,#0C100H 540A E6F5C500 MOV R5,#0C5H 540E F6F40EFE MOV MDL,R4 5412 F6F50CFE MOV MDH,R5 5416 6B66 DIVL R6 5418 F2F40EFE MOV R4,MDL 541C F6F40000 E MOV ARC10PERENCHO,R4 ; SOURCE LINE # 367 5420 EA000656 R JMPA cc_UC,?C0542 ; SOURCE LINE # 369 5424 ?C0547: ; SOURCE LINE # 371 5424 F2F90000 E MOV R9,CFG_ENC_VE 5428 E008 MOV R8,#00H 542A DA000000 R CALLS SEG (usrGetInt),usrGetInt 542E F6F40000 E MOV CFG_ENC_VE,R4 ; SOURCE LINE # 372 5432 F2F60000 E MOV R6,CFG_ENC_VE 5436 E6F400C1 MOV R4,#0C100H 543A E6F5C500 MOV R5,#0C5H 543E F6F40EFE MOV MDL,R4 5442 F6F50CFE MOV MDH,R5 5446 6B66 DIVL R6 5448 F2F40EFE MOV R4,MDL 544C F6F40000 E MOV ARC10PERENCVE,R4 ; SOURCE LINE # 373 5450 EA000656 R JMPA cc_UC,?C0542 ; SOURCE LINE # 375 5454 ?C0548: ; SOURCE LINE # 377 5454 F2F90000 E MOV R9,CFG_HSTS_HO 5458 F2FA0200 E MOV R10,CFG_HSTS_HO+02H 545C F2FB0400 E MOV R11,CFG_HSTS_HO+04H 5460 F2FC0600 E MOV R12,CFG_HSTS_HO+06H 5464 E008 MOV R8,#00H 5466 DA000000 R CALLS SEG (usrGetDouble),usrGetDouble 546A F6F40000 E MOV CFG_HSTS_HO,R4 546E F6F50200 E MOV CFG_HSTS_HO+02H,R5 5472 F6F60400 E MOV CFG_HSTS_HO+04H,R6 5476 F6F70600 E MOV CFG_HSTS_HO+06H,R7 ; SOURCE LINE # 378 547A EA000656 R JMPA cc_UC,?C0542 ; SOURCE LINE # 380 547E ?C0549: C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 154 ; SOURCE LINE # 382 547E F2F90000 E MOV R9,CFG_HSTS_VE 5482 F2FA0200 E MOV R10,CFG_HSTS_VE+02H 5486 F2FB0400 E MOV R11,CFG_HSTS_VE+04H 548A F2FC0600 E MOV R12,CFG_HSTS_VE+06H 548E E008 MOV R8,#00H 5490 DA000000 R CALLS SEG (usrGetDouble),usrGetDouble 5494 F6F40000 E MOV CFG_HSTS_VE,R4 5498 F6F50200 E MOV CFG_HSTS_VE+02H,R5 549C F6F60400 E MOV CFG_HSTS_VE+04H,R6 54A0 F6F70600 E MOV CFG_HSTS_VE+06H,R7 ; SOURCE LINE # 383 54A4 EA000656 R JMPA cc_UC,?C0542 ; SOURCE LINE # 385 54A8 ?C0550: ; SOURCE LINE # 387 54A8 F2F90000 E MOV R9,CFG_HSTS_FR 54AC F2FA0200 E MOV R10,CFG_HSTS_FR+02H 54B0 F2FB0400 E MOV R11,CFG_HSTS_FR+04H 54B4 F2FC0600 E MOV R12,CFG_HSTS_FR+06H 54B8 E008 MOV R8,#00H 54BA DA000000 R CALLS SEG (usrGetDouble),usrGetDouble 54BE F6F40000 E MOV CFG_HSTS_FR,R4 54C2 F6F50200 E MOV CFG_HSTS_FR+02H,R5 54C6 F6F60400 E MOV CFG_HSTS_FR+04H,R6 54CA F6F70600 E MOV CFG_HSTS_FR+06H,R7 ; SOURCE LINE # 388 54CE EA000656 R JMPA cc_UC,?C0542 ; SOURCE LINE # 390 54D2 ?C0551: ; SOURCE LINE # 392 54D2 F2F968E0 MOV R9,0E068H 54D6 E008 MOV R8,#00H 54D8 DA000000 R CALLS SEG (usrGetInt),usrGetInt 54DC F6F468E0 MOV 0E068H,R4 ; SOURCE LINE # 393 54E0 EA000656 R JMPA cc_UC,?C0542 ; SOURCE LINE # 395 54E4 ?C0552: ; SOURCE LINE # 397 54E4 F2F96AE0 MOV R9,0E06AH 54E8 E008 MOV R8,#00H 54EA DA000000 R CALLS SEG (usrGetInt),usrGetInt 54EE F6F46AE0 MOV 0E06AH,R4 ; SOURCE LINE # 398 54F2 EA000656 R JMPA cc_UC,?C0542 ; SOURCE LINE # 400 54F6 ?C0553: ; SOURCE LINE # 402 54F6 F2F96CE0 MOV R9,0E06CH 54FA E008 MOV R8,#00H 54FC DA000000 R CALLS SEG (usrGetInt),usrGetInt 5500 F6F46CE0 MOV 0E06CH,R4 ; SOURCE LINE # 403 5504 EA000656 R JMPA cc_UC,?C0542 ; SOURCE LINE # 405 5508 ?C0554: ; SOURCE LINE # 407 5508 F2F96EE0 MOV R9,0E06EH 550C E008 MOV R8,#00H 550E DA000000 R CALLS SEG (usrGetInt),usrGetInt 5512 F6F46EE0 MOV 0E06EH,R4 ; SOURCE LINE # 408 5516 0D77 JMPR cc_UC,?C0542 ; SOURCE LINE # 410 5518 ?C0555: C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 155 ; SOURCE LINE # 412 5518 F2F970E0 MOV R9,0E070H 551C E008 MOV R8,#00H 551E DA000000 R CALLS SEG (usrGetInt),usrGetInt 5522 F6F470E0 MOV 0E070H,R4 ; SOURCE LINE # 413 5526 0D6F JMPR cc_UC,?C0542 ; SOURCE LINE # 415 5528 ?C0556: ; SOURCE LINE # 417 5528 F2F972E0 MOV R9,0E072H 552C E008 MOV R8,#00H 552E DA000000 R CALLS SEG (usrGetInt),usrGetInt 5532 F6F472E0 MOV 0E072H,R4 ; SOURCE LINE # 418 5536 0D67 JMPR cc_UC,?C0542 ; SOURCE LINE # 420 5538 ?C0557: ; SOURCE LINE # 422 5538 F2F974E0 MOV R9,0E074H 553C E008 MOV R8,#00H 553E DA000000 R CALLS SEG (usrGetInt),usrGetInt 5542 F6F474E0 MOV 0E074H,R4 ; SOURCE LINE # 423 5546 0D5F JMPR cc_UC,?C0542 ; SOURCE LINE # 425 5548 ?C0558: ; SOURCE LINE # 427 5548 E00F MOV R15,#00H ; SOURCE LINE # 428 554A 9A000100 E JNB ENCHO_USE,?C0575 ; SOURCE LINE # 429 554E E01F MOV R15,#01H ; SOURCE LINE # 430 5550 ?C0575: ; SOURCE LINE # 431 5550 F0AF MOV R10,R15 5552 E6F80000 R MOV R8,#POF (SC?30C) 5556 E6F90000 R MOV R9,#PAG (SC?30C) 555A DA000000 R CALLS SEG (usrGetOnOff),usrGetOnOff 555E F0F4 MOV R15,R4 ; SOURCE LINE # 432 5560 0E00 E BCLR ENCHO_USE ; SOURCE LINE # 433 5562 48F0 CMP R15,#00H 5564 2D50 JMPR cc_Z,?C0542 ; SOURCE LINE # 434 5566 0F00 E BSET ENCHO_USE ; SOURCE LINE # 435 ; SOURCE LINE # 436 5568 0D4E JMPR cc_UC,?C0542 ; SOURCE LINE # 438 556A ?C0559: ; SOURCE LINE # 440 556A E00F MOV R15,#00H ; SOURCE LINE # 441 556C 9A000100 E JNB ENCVE_USE,?C0577 ; SOURCE LINE # 442 5570 E01F MOV R15,#01H ; SOURCE LINE # 443 5572 ?C0577: ; SOURCE LINE # 444 5572 F0AF MOV R10,R15 5574 E6F80000 R MOV R8,#POF (SC?301) 5578 E6F90000 R MOV R9,#PAG (SC?301) 557C DA000000 R CALLS SEG (usrGetOnOff),usrGetOnOff C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 156 5580 F0F4 MOV R15,R4 ; SOURCE LINE # 445 5582 0E00 E BCLR ENCVE_USE ; SOURCE LINE # 446 5584 48F0 CMP R15,#00H 5586 2D3F JMPR cc_Z,?C0542 ; SOURCE LINE # 447 5588 0F00 E BSET ENCVE_USE ; SOURCE LINE # 448 ; SOURCE LINE # 449 558A 0D3D JMPR cc_UC,?C0542 ; SOURCE LINE # 452 558C ?C0560: ; SOURCE LINE # 454 558C E018 MOV R8,#01H 558E DA000000 R CALLS SEG (showEncoders),showEncoders ; SOURCE LINE # 455 5592 0D39 JMPR cc_UC,?C0542 ; SOURCE LINE # 457 5594 ?C0561: ; SOURCE LINE # 459 5594 E028 MOV R8,#02H 5596 DA000000 R CALLS SEG (showEncoders),showEncoders ; SOURCE LINE # 460 559A 0D35 JMPR cc_UC,?C0542 ; SOURCE LINE # 462 559C ?C0562: ; SOURCE LINE # 464 559C E038 MOV R8,#03H 559E DA000000 R CALLS SEG (showEncoders),showEncoders ; SOURCE LINE # 465 55A2 0D31 JMPR cc_UC,?C0542 ; SOURCE LINE # 467 55A4 ?C0563: ; SOURCE LINE # 468 55A4 9A002F00 E JNB ENCHO_USE,?C0542 ; SOURCE LINE # 469 55A8 DA000000 R CALLS SEG (encAutoTestHo),encAutoTestHo ; SOURCE LINE # 470 ; SOURCE LINE # 471 55AC 0D2C JMPR cc_UC,?C0542 ; SOURCE LINE # 473 55AE ?C0564: ; SOURCE LINE # 474 55AE 9A002A00 E JNB ENCVE_USE,?C0542 ; SOURCE LINE # 475 55B2 DA000000 R CALLS SEG (encAutoTestVe),encAutoTestVe ; SOURCE LINE # 476 ; SOURCE LINE # 477 55B6 0D27 JMPR cc_UC,?C0542 ; SOURCE LINE # 479 55B8 ?C0565: ; SOURCE LINE # 480 55B8 DA000000 R CALLS SEG (setConfiguration),setConfiguration ; SOURCE LINE # 481 55BC 0D24 JMPR cc_UC,?C0542 ; SOURCE LINE # 483 55BE ?C0566: ; SOURCE LINE # 484 55BE F68E0000 R MOV curconfig,ZEROS ; SOURCE LINE # 485 55C2 DA000000 R CALLS SEG (getConfiguration),getConfiguration ; SOURCE LINE # 486 55C6 0D1F JMPR cc_UC,?C0542 ; SOURCE LINE # 488 55C8 ?C0567: C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 157 ; SOURCE LINE # 489 55C8 E014 MOV R4,#01H 55CA F6F40000 R MOV curconfig,R4 ; SOURCE LINE # 490 55CE DA000000 R CALLS SEG (getConfiguration),getConfiguration ; SOURCE LINE # 491 55D2 0D19 JMPR cc_UC,?C0542 ; SOURCE LINE # 493 55D4 ?C0568: ; SOURCE LINE # 494 55D4 E024 MOV R4,#02H 55D6 F6F40000 R MOV curconfig,R4 ; SOURCE LINE # 495 55DA DA000000 R CALLS SEG (getConfiguration),getConfiguration ; SOURCE LINE # 496 55DE 0D13 JMPR cc_UC,?C0542 ; SOURCE LINE # 498 55E0 ?C0569: ; SOURCE LINE # 499 55E0 E034 MOV R4,#03H 55E2 F6F40000 R MOV curconfig,R4 ; SOURCE LINE # 500 55E6 DA000000 R CALLS SEG (getConfiguration),getConfiguration ; SOURCE LINE # 501 55EA 0D0D JMPR cc_UC,?C0542 ; SOURCE LINE # 503 55EC ?C0570: ; SOURCE LINE # 504 55EC DA000000 E CALLS SEG (setListObj),setListObj ; SOURCE LINE # 505 55F0 0D0A JMPR cc_UC,?C0542 ; SOURCE LINE # 507 55F2 ?C0571: ; SOURCE LINE # 508 55F2 E6F80000 R MOV R8,#POF (SC?2F0) 55F6 E6F90000 R MOV R9,#PAG (SC?2F0) 55FA DA000000 R CALLS SEG (usrGetAck),usrGetAck 55FE 4840 CMP R4,#00H 5600 2D02 JMPR cc_Z,?C0542 ; SOURCE LINE # 509 5602 DA000000 E CALLS SEG (serialObjListDownload),serialObjListDownload ; SOURCE LINE # 510 ; SOURCE LINE # 511 ; SOURCE LINE # 514 5606 ?C0542: ; SOURCE LINE # 516 5606 E014 MOV R4,#01H 5608 C4400E00 MOV [R0+#0EH],R4 ; upd ; SOURCE LINE # 518 560C ?C0524: 560C F4800A00 MOVB RL4,[R0+#0AH] ; KEY 5610 47F84300 CMPB RL4,#043H 5614 EA304051 R JMPA cc_NZ,?C0526 5618 ?C0525: ; SOURCE LINE # 523 5618 06F01000 ADD R0,#010H 561C FCFF POP R15 561E FCFE POP R14 5620 FCFD POP R13 5622 DB00 RETS ; FUNCTION config (END RMASK = @0x7FFF) ; FUNCTION main (BEGIN RMASK = @0x7FFF) ; SOURCE LINE # 529 ;---- Variable 'cf' assigned to Register 'R14' ---- 5624 06F0F6FF ADD R0,#0FFF6H C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 158 ; SOURCE LINE # 530 ; SOURCE LINE # 535 5628 E60C0604 MOV ADDRSEL1,#0406H ; SOURCE LINE # 536 562C E68AAE04 MOV BUSCON1,#04AEH ; SOURCE LINE # 538 5630 E60D0608 MOV ADDRSEL2,#0806H ; SOURCE LINE # 539 5634 E68B0BC4 MOV BUSCON2,#0C40BH ; SOURCE LINE # 541 5638 E60E060C MOV ADDRSEL3,#0C06H ; SOURCE LINE # 542 563C E68CAE04 MOV BUSCON3,#04AEH ; SOURCE LINE # 544 5640 E60F0010 MOV ADDRSEL4,#01000H ; SOURCE LINE # 545 5644 E68D0D06 MOV BUSCON4,#060DH ; SOURCE LINE # 548 5648 8EE1 BCLR DP2_8 ; SOURCE LINE # 549 564A 9EE1 BCLR DP2_9 ; SOURCE LINE # 550 564C AEE1 BCLR DP2_10 ; SOURCE LINE # 551 564E BEE1 BCLR DP2_11 ; SOURCE LINE # 553 5650 0FE9 BSET DP7_0 ; SOURCE LINE # 554 5652 1FE9 BSET DP7_1 ; SOURCE LINE # 555 5654 2FE9 BSET DP7_2 ; SOURCE LINE # 556 5656 3FE9 BSET DP7_3 ; SOURCE LINE # 557 5658 4FE9 BSET DP7_4 ; SOURCE LINE # 558 565A 5FE9 BSET DP7_5 ; SOURCE LINE # 559 565C 6FE9 BSET DP7_6 ; SOURCE LINE # 560 565E 7FE9 BSET DP7_7 ; SOURCE LINE # 562 5660 0FEB BSET DP8_0 ; SOURCE LINE # 563 5662 1FEB BSET DP8_1 ; SOURCE LINE # 564 5664 2FEB BSET DP8_2 ; SOURCE LINE # 565 5666 3FEB BSET DP8_3 ; SOURCE LINE # 566 5668 4FEB BSET DP8_4 ; SOURCE LINE # 569 566A F78E0000 E MOVB ENC_FLAGS,ZEROS ; SOURCE LINE # 570 566E F78E0000 E MOVB MOT_FLAGS,ZEROS ; SOURCE LINE # 571 5672 4FEA BSET MOTORSWITCH ; SOURCE LINE # 572 5674 C2F40000 E MOVBZ R4,hsteps 5678 F6F4D0FF MOV P7,R4 ; SOURCE LINE # 573 567C F3F80000 E MOVB RL4,hsteps 5680 67F80F00 ANDB RL4,#0FH 5684 C084 MOVBZ R4,RL4 5686 F6F4D4FF MOV P8,R4 ; SOURCE LINE # 574 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 159 568A 4FEA BSET MOTORSWITCH ; SOURCE LINE # 576 568C DA000000 R CALLS SEG (init_lcd),init_lcd ; SOURCE LINE # 577 5690 E008 MOV R8,#00H 5692 DA000000 R CALLS SEG (lcd_on),lcd_on ; SOURCE LINE # 578 5696 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 581 569A E6F4D307 MOV R4,#07D3H 569E F6F40000 E MOV YEAR,R4 ; SOURCE LINE # 582 56A2 E014 MOV R4,#01H 56A4 F6F40000 E MOV MONTH,R4 ; SOURCE LINE # 583 56A8 F6F40000 E MOV DAY,R4 ; SOURCE LINE # 584 56AC F68E0000 E MOV HOUR,ZEROS ; SOURCE LINE # 585 56B0 F68E0000 E MOV MINUTE,ZEROS ; SOURCE LINE # 586 56B4 F68E0000 E MOV SECOND,ZEROS ; SOURCE LINE # 587 56B8 F68E0000 E MOV MSECOND,ZEROS ; SOURCE LINE # 588 56BC F68E0000 E MOV TIMER10,ZEROS ; SOURCE LINE # 589 56C0 E6F41F00 MOV R4,#01FH 56C4 F6F40000 E MOV THISMDAYS,R4 ; SOURCE LINE # 591 56C8 DA000000 R CALLS SEG (config_reset),config_reset ; SOURCE LINE # 594 56CC F68E0000 E MOV HSTEP_HO,ZEROS ; SOURCE LINE # 595 56D0 F68E0000 E MOV HSTEP_VE,ZEROS ; SOURCE LINE # 596 56D4 F68E0000 E MOV HSTEP_FR,ZEROS ; SOURCE LINE # 598 56D8 E6FA0000 R MOV R10,#POF (main_txt0) 56DC E6FB0000 R MOV R11,#PAG (main_txt0) 56E0 E009 MOV R9,#00H 56E2 E008 MOV R8,#00H 56E4 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 599 56E8 E6FA0000 R MOV R10,#POF (main_txt1) 56EC E6FB0000 R MOV R11,#PAG (main_txt1) 56F0 E009 MOV R9,#00H 56F2 E018 MOV R8,#01H 56F4 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 600 56F8 E6FA0000 R MOV R10,#POF (main_txt2) 56FC E6FB0000 R MOV R11,#PAG (main_txt2) 5700 E009 MOV R9,#00H 5702 E028 MOV R8,#02H 5704 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 601 5708 E6FA0000 R MOV R10,#POF (main_txt3) 570C E6FB0000 R MOV R11,#PAG (main_txt3) 5710 E009 MOV R9,#00H 5712 E038 MOV R8,#03H 5714 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 605 5718 BF88 BSET IEN ; SOURCE LINE # 609 571A DA000000 E CALLS SEG (initTimerInt),initTimerInt ; SOURCE LINE # 613 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 160 571E E6FAA200 MOV R10,#0A2H 5722 F080 MOV R8,R0 5724 66F8FF3F AND R8,#03FFFH 5728 F2F904FE MOV R9,DPP2 572C DA000000 E CALLS SEG (RTCGetTime),RTCGetTime 5730 4980 CMPB RL4,#00H 5732 3D31 JMPR cc_NZ,?C0582 ; SOURCE LINE # 615 5734 F4800500 MOVB RL4,[R0+#05H] ; Time+5 5738 C088 MOVBZ R8,RL4 573A DA000000 E CALLS SEG (BCD2INT),BCD2INT 573E F6F40000 E MOV DAY,R4 ; SOURCE LINE # 616 5742 F4800400 MOVB RL4,[R0+#04H] ; Time+4 5746 C088 MOVBZ R8,RL4 5748 DA000000 E CALLS SEG (BCD2INT),BCD2INT 574C F6F40000 E MOV MONTH,R4 ; SOURCE LINE # 617 5750 D4800200 MOV R8,[R0+#02H] ; Time+2 5754 DA000000 E CALLS SEG (BCD2INT),BCD2INT 5758 F6F40000 E MOV YEAR,R4 ; SOURCE LINE # 618 575C F4800600 MOVB RL4,[R0+#06H] ; Time+6 5760 C088 MOVBZ R8,RL4 5762 DA000000 E CALLS SEG (BCD2INT),BCD2INT 5766 F6F40000 E MOV HOUR,R4 ; SOURCE LINE # 619 576A F4800700 MOVB RL4,[R0+#07H] ; Time+7 576E C088 MOVBZ R8,RL4 5770 DA000000 E CALLS SEG (BCD2INT),BCD2INT 5774 F6F40000 E MOV MINUTE,R4 ; SOURCE LINE # 620 5778 F4800800 MOVB RL4,[R0+#08H] ; Time+8 577C C088 MOVBZ R8,RL4 577E DA000000 E CALLS SEG (BCD2INT),BCD2INT 5782 F6F40000 E MOV SECOND,R4 ; SOURCE LINE # 622 5786 F2F90000 E MOV R9,YEAR 578A F2F80000 E MOV R8,MONTH 578E DA000000 R CALLS SEG (setDaysOfMonth),setDaysOfMonth ; SOURCE LINE # 624 5792 DA000000 E CALLS SEG (startTimerInt),startTimerInt ; SOURCE LINE # 625 5796 ?C0582: ; SOURCE LINE # 628 5796 DA000000 E CALLS SEG (initEncoderInts),initEncoderInts ; SOURCE LINE # 630 579A E6F86400 MOV R8,#064H 579E DA000000 R CALLS SEG (wait_10ms),wait_10ms ; SOURCE LINE # 631 57A2 E6F86400 MOV R8,#064H 57A6 DA000000 R CALLS SEG (wait_10ms),wait_10ms ; SOURCE LINE # 632 57AA E6F86400 MOV R8,#064H 57AE DA000000 R CALLS SEG (wait_10ms),wait_10ms ; SOURCE LINE # 634 57B2 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 635 57B6 E018 MOV R8,#01H 57B8 DA000000 R CALLS SEG (wait_10ms),wait_10ms ; SOURCE LINE # 637 57BC E00D MOV R13,#00H ;---- Variable 'y' assigned to Register 'R13' ---- ; SOURCE LINE # 638 57BE E01F MOV R15,#01H ;---- Variable 'upd' assigned to Register 'R15' ---- C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 161 ; SOURCE LINE # 640 57C0 ?C0585: ; SOURCE LINE # 642 57C0 F04F MOV R4,R15 57C2 4980 CMPB RL4,#00H 57C4 2D30 JMPR cc_Z,?C0587 ; SOURCE LINE # 644 57C6 F2F40000 R MOV R4,curconfig 57CA 2841 SUB R4,#01H 57CC 2D09 JMPR cc_Z,?C0590 57CE 2841 SUB R4,#01H 57D0 2D0A JMPR cc_Z,?C0591 57D2 2841 SUB R4,#01H 57D4 2D0B JMPR cc_Z,?C0592 57D6 0843 ADD R4,#03H 57D8 3D0B JMPR cc_NZ,?C0588 ; SOURCE LINE # 645 57DA ?C0589: 57DA E6FE3100 MOV R14,#031H 57DE 0D08 JMPR cc_UC,?C0588 ; SOURCE LINE # 646 57E0 ?C0590: 57E0 E6FE3200 MOV R14,#032H 57E4 0D05 JMPR cc_UC,?C0588 ; SOURCE LINE # 647 57E6 ?C0591: 57E6 E6FE3300 MOV R14,#033H 57EA 0D02 JMPR cc_UC,?C0588 ; SOURCE LINE # 648 57EC ?C0592: 57EC E6FE3400 MOV R14,#034H ; SOURCE LINE # 649 57F0 ?C0588: ; SOURCE LINE # 651 57F0 DA000000 R CALLS SEG (lcd_clear),lcd_clear ; SOURCE LINE # 652 57F4 E6FA0000 R MOV R10,#POF (menu_txt) 57F8 E6FB0000 R MOV R11,#PAG (menu_txt) 57FC E009 MOV R9,#00H 57FE E008 MOV R8,#00H 5800 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 653 5804 E6FA1200 R MOV R10,#POF (menu_txt+012H) 5808 E6FB0000 R MOV R11,#PAG (menu_txt) 580C E009 MOV R9,#00H 580E E018 MOV R8,#01H 5810 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 654 5814 E6FA2400 R MOV R10,#POF (menu_txt+024H) 5818 E6FB0000 R MOV R11,#PAG (menu_txt) 581C E009 MOV R9,#00H 581E E028 MOV R8,#02H 5820 DA000000 R CALLS SEG (lcd_puts),lcd_puts ; SOURCE LINE # 656 5824 E00F MOV R15,#00H ; SOURCE LINE # 657 5826 ?C0587: ; SOURCE LINE # 659 5826 E038 MOV R8,#03H 5828 DA000000 R CALLS SEG (printDateTime),printDateTime ; SOURCE LINE # 661 582C E009 MOV R9,#00H 582E F04D MOV R4,R13 5830 C088 MOVBZ R8,RL4 5832 DA000000 R CALLS SEG (lcd_setcursor),lcd_setcursor ; SOURCE LINE # 662 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 162 5836 F04E MOV R4,R14 5838 C088 MOVBZ R8,RL4 583A DA000000 R CALLS SEG (lcd_putchar),lcd_putchar ; SOURCE LINE # 665 583E DA000000 R CALLS SEG (readkey),readkey 5842 F1C8 MOVB RL6,RL4 ;---- Variable 'KEY' assigned to Register 'RL6' ---- ; SOURCE LINE # 667 5844 47FC4400 CMPB RL6,#044H 5848 3D0E JMPR cc_NZ,?C0593 ; SOURCE LINE # 669 584A E009 MOV R9,#00H 584C F04D MOV R4,R13 584E C088 MOVBZ R8,RL4 5850 DA000000 R CALLS SEG (lcd_setcursor),lcd_setcursor ; SOURCE LINE # 670 5854 E6F82000 MOV R8,#020H 5858 DA000000 R CALLS SEG (lcd_putchar),lcd_putchar ; SOURCE LINE # 672 585C F04D MOV R4,R13 585E 4982 CMPB RL4,#02H 5860 9DAF JMPR cc_UGE,?C0585 ; SOURCE LINE # 673 5862 08D1 ADD R13,#01H ; SOURCE LINE # 674 ; SOURCE LINE # 676 5864 0DAD JMPR cc_UC,?C0585 ; SOURCE LINE # 677 5866 ?C0593: ; SOURCE LINE # 679 5866 47FC5500 CMPB RL6,#055H 586A 3D0E JMPR cc_NZ,?C0595 ; SOURCE LINE # 681 586C E009 MOV R9,#00H 586E F04D MOV R4,R13 5870 C088 MOVBZ R8,RL4 5872 DA000000 R CALLS SEG (lcd_setcursor),lcd_setcursor ; SOURCE LINE # 682 5876 E6F82000 MOV R8,#020H 587A DA000000 R CALLS SEG (lcd_putchar),lcd_putchar ; SOURCE LINE # 684 587E F04D MOV R4,R13 5880 4980 CMPB RL4,#00H 5882 FD9E JMPR cc_ULE,?C0585 ; SOURCE LINE # 685 5884 28D1 SUB R13,#01H ; SOURCE LINE # 686 ; SOURCE LINE # 687 5886 0D9C JMPR cc_UC,?C0585 ; SOURCE LINE # 688 5888 ?C0595: ; SOURCE LINE # 691 5888 47FC4500 CMPB RL6,#045H 588C 3D99 JMPR cc_NZ,?C0585 ; SOURCE LINE # 693 588E F04D MOV R4,R13 5890 2981 SUBB RL4,#01H 5892 2D07 JMPR cc_Z,?C0600 5894 2981 SUBB RL4,#01H 5896 2D08 JMPR cc_Z,?C0601 5898 0982 ADDB RL4,#02H 589A 3D08 JMPR cc_NZ,?C0598 ; SOURCE LINE # 695 589C ?C0599: ; SOURCE LINE # 697 589C DA000000 R CALLS SEG (scope),scope C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 163 ; SOURCE LINE # 698 58A0 0D05 JMPR cc_UC,?C0598 ; SOURCE LINE # 700 58A2 ?C0600: ; SOURCE LINE # 702 58A2 DA000000 R CALLS SEG (encode),encode ; SOURCE LINE # 703 58A6 0D02 JMPR cc_UC,?C0598 ; SOURCE LINE # 705 58A8 ?C0601: ; SOURCE LINE # 707 58A8 DA000000 R CALLS SEG (config),config ; SOURCE LINE # 708 ; SOURCE LINE # 711 58AC ?C0598: ; SOURCE LINE # 713 58AC E01F MOV R15,#01H ; SOURCE LINE # 715 58AE 0D88 JMPR cc_UC,?C0585 ; FUNCTION main (END RMASK = @0x7FFF) C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 164 NAME CLASS SPACE TYPE OFFSET SIZE ---------------------------------------------------------------------------- va_list. . . . . . . . . . . . . . . . typedef ptr ----- 4 wchar_t. . . . . . . . . . . . . . . . typedef char ----- 1 REAL_TIME. . . . . . . . . . . . . . . --tag-- struct ----- 10 Weekday. . . . . . . . . . . . . . . member uchar 0H 1 . . . . . . . . . . . . . . . . member uchar 1H 1 Year . . . . . . . . . . . . . . . . member uint 2H 2 Month. . . . . . . . . . . . . . . . member uchar 4H 1 Date . . . . . . . . . . . . . . . . member uchar 5H 1 Hour . . . . . . . . . . . . . . . . member uchar 6H 1 Minute . . . . . . . . . . . . . . . member uchar 7H 1 Second . . . . . . . . . . . . . . . member uchar 8H 1 REAL_TIME. . . . . . . . . . . . . . . typedef struct ----- 10 Weekday. . . . . . . . . . . . . . . member uchar 0H 1 . . . . . . . . . . . . . . . . member uchar 1H 1 Year . . . . . . . . . . . . . . . . member uint 2H 2 Month. . . . . . . . . . . . . . . . member uchar 4H 1 Date . . . . . . . . . . . . . . . . member uchar 5H 1 Hour . . . . . . . . . . . . . . . . member uchar 6H 1 Minute . . . . . . . . . . . . . . . member uchar 7H 1 Second . . . . . . . . . . . . . . . member uchar 8H 1 objectstruct . . . . . . . . . . . . . --tag-- struct ----- 42 name . . . . . . . . . . . . . . . . member array 0H 18 ra . . . . . . . . . . . . . . . . . member array 12H 12 dec. . . . . . . . . . . . . . . . . member array 1EH 12 objectstruct . . . . . . . . . . . . . typedef struct ----- 42 name . . . . . . . . . . . . . . . . member array 0H 18 ra . . . . . . . . . . . . . . . . . member array 12H 12 dec. . . . . . . . . . . . . . . . . member array 1EH 12 configstruct . . . . . . . . . . . . . --tag-- struct ----- 62 __initid . . . . . . . . . . . . . . member int 0H 2 __LATITUDE . . . . . . . . . . . . . member double 2H 8 __LONGITUDE. . . . . . . . . . . . . member double AH 8 __CFG_HSTS_HO. . . . . . . . . . . . member double 12H 8 __CFG_HSTS_VE. . . . . . . . . . . . member double 1AH 8 __CFG_HSTS_FR. . . . . . . . . . . . member double 22H 8 __CFG_SP1_HO . . . . . . . . . . . . member int 2AH 2 __CFG_SP1_VE . . . . . . . . . . . . member int 2CH 2 __CFG_SP2_HO . . . . . . . . . . . . member int 2EH 2 __CFG_SP2_VE . . . . . . . . . . . . member int 30H 2 __CFG_SP3_HO . . . . . . . . . . . . member int 32H 2 __CFG_SP3_VE . . . . . . . . . . . . member int 34H 2 __CFG_SP_FR. . . . . . . . . . . . . member int 36H 2 __CFG_ENC_HO . . . . . . . . . . . . member int 38H 2 __CFG_ENC_VE . . . . . . . . . . . . member int 3AH 2 __ENC_FLAGS. . . . . . . . . . . . . member uchar 3CH 1 __RESERVE. . . . . . . . . . . . . . member uchar 3DH 1 configstruct . . . . . . . . . . . . . typedef struct ----- 62 __initid . . . . . . . . . . . . . . member int 0H 2 __LATITUDE . . . . . . . . . . . . . member double 2H 8 __LONGITUDE. . . . . . . . . . . . . member double AH 8 __CFG_HSTS_HO. . . . . . . . . . . . member double 12H 8 __CFG_HSTS_VE. . . . . . . . . . . . member double 1AH 8 __CFG_HSTS_FR. . . . . . . . . . . . member double 22H 8 __CFG_SP1_HO . . . . . . . . . . . . member int 2AH 2 __CFG_SP1_VE . . . . . . . . . . . . member int 2CH 2 __CFG_SP2_HO . . . . . . . . . . . . member int 2EH 2 __CFG_SP2_VE . . . . . . . . . . . . member int 30H 2 __CFG_SP3_HO . . . . . . . . . . . . member int 32H 2 __CFG_SP3_VE . . . . . . . . . . . . member int 34H 2 __CFG_SP_FR. . . . . . . . . . . . . member int 36H 2 __CFG_ENC_HO . . . . . . . . . . . . member int 38H 2 __CFG_ENC_VE . . . . . . . . . . . . member int 3AH 2 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 165 __ENC_FLAGS. . . . . . . . . . . . . member uchar 3CH 1 __RESERVE. . . . . . . . . . . . . . member uchar 3DH 1 size_t . . . . . . . . . . . . . . . . typedef uint ----- 2 CC19IC . . . . . . . . . . . . . . . . sfr uint F166H 2 CC28IC . . . . . . . . . . . . . . . . sfr uint F178H 2 BUSCON1. . . . . . . . . . . . . . . . sfr uint FF14H 2 CC18IC . . . . . . . . . . . . . . . . sfr uint F164H 2 CC27IC . . . . . . . . . . . . . . . . sfr uint F176H 2 BUSCON0. . . . . . . . . . . . . . . . sfr uint FF0CH 2 CC17IC . . . . . . . . . . . . . . . . sfr uint F162H 2 CC26IC . . . . . . . . . . . . . . . . sfr uint F174H 2 CC16IC . . . . . . . . . . . . . . . . sfr uint F160H 2 CC25IC . . . . . . . . . . . . . . . . sfr uint F172H 2 PSW. . . . . . . . . . . . . . . . . . sfr uint FF10H 2 CC15IC . . . . . . . . . . . . . . . . sfr uint FF96H 2 CC24IC . . . . . . . . . . . . . . . . sfr uint F170H 2 CC14IC . . . . . . . . . . . . . . . . sfr uint FF94H 2 CC23IC . . . . . . . . . . . . . . . . sfr uint F16EH 2 CC13IC . . . . . . . . . . . . . . . . sfr uint FF92H 2 CC22IC . . . . . . . . . . . . . . . . sfr uint F16CH 2 CC31IC . . . . . . . . . . . . . . . . sfr uint F194H 2 CC12IC . . . . . . . . . . . . . . . . sfr uint FF90H 2 CC21IC . . . . . . . . . . . . . . . . sfr uint F16AH 2 CC30IC . . . . . . . . . . . . . . . . sfr uint F18CH 2 CC11IC . . . . . . . . . . . . . . . . sfr uint FF8EH 2 CC20IC . . . . . . . . . . . . . . . . sfr uint F168H 2 CC10IC . . . . . . . . . . . . . . . . sfr uint FF8CH 2 CC29 . . . . . . . . . . . . . . . . . sfr uint FE7AH 2 CC19 . . . . . . . . . . . . . . . . . sfr uint FE66H 2 CC28 . . . . . . . . . . . . . . . . . sfr uint FE78H 2 T8REL. . . . . . . . . . . . . . . . . sfr uint F056H 2 CC18 . . . . . . . . . . . . . . . . . sfr uint FE64H 2 CC27 . . . . . . . . . . . . . . . . . sfr uint FE76H 2 T7REL. . . . . . . . . . . . . . . . . sfr uint F054H 2 WDT. . . . . . . . . . . . . . . . . . sfr uint FEAEH 2 CC17 . . . . . . . . . . . . . . . . . sfr uint FE62H 2 CC26 . . . . . . . . . . . . . . . . . sfr uint FE74H 2 CC16 . . . . . . . . . . . . . . . . . sfr uint FE60H 2 CC25 . . . . . . . . . . . . . . . . . sfr uint FE72H 2 CC15 . . . . . . . . . . . . . . . . . sfr uint FE9EH 2 CC24 . . . . . . . . . . . . . . . . . sfr uint FE70H 2 TFR. . . . . . . . . . . . . . . . . . sfr uint FFACH 2 CC14 . . . . . . . . . . . . . . . . . sfr uint FE9CH 2 CC23 . . . . . . . . . . . . . . . . . sfr uint FE6EH 2 T6CON. . . . . . . . . . . . . . . . . sfr uint FF48H 2 CC13 . . . . . . . . . . . . . . . . . sfr uint FE9AH 2 CC22 . . . . . . . . . . . . . . . . . sfr uint FE6CH 2 CC31 . . . . . . . . . . . . . . . . . sfr uint FE7EH 2 T5CON. . . . . . . . . . . . . . . . . sfr uint FF46H 2 CC12 . . . . . . . . . . . . . . . . . sfr uint FE98H 2 CC21 . . . . . . . . . . . . . . . . . sfr uint FE6AH 2 CC30 . . . . . . . . . . . . . . . . . sfr uint FE7CH 2 T1REL. . . . . . . . . . . . . . . . . sfr uint FE56H 2 T4CON. . . . . . . . . . . . . . . . . sfr uint FF44H 2 CC11 . . . . . . . . . . . . . . . . . sfr uint FE96H 2 CC20 . . . . . . . . . . . . . . . . . sfr uint FE68H 2 T0REL. . . . . . . . . . . . . . . . . sfr uint FE54H 2 T3CON. . . . . . . . . . . . . . . . . sfr uint FF42H 2 XP3IC. . . . . . . . . . . . . . . . . sfr uint F19EH 2 MOTORSWITCH. . . . . . . . . . . . . . absbit bit FFD4H.4 1 CC10 . . . . . . . . . . . . . . . . . sfr uint FE94H 2 T2CON. . . . . . . . . . . . . . . . . sfr uint FF40H 2 XP2IC. . . . . . . . . . . . . . . . . sfr uint F196H 2 ADCON. . . . . . . . . . . . . . . . . sfr uint FFA0H 2 CSP. . . . . . . . . . . . . . . . . . sfr uint FE08H 2 XP1IC. . . . . . . . . . . . . . . . . sfr uint F18EH 2 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 166 XP0IC. . . . . . . . . . . . . . . . . sfr uint F186H 2 S0CON. . . . . . . . . . . . . . . . . sfr uint FFB0H 2 S0TIC. . . . . . . . . . . . . . . . . sfr uint FF6CH 2 S0RIC. . . . . . . . . . . . . . . . . sfr uint FF6EH 2 DP7_7. . . . . . . . . . . . . . . . . absbit bit FFD2H.7 1 SYSCON . . . . . . . . . . . . . . . . sfr uint FF12H 2 DP7_6. . . . . . . . . . . . . . . . . absbit bit FFD2H.6 1 DP7_5. . . . . . . . . . . . . . . . . absbit bit FFD2H.5 1 DP8_4. . . . . . . . . . . . . . . . . absbit bit FFD6H.4 1 ADDAT. . . . . . . . . . . . . . . . . sfr uint FEA0H 2 DP2_9. . . . . . . . . . . . . . . . . absbit bit FFC2H.9 1 DP7_4. . . . . . . . . . . . . . . . . absbit bit FFD2H.4 1 DP8_3. . . . . . . . . . . . . . . . . absbit bit FFD6H.3 1 DP2_8. . . . . . . . . . . . . . . . . absbit bit FFC2H.8 1 DP7_3. . . . . . . . . . . . . . . . . absbit bit FFD2H.3 1 DP8_2. . . . . . . . . . . . . . . . . absbit bit FFD6H.2 1 MDL. . . . . . . . . . . . . . . . . . sfr uint FE0EH 2 DP7_2. . . . . . . . . . . . . . . . . absbit bit FFD2H.2 1 DP8_1. . . . . . . . . . . . . . . . . absbit bit FFD6H.1 1 IEN. . . . . . . . . . . . . . . . . . absbit bit FF10H.11 1 DP7_1. . . . . . . . . . . . . . . . . absbit bit FFD2H.1 1 DP8_0. . . . . . . . . . . . . . . . . absbit bit FFD6H.0 1 DP7_0. . . . . . . . . . . . . . . . . absbit bit FFD2H.0 1 PW3. . . . . . . . . . . . . . . . . . sfr uint FE36H 2 MDH. . . . . . . . . . . . . . . . . . sfr uint FE0CH 2 PW2. . . . . . . . . . . . . . . . . . sfr uint FE34H 2 PW1. . . . . . . . . . . . . . . . . . sfr uint FE32H 2 ADEIC. . . . . . . . . . . . . . . . . sfr uint FF9AH 2 PW0. . . . . . . . . . . . . . . . . . sfr uint FE30H 2 PT3. . . . . . . . . . . . . . . . . . sfr uint F036H 2 PT2. . . . . . . . . . . . . . . . . . sfr uint F034H 2 ADCIC. . . . . . . . . . . . . . . . . sfr uint FF98H 2 S0EIC. . . . . . . . . . . . . . . . . sfr uint FF70H 2 PT1. . . . . . . . . . . . . . . . . . sfr uint F032H 2 DTxD . . . . . . . . . . . . . . . . . absbit bit FFC6H.10 1 MDC. . . . . . . . . . . . . . . . . . sfr uint FF0EH 2 PT0. . . . . . . . . . . . . . . . . . sfr uint F030H 2 PECC7. . . . . . . . . . . . . . . . . sfr uint FECEH 2 PP3. . . . . . . . . . . . . . . . . . sfr uint F03EH 2 DRxD . . . . . . . . . . . . . . . . . absbit bit FFC6H.11 1 PECC6. . . . . . . . . . . . . . . . . sfr uint FECCH 2 PP2. . . . . . . . . . . . . . . . . . sfr uint F03CH 2 PECC5. . . . . . . . . . . . . . . . . sfr uint FECAH 2 WDTCON . . . . . . . . . . . . . . . . sfr uint FFAEH 2 PP1. . . . . . . . . . . . . . . . . . sfr uint F03AH 2 PECC4. . . . . . . . . . . . . . . . . sfr uint FEC8H 2 PP0. . . . . . . . . . . . . . . . . . sfr uint F038H 2 PECC3. . . . . . . . . . . . . . . . . sfr uint FEC6H 2 PECC2. . . . . . . . . . . . . . . . . sfr uint FEC4H 2 PECC1. . . . . . . . . . . . . . . . . sfr uint FEC2H 2 P1L. . . . . . . . . . . . . . . . . . sfr uint FF04H 2 CC9IC. . . . . . . . . . . . . . . . . sfr uint FF8AH 2 PECC0. . . . . . . . . . . . . . . . . sfr uint FEC0H 2 DP8. . . . . . . . . . . . . . . . . . sfr uint FFD6H 2 P0L. . . . . . . . . . . . . . . . . . sfr uint FF00H 2 CC8IC. . . . . . . . . . . . . . . . . sfr uint FF88H 2 DP7. . . . . . . . . . . . . . . . . . sfr uint FFD2H 2 SSCTIC . . . . . . . . . . . . . . . . sfr uint FF72H 2 SSCCON . . . . . . . . . . . . . . . . sfr uint FFB2H 2 CC7IC. . . . . . . . . . . . . . . . . sfr uint FF86H 2 DP6. . . . . . . . . . . . . . . . . . sfr uint FFCEH 2 CC6IC. . . . . . . . . . . . . . . . . sfr uint FF84H 2 P1H. . . . . . . . . . . . . . . . . . sfr uint FF06H 2 SSCRIC . . . . . . . . . . . . . . . . sfr uint FF74H 2 CC5IC. . . . . . . . . . . . . . . . . sfr uint FF82H 2 EXICON . . . . . . . . . . . . . . . . sfr uint F1C0H 2 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 167 DP4. . . . . . . . . . . . . . . . . . sfr uint FFCAH 2 P0H. . . . . . . . . . . . . . . . . . sfr uint FF02H 2 CC4IC. . . . . . . . . . . . . . . . . sfr uint FF80H 2 DP3. . . . . . . . . . . . . . . . . . sfr uint FFC6H 2 CC3IC. . . . . . . . . . . . . . . . . sfr uint FF7EH 2 DP2. . . . . . . . . . . . . . . . . . sfr uint FFC2H 2 CC2IC. . . . . . . . . . . . . . . . . sfr uint FF7CH 2 CC1IC. . . . . . . . . . . . . . . . . sfr uint FF7AH 2 CC0IC. . . . . . . . . . . . . . . . . sfr uint FF78H 2 CC9. . . . . . . . . . . . . . . . . . sfr uint FE92H 2 CC8. . . . . . . . . . . . . . . . . . sfr uint FE90H 2 CC7. . . . . . . . . . . . . . . . . . sfr uint FE8EH 2 CC6. . . . . . . . . . . . . . . . . . sfr uint FE8CH 2 SSCEIC . . . . . . . . . . . . . . . . sfr uint FF76H 2 CC5. . . . . . . . . . . . . . . . . . sfr uint FE8AH 2 CC4. . . . . . . . . . . . . . . . . . sfr uint FE88H 2 CC3. . . . . . . . . . . . . . . . . . sfr uint FE86H 2 CAPREL . . . . . . . . . . . . . . . . sfr uint FE4AH 2 CC2. . . . . . . . . . . . . . . . . . sfr uint FE84H 2 CC1. . . . . . . . . . . . . . . . . . sfr uint FE82H 2 CC0. . . . . . . . . . . . . . . . . . sfr uint FE80H 2 ONES . . . . . . . . . . . . . . . . . sfr uint FF1EH 2 ADDRSEL4 . . . . . . . . . . . . . . . sfr uint FE1EH 2 S0TBUF . . . . . . . . . . . . . . . . sfr uint FEB0H 2 ADDRSEL3 . . . . . . . . . . . . . . . sfr uint FE1CH 2 ADDRSEL2 . . . . . . . . . . . . . . . sfr uint FE1AH 2 S0RBUF . . . . . . . . . . . . . . . . sfr uint FEB2H 2 ADDRSEL1 . . . . . . . . . . . . . . . sfr uint FE18H 2 ISNC . . . . . . . . . . . . . . . . . sfr uint F1DEH 2 S0TBIC . . . . . . . . . . . . . . . . sfr uint F19CH 2 T78CON . . . . . . . . . . . . . . . . sfr uint FF20H 2 SP . . . . . . . . . . . . . . . . . . sfr uint FE12H 2 CRIC . . . . . . . . . . . . . . . . . sfr uint FF6AH 2 ODP8 . . . . . . . . . . . . . . . . . sfr uint F1D6H 2 ODP7 . . . . . . . . . . . . . . . . . sfr uint F1D2H 2 RP0H . . . . . . . . . . . . . . . . . sfr uint F108H 2 ODP6 . . . . . . . . . . . . . . . . . sfr uint F1CEH 2 T8IC . . . . . . . . . . . . . . . . . sfr uint F17CH 2 STKOV. . . . . . . . . . . . . . . . . sfr uint FE14H 2 T7IC . . . . . . . . . . . . . . . . . sfr uint F17AH 2 DPP3 . . . . . . . . . . . . . . . . . sfr uint FE06H 2 T01CON . . . . . . . . . . . . . . . . sfr uint FF50H 2 DPP2 . . . . . . . . . . . . . . . . . sfr uint FE04H 2 STKUN. . . . . . . . . . . . . . . . . sfr uint FE16H 2 ODP3 . . . . . . . . . . . . . . . . . sfr uint F1C6H 2 T6IC . . . . . . . . . . . . . . . . . sfr uint FF68H 2 DPP1 . . . . . . . . . . . . . . . . . sfr uint FE02H 2 ODP2 . . . . . . . . . . . . . . . . . sfr uint F1C2H 2 T5IC . . . . . . . . . . . . . . . . . sfr uint FF66H 2 DPP0 . . . . . . . . . . . . . . . . . sfr uint FE00H 2 ZEROS. . . . . . . . . . . . . . . . . sfr uint FF1CH 2 T4IC . . . . . . . . . . . . . . . . . sfr uint FF64H 2 T3IC . . . . . . . . . . . . . . . . . sfr uint FF62H 2 CP . . . . . . . . . . . . . . . . . . sfr uint FE10H 2 T2IC . . . . . . . . . . . . . . . . . sfr uint FF60H 2 ADDAT2 . . . . . . . . . . . . . . . . sfr uint F0A0H 2 T1IC . . . . . . . . . . . . . . . . . sfr uint FF9EH 2 DP1L . . . . . . . . . . . . . . . . . sfr uint F104H 2 T0IC . . . . . . . . . . . . . . . . . sfr uint FF9CH 2 DP0L . . . . . . . . . . . . . . . . . sfr uint F100H 2 TxD. . . . . . . . . . . . . . . . . . absbit bit FFC4H.10 1 DP1H . . . . . . . . . . . . . . . . . sfr uint F106H 2 DP0H . . . . . . . . . . . . . . . . . sfr uint F102H 2 S0BG . . . . . . . . . . . . . . . . . sfr uint FEB4H 2 T8 . . . . . . . . . . . . . . . . . . sfr uint F052H 2 CCM7 . . . . . . . . . . . . . . . . . sfr uint FF28H 2 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 168 T7 . . . . . . . . . . . . . . . . . . sfr uint F050H 2 CCM6 . . . . . . . . . . . . . . . . . sfr uint FF26H 2 T6 . . . . . . . . . . . . . . . . . . sfr uint FE48H 2 CCM5 . . . . . . . . . . . . . . . . . sfr uint FF24H 2 T5 . . . . . . . . . . . . . . . . . . sfr uint FE46H 2 DP2_11 . . . . . . . . . . . . . . . . absbit bit FFC2H.11 1 CCM4 . . . . . . . . . . . . . . . . . sfr uint FF22H 2 P8 . . . . . . . . . . . . . . . . . . sfr uint FFD4H 2 T4 . . . . . . . . . . . . . . . . . . sfr uint FE44H 2 PWMCON1. . . . . . . . . . . . . . . . sfr uint FF32H 2 DP2_10 . . . . . . . . . . . . . . . . absbit bit FFC2H.10 1 CCM3 . . . . . . . . . . . . . . . . . sfr uint FF58H 2 P7 . . . . . . . . . . . . . . . . . . sfr uint FFD0H 2 T3 . . . . . . . . . . . . . . . . . . sfr uint FE42H 2 PWMCON0. . . . . . . . . . . . . . . . sfr uint FF30H 2 CCM2 . . . . . . . . . . . . . . . . . sfr uint FF56H 2 P6 . . . . . . . . . . . . . . . . . . sfr uint FFCCH 2 T2 . . . . . . . . . . . . . . . . . . sfr uint FE40H 2 CCM1 . . . . . . . . . . . . . . . . . sfr uint FF54H 2 T1 . . . . . . . . . . . . . . . . . . sfr uint FE52H 2 P5 . . . . . . . . . . . . . . . . . . sfr uint FFA2H 2 CCM0 . . . . . . . . . . . . . . . . . sfr uint FF52H 2 T0 . . . . . . . . . . . . . . . . . . sfr uint FE50H 2 P4 . . . . . . . . . . . . . . . . . . sfr uint FFC8H 2 P3 . . . . . . . . . . . . . . . . . . sfr uint FFC4H 2 P2 . . . . . . . . . . . . . . . . . . sfr uint FFC0H 2 PWMIC. . . . . . . . . . . . . . . . . sfr uint F17EH 2 BUSCON4. . . . . . . . . . . . . . . . sfr uint FF1AH 2 SSCTB. . . . . . . . . . . . . . . . . sfr uint F0B0H 2 BUSCON3. . . . . . . . . . . . . . . . sfr uint FF18H 2 CC29IC . . . . . . . . . . . . . . . . sfr uint F184H 2 BUSCON2. . . . . . . . . . . . . . . . sfr uint FF16H 2 SSCRB. . . . . . . . . . . . . . . . . sfr uint F0B2H 2 SSCBR. . . . . . . . . . . . . . . . . sfr uint F0B4H 2 serialObjListDownload. . . . . . . . . extern FCODE funct ----- HSTEP_FR . . . . . . . . . . . . . . . extern IDATA int ----- 2 CUR_ARC10_VE . . . . . . . . . . . . . extern IDATA long ----- 4 CFG_ENC_HO . . . . . . . . . . . . . . extern IDATA int ----- 2 HSTEP_VE . . . . . . . . . . . . . . . extern IDATA int ----- 2 CFG_ENC_VE . . . . . . . . . . . . . . extern IDATA int ----- 2 MONTH. . . . . . . . . . . . . . . . . extern IDATA int ----- 2 setListObj . . . . . . . . . . . . . . extern FCODE funct ----- sprintf. . . . . . . . . . . . . . . . extern FCODE funct ----- HSTEPSHO270. . . . . . . . . . . . . . extern IDATA long ----- 4 HSTEPSHO180. . . . . . . . . . . . . . extern IDATA long ----- 4 HSTEPSHO090. . . . . . . . . . . . . . extern IDATA long ----- 4 MSECOND. . . . . . . . . . . . . . . . extern IDATA int ----- 2 MOT_GOTO . . . . . . . . . . . . . . . extern BIT bit ----- 1 ARC10PERENCHO. . . . . . . . . . . . . extern IDATA int ----- 2 HSTEPSHO359. . . . . . . . . . . . . . extern IDATA long ----- 4 ARC10PERENCVE. . . . . . . . . . . . . extern IDATA int ----- 2 hsteps . . . . . . . . . . . . . . . . extern IDATA array ----- 8 CUR_HSTEPS_HO. . . . . . . . . . . . . extern IDATA long ----- 4 initEncoderInts. . . . . . . . . . . . extern FCODE funct ----- RTCGetTime . . . . . . . . . . . . . . extern FCODE funct ----- TRG_HSTEPS_HO. . . . . . . . . . . . . extern IDATA long ----- 4 CUR_HSTEPS_VE. . . . . . . . . . . . . extern IDATA long ----- 4 ENCHO_CORUSE . . . . . . . . . . . . . extern BIT bit ----- 1 TRG_HSTEPS_VE. . . . . . . . . . . . . extern IDATA long ----- 4 floor. . . . . . . . . . . . . . . . . extern FCODE funct ----- ENC_FLAGS. . . . . . . . . . . . . . . extern BDATA uchar ----- 1 atan . . . . . . . . . . . . . . . . . extern FCODE funct ----- ENCVE_CORUSE . . . . . . . . . . . . . extern BIT bit ----- 1 modf . . . . . . . . . . . . . . . . . extern FCODE funct ----- acos . . . . . . . . . . . . . . . . . extern FCODE funct ----- strcpy . . . . . . . . . . . . . . . . extern FCODE funct ----- C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 169 RTCSetTime . . . . . . . . . . . . . . extern FCODE funct ----- atof . . . . . . . . . . . . . . . . . extern FCODE funct ----- asin . . . . . . . . . . . . . . . . . extern FCODE funct ----- stopEncoderInts. . . . . . . . . . . . extern FCODE funct ----- atoi . . . . . . . . . . . . . . . . . extern FCODE funct ----- YEAR . . . . . . . . . . . . . . . . . extern IDATA int ----- 2 atol . . . . . . . . . . . . . . . . . extern FCODE funct ----- ENCHO_COR. . . . . . . . . . . . . . . extern BIT bit ----- 1 ENCVE_COR. . . . . . . . . . . . . . . extern BIT bit ----- 1 THISMDAYS. . . . . . . . . . . . . . . extern IDATA int ----- 2 ENCHO_USE. . . . . . . . . . . . . . . extern BIT bit ----- 1 SECOND . . . . . . . . . . . . . . . . extern IDATA int ----- 2 HOUR . . . . . . . . . . . . . . . . . extern IDATA int ----- 2 MOT_FLAGS. . . . . . . . . . . . . . . extern BDATA uchar ----- 1 ENCVE_USE. . . . . . . . . . . . . . . extern BIT bit ----- 1 tan. . . . . . . . . . . . . . . . . . extern FCODE funct ----- cos. . . . . . . . . . . . . . . . . . extern FCODE funct ----- MOTHO_DIR. . . . . . . . . . . . . . . extern BIT bit ----- 1 sin. . . . . . . . . . . . . . . . . . extern FCODE funct ----- MOTVE_DIR. . . . . . . . . . . . . . . extern BIT bit ----- 1 MOT_CORRECTION . . . . . . . . . . . . extern BIT bit ----- 1 startEncoderIntsHo . . . . . . . . . . extern FCODE funct ----- MINUTE . . . . . . . . . . . . . . . . extern IDATA int ----- 2 startEncoderIntsVe . . . . . . . . . . extern FCODE funct ----- MOTFR_USE. . . . . . . . . . . . . . . extern BIT bit ----- 1 DAY. . . . . . . . . . . . . . . . . . extern IDATA int ----- 2 MOTHO_RUN. . . . . . . . . . . . . . . extern BIT bit ----- 1 SPEED_HO_CT. . . . . . . . . . . . . . extern IDATA int ----- 2 SPEED_FR_CT. . . . . . . . . . . . . . extern IDATA int ----- 2 MOTVE_RUN. . . . . . . . . . . . . . . extern BIT bit ----- 1 startTimerInt. . . . . . . . . . . . . extern FCODE funct ----- TIMER10. . . . . . . . . . . . . . . . extern IDATA int ----- 2 SPEED_VE_CT. . . . . . . . . . . . . . extern IDATA int ----- 2 ENC_ARC10_HO . . . . . . . . . . . . . extern IDATA long ----- 4 INT2BCD. . . . . . . . . . . . . . . . extern FCODE funct ----- BCD2INT. . . . . . . . . . . . . . . . extern FCODE funct ----- initTimerInt . . . . . . . . . . . . . extern FCODE funct ----- SPEED_HO . . . . . . . . . . . . . . . extern IDATA int ----- 2 SPEED_FR . . . . . . . . . . . . . . . extern IDATA int ----- 2 ENC_ARC10_VE . . . . . . . . . . . . . extern IDATA long ----- 4 CFG_HSTS_HO. . . . . . . . . . . . . . extern IDATA double ----- 8 CFG_HSTS_FR. . . . . . . . . . . . . . extern IDATA double ----- 8 SPEED_VE . . . . . . . . . . . . . . . extern IDATA int ----- 2 CFG_HSTS_VE. . . . . . . . . . . . . . extern IDATA double ----- 8 stopTimerInt . . . . . . . . . . . . . extern FCODE funct ----- CUR_ARC10_HO . . . . . . . . . . . . . extern IDATA long ----- 4 getListObj . . . . . . . . . . . . . . extern FCODE funct ----- HSTEP_HO . . . . . . . . . . . . . . . extern IDATA int ----- 2 showEncoders . . . . . . . . . . . . . public FCODE funct ----- mode . . . . . . . . . . . . . . . . --reg-- int ----- 2 KEY. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 tmp1 . . . . . . . . . . . . . . . . auto array 0H 20 tmp2 . . . . . . . . . . . . . . . . auto array 14H 20 cCurrentStarTime . . . . . . . . . . . public FCODE funct ----- TN . . . . . . . . . . . . . . . . . auto double 0H 8 TE . . . . . . . . . . . . . . . . . auto double 8H 8 Omega. . . . . . . . . . . . . . . . auto double 10H 8 L. . . . . . . . . . . . . . . . . . auto double 18H 8 Lst. . . . . . . . . . . . . . . . . auto double 20H 8 Depsi. . . . . . . . . . . . . . . . auto double 28H 8 Deps . . . . . . . . . . . . . . . . auto double 30H 8 eps0 . . . . . . . . . . . . . . . . auto double 38H 8 eps. . . . . . . . . . . . . . . . . --reg-- double ----- 8 Depsicoseps. . . . . . . . . . . . . auto double 40H 8 GMST0. . . . . . . . . . . . . . . . auto double 48H 8 GMST . . . . . . . . . . . . . . . . auto double 50H 8 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 170 LMST . . . . . . . . . . . . . . . . auto double 58H 8 CAL. . . . . . . . . . . . . . . . . --reg-- int ----- 2 tmpa . . . . . . . . . . . . . . . . auto double 60H 8 tmpb . . . . . . . . . . . . . . . . auto double 68H 8 tmpc . . . . . . . . . . . . . . . . auto double 70H 8 tmpe . . . . . . . . . . . . . . . . auto double 78H 8 p. . . . . . . . . . . . . . . . . . auto double 80H 8 j. . . . . . . . . . . . . . . . . . auto double 88H 8 m. . . . . . . . . . . . . . . . . . auto double 90H 8 jd . . . . . . . . . . . . . . . . . auto double 98H 8 b. . . . . . . . . . . . . . . . . . auto double A0H 8 JD . . . . . . . . . . . . . . . . . auto double A8H 8 d. . . . . . . . . . . . . . . . . . auto double B0H 8 config . . . . . . . . . . . . . . . . public FCODE funct ----- Time . . . . . . . . . . . . . . . . auto struct 0H 10 KEY. . . . . . . . . . . . . . . . . auto uchar AH 1 _y . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 cf . . . . . . . . . . . . . . . . . auto uchar CH 1 y. . . . . . . . . . . . . . . . . . --reg-- int ----- 2 upd. . . . . . . . . . . . . . . . . auto int EH 2 cmd. . . . . . . . . . . . . . . . . --reg-- int ----- 2 v1 . . . . . . . . . . . . . . . . . --reg-- int ----- 2 printDegrees . . . . . . . . . . . . . public FCODE funct ----- row. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 val. . . . . . . . . . . . . . . . . --reg-- double ----- 8 lo . . . . . . . . . . . . . . . . . --reg-- long ----- 4 lcd_on . . . . . . . . . . . . . . . . public FCODE funct ----- n. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 encode . . . . . . . . . . . . . . . . public FCODE funct ----- KEY. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 tmp1 . . . . . . . . . . . . . . . . auto array 0H 20 tmp2 . . . . . . . . . . . . . . . . auto array 14H 20 mode . . . . . . . . . . . . . . . . --reg-- int ----- 2 upd. . . . . . . . . . . . . . . . . --reg-- int ----- 2 initEncoderValues. . . . . . . . . . . public FCODE funct ----- printArc10Degrees. . . . . . . . . . . public FCODE funct ----- row. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 val. . . . . . . . . . . . . . . . . --reg-- long ----- 4 tmp1 . . . . . . . . . . . . . . . . auto array 0H 20 l1 . . . . . . . . . . . . . . . . . auto long 14H 4 l2 . . . . . . . . . . . . . . . . . --reg-- long ----- 4 l3 . . . . . . . . . . . . . . . . . --reg-- long ----- 4 tmp. . . . . . . . . . . . . . . . . --reg-- long ----- 4 rest . . . . . . . . . . . . . . . . --reg-- long ----- 4 sign . . . . . . . . . . . . . . . . auto int 18H 2 readkey. . . . . . . . . . . . . . . . public FCODE funct ----- val. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 sprintDegrees. . . . . . . . . . . . . public FCODE funct ----- ptr. . . . . . . . . . . . . . . . . --reg-- ptr ----- 4 val. . . . . . . . . . . . . . . . . param double 0H 8 lo . . . . . . . . . . . . . . . . . --reg-- long ----- 4 wait_100mues . . . . . . . . . . . . . public FCODE funct ----- Multiplikator. . . . . . . . . . . . --reg-- uchar ----- 1 a. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 i. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 lcd_puts . . . . . . . . . . . . . . . public FCODE funct ----- z. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 s. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 a. . . . . . . . . . . . . . . . . . --reg-- ptr ----- 4 i. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 sprintArc10Degrees . . . . . . . . . . public FCODE funct ----- ptr. . . . . . . . . . . . . . . . . --reg-- ptr ----- 4 val. . . . . . . . . . . . . . . . . --reg-- long ----- 4 l1 . . . . . . . . . . . . . . . . . auto long 0H 4 l2 . . . . . . . . . . . . . . . . . --reg-- long ----- 4 l3 . . . . . . . . . . . . . . . . . --reg-- long ----- 4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 171 tmp. . . . . . . . . . . . . . . . . --reg-- long ----- 4 rest . . . . . . . . . . . . . . . . --reg-- long ----- 4 sign . . . . . . . . . . . . . . . . auto int 4H 2 dHourslArc10 . . . . . . . . . . . . . public FCODE funct ----- val. . . . . . . . . . . . . . . . . param double 10H 8 x. . . . . . . . . . . . . . . . . . auto double 0H 8 y. . . . . . . . . . . . . . . . . . auto double 8H 8 lArc10dHours . . . . . . . . . . . . . public FCODE funct ----- val. . . . . . . . . . . . . . . . . --reg-- long ----- 4 x. . . . . . . . . . . . . . . . . . --reg-- double ----- 8 usrGetDouble . . . . . . . . . . . . . public FCODE funct ----- row. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 defval . . . . . . . . . . . . . . . param double 14H 8 tmp1 . . . . . . . . . . . . . . . . auto array 0H 20 KEY. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 x. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 d. . . . . . . . . . . . . . . . . . --reg-- double ----- 8 wait_10ms. . . . . . . . . . . . . . . public FCODE funct ----- Multiplikator. . . . . . . . . . . . --reg-- uchar ----- 1 a. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 i. . . . . . . . . . . . . . . . . . --reg-- uint ----- 2 usrGetOnOff. . . . . . . . . . . . . . public FCODE funct ----- txt. . . . . . . . . . . . . . . . . --reg-- ptr ----- 4 current. . . . . . . . . . . . . . . --reg-- int ----- 2 val. . . . . . . . . . . . . . . . . --reg-- int ----- 2 KEY. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 tmp1 . . . . . . . . . . . . . . . . auto array 0H 20 degreesSector. . . . . . . . . . . . . public FCODE funct ----- val. . . . . . . . . . . . . . . . . param double 0H 8 lcd_off. . . . . . . . . . . . . . . . public FCODE funct ----- testAstro. . . . . . . . . . . . . . . public FCODE funct ----- tmp. . . . . . . . . . . . . . . . . auto array 0H 42 ct . . . . . . . . . . . . . . . . . --reg-- int ----- 2 init_lcd . . . . . . . . . . . . . . . public FCODE funct ----- i. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 printLong. . . . . . . . . . . . . . . public FCODE funct ----- row. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 val. . . . . . . . . . . . . . . . . --reg-- long ----- 4 tmp1 . . . . . . . . . . . . . . . . auto array 0H 42 printDateTime. . . . . . . . . . . . . public FCODE funct ----- row. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 tmp1 . . . . . . . . . . . . . . . . auto array 0H 20 cAzAlt . . . . . . . . . . . . . . . . public FCODE funct ----- a. . . . . . . . . . . . . . . . . . auto double 0H 8 d. . . . . . . . . . . . . . . . . . auto double 8H 8 Theta. . . . . . . . . . . . . . . . auto double 10H 8 Q. . . . . . . . . . . . . . . . . . auto double 18H 8 f. . . . . . . . . . . . . . . . . . auto double 20H 8 Zlr. . . . . . . . . . . . . . . . . auto double 28H 8 Nnr. . . . . . . . . . . . . . . . . auto double 30H 8 at . . . . . . . . . . . . . . . . . auto double 38H 8 altitude . . . . . . . . . . . . . . auto double 40H 8 tmpa . . . . . . . . . . . . . . . . auto double 48H 8 tmpb . . . . . . . . . . . . . . . . auto double 50H 8 tmpc . . . . . . . . . . . . . . . . auto double 58H 8 REST . . . . . . . . . . . . . . . . . public FCODE funct ----- val. . . . . . . . . . . . . . . . . param double 8H 8 t. . . . . . . . . . . . . . . . . . param double 10H 8 x. . . . . . . . . . . . . . . . . . auto double 0H 8 correction . . . . . . . . . . . . . . public FCODE funct ----- KEY. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 speedflag. . . . . . . . . . . . . . --reg-- char ----- 1 speed. . . . . . . . . . . . . . . . auto int 0H 2 speedct. . . . . . . . . . . . . . . auto int 2H 2 mflags . . . . . . . . . . . . . . . --reg-- uchar ----- 1 _key . . . . . . . . . . . . . . . . auto uchar 4H 1 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 172 v. . . . . . . . . . . . . . . . . . auto double 6H 8 abs. . . . . . . . . . . . . . . . . auto double EH 8 encAutoTestVe. . . . . . . . . . . . . public FCODE funct ----- tmp. . . . . . . . . . . . . . . . . auto array 0H 20 signr. . . . . . . . . . . . . . . . --reg-- int ----- 2 ct . . . . . . . . . . . . . . . . . auto int 16H 2 l. . . . . . . . . . . . . . . . . . --reg-- long ----- 4 enc. . . . . . . . . . . . . . . . . --reg-- long ----- 4 d. . . . . . . . . . . . . . . . . . auto double 14H 8 setConfiguration . . . . . . . . . . . public FCODE funct ----- encAutoTestHo. . . . . . . . . . . . . public FCODE funct ----- tmp. . . . . . . . . . . . . . . . . auto array 0H 20 signr. . . . . . . . . . . . . . . . --reg-- int ----- 2 ct . . . . . . . . . . . . . . . . . auto int 16H 2 l. . . . . . . . . . . . . . . . . . --reg-- long ----- 4 enc. . . . . . . . . . . . . . . . . --reg-- long ----- 4 d. . . . . . . . . . . . . . . . . . auto double 14H 8 usrGetInt. . . . . . . . . . . . . . . public FCODE funct ----- row. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 defint . . . . . . . . . . . . . . . --reg-- int ----- 2 tmp1 . . . . . . . . . . . . . . . . auto array 0H 20 KEY. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 x. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 i. . . . . . . . . . . . . . . . . . --reg-- int ----- 2 initScopeValues. . . . . . . . . . . . public FCODE funct ----- abs. . . . . . . . . . . . . . . . . auto double 0H 8 v. . . . . . . . . . . . . . . . . . auto double 8H 8 main . . . . . . . . . . . . . . . . . public FCODE funct ----- Time . . . . . . . . . . . . . . . . auto struct 0H 10 KEY. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 y. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 upd. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 cf . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 cRaDec . . . . . . . . . . . . . . . . public FCODE funct ----- _lat . . . . . . . . . . . . . . . . auto double 0H 8 _az. . . . . . . . . . . . . . . . . auto double 8H 8 _alt . . . . . . . . . . . . . . . . auto double 10H 8 _last. . . . . . . . . . . . . . . . auto double 18H 8 _z . . . . . . . . . . . . . . . . . auto double 20H 8 _dec . . . . . . . . . . . . . . . . auto double 28H 8 _ra. . . . . . . . . . . . . . . . . auto double 30H 8 _stw . . . . . . . . . . . . . . . . auto double 38H 8 _stw1. . . . . . . . . . . . . . . . auto double 40H 8 _stw2. . . . . . . . . . . . . . . . auto double 48H 8 getConfiguration . . . . . . . . . . . public FCODE funct ----- setDaysOfMonth . . . . . . . . . . . . public FCODE funct ----- month. . . . . . . . . . . . . . . . --reg-- int ----- 2 year . . . . . . . . . . . . . . . . --reg-- int ----- 2 lcd_clear. . . . . . . . . . . . . . . public FCODE funct ----- scope. . . . . . . . . . . . . . . . . public FCODE funct ----- KEY. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 status2. . . . . . . . . . . . . . . auto array 0H 20 mode . . . . . . . . . . . . . . . . --reg-- int ----- 2 upd. . . . . . . . . . . . . . . . . --reg-- int ----- 2 ho . . . . . . . . . . . . . . . . . auto double 14H 8 ve . . . . . . . . . . . . . . . . . auto double 1CH 8 test . . . . . . . . . . . . . . . . auto long 24H 4 usrGetKoor . . . . . . . . . . . . . . public FCODE funct ----- azalt. . . . . . . . . . . . . . . . --reg-- int ----- 2 defho. . . . . . . . . . . . . . . . param double 38H 8 defve. . . . . . . . . . . . . . . . param double 40H 8 tmp1 . . . . . . . . . . . . . . . . auto array 0H 20 tmp2 . . . . . . . . . . . . . . . . auto array 14H 20 KEY. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 x. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 y. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 173 ret. . . . . . . . . . . . . . . . . --reg-- int ----- 2 l1 . . . . . . . . . . . . . . . . . --reg-- long ----- 4 l2 . . . . . . . . . . . . . . . . . auto long 28H 4 l3 . . . . . . . . . . . . . . . . . auto long 2CH 4 l4 . . . . . . . . . . . . . . . . . auto long 30H 4 l5 . . . . . . . . . . . . . . . . . auto long 34H 4 l6 . . . . . . . . . . . . . . . . . --reg-- long ----- 4 init_serial. . . . . . . . . . . . . . public FCODE funct ----- baud . . . . . . . . . . . . . . . . --reg-- uint ----- 2 lcd_putchar. . . . . . . . . . . . . . public FCODE funct ----- zeichen. . . . . . . . . . . . . . . --reg-- uchar ----- 1 usrGetDateTime . . . . . . . . . . . . public FCODE funct ----- tmp1 . . . . . . . . . . . . . . . . auto array 0H 20 tmp2 . . . . . . . . . . . . . . . . auto array 14H 20 KEY. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 x. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 y. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 ret. . . . . . . . . . . . . . . . . --reg-- int ----- 2 newday . . . . . . . . . . . . . . . --reg-- int ----- 2 newmonth . . . . . . . . . . . . . . --reg-- int ----- 2 newyear. . . . . . . . . . . . . . . auto int 28H 2 newhour. . . . . . . . . . . . . . . auto int 2AH 2 newminute. . . . . . . . . . . . . . auto int 2CH 2 newsecond. . . . . . . . . . . . . . --reg-- int ----- 2 usrGetLong . . . . . . . . . . . . . . public FCODE funct ----- row. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 deflong. . . . . . . . . . . . . . . --reg-- long ----- 4 tmp1 . . . . . . . . . . . . . . . . auto array 0H 20 KEY. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 x. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 l. . . . . . . . . . . . . . . . . . --reg-- long ----- 4 printDouble. . . . . . . . . . . . . . public FCODE funct ----- row. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 val. . . . . . . . . . . . . . . . . param double 2AH 8 tmp1 . . . . . . . . . . . . . . . . auto array 0H 42 hstepsSector . . . . . . . . . . . . . public FCODE funct ----- val. . . . . . . . . . . . . . . . . --reg-- long ----- 4 dDegreeslArc10 . . . . . . . . . . . . public FCODE funct ----- val. . . . . . . . . . . . . . . . . param double 10H 8 x. . . . . . . . . . . . . . . . . . auto double 0H 8 y. . . . . . . . . . . . . . . . . . auto double 8H 8 lArc10dDegrees . . . . . . . . . . . . public FCODE funct ----- val. . . . . . . . . . . . . . . . . --reg-- long ----- 4 x. . . . . . . . . . . . . . . . . . --reg-- double ----- 8 usrGetAck. . . . . . . . . . . . . . . public FCODE funct ----- txt. . . . . . . . . . . . . . . . . --reg-- ptr ----- 4 KEY. . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 tmp1 . . . . . . . . . . . . . . . . auto array 0H 20 testkey. . . . . . . . . . . . . . . . public FCODE funct ----- val. . . . . . . . . . . . . . . . . --reg-- uint ----- 2 arc10Sector. . . . . . . . . . . . . . public FCODE funct ----- val. . . . . . . . . . . . . . . . . --reg-- long ----- 4 origin . . . . . . . . . . . . . . . . public FCODE funct ----- abs. . . . . . . . . . . . . . . . . auto double 0H 8 v. . . . . . . . . . . . . . . . . . auto double 8H 8 lcd_setcursor. . . . . . . . . . . . . public FCODE funct ----- z. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 s. . . . . . . . . . . . . . . . . . --reg-- uchar ----- 1 csr_pos. . . . . . . . . . . . . . . --reg-- uchar ----- 1 calcTarget . . . . . . . . . . . . . . public FCODE funct ----- abs. . . . . . . . . . . . . . . . . auto double 0H 8 v. . . . . . . . . . . . . . . . . . auto double 8H 8 cursector. . . . . . . . . . . . . . --reg-- int ----- 2 trgsector. . . . . . . . . . . . . . --reg-- int ----- 2 flag . . . . . . . . . . . . . . . . --reg-- int ----- 2 curho. . . . . . . . . . . . . . . . --reg-- long ----- 4 C166 COMPILER V3.10b, MAIN 28/08/03 20:15:54 PAGE 174 curve. . . . . . . . . . . . . . . . auto long 10H 4 trgho. . . . . . . . . . . . . . . . auto long 14H 4 trgve. . . . . . . . . . . . . . . . auto long 18H 4 config_reset . . . . . . . . . . . . . public FCODE funct ----- menu_txt . . . . . . . . . . . . . . . public FCONST array 0H 54 cfg_txt. . . . . . . . . . . . . . . . public FCONST array 36H 522 main_txt3. . . . . . . . . . . . . . . public FCONST array 240H 18 main_txt2. . . . . . . . . . . . . . . public FCONST array 252H 18 main_txt1. . . . . . . . . . . . . . . public FCONST array 264H 18 main_txt0. . . . . . . . . . . . . . . public FCONST array 276H 18 curconfig. . . . . . . . . . . . . . . public NDATA int 0H 2 cfg. . . . . . . . . . . . . . . . . . public FDATA array 0H 248 MODULE INFORMATION: INITIALIZED UNINITIALIZED CODE SIZE = 22704 -------- NEAR-CONST SIZE = -------- -------- FAR-CONST SIZE = 1067 -------- HUGE-CONST SIZE = -------- -------- XHUGE-CONST SIZE = -------- -------- NEAR-DATA SIZE = -------- 2 FAR-DATA SIZE = -------- 248 XHUGE-DATA SIZE = -------- -------- IDATA-DATA SIZE = -------- -------- SDATA-DATA SIZE = -------- -------- BDATA-DATA SIZE = -------- -------- HUGE-DATA SIZE = -------- -------- BIT SIZE = -------- -------- INIT'L SIZE = -------- -------- END OF MODULE INFORMATION. C166 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)