gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 1 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00001 ;-------------------------------------------------------- 00002 ; File Created by SDCC : free open source ANSI-C Compiler 00003 ; Version 2.9.7 #5883 (Jul 21 2010) (CYGWIN) 00004 ; This file was generated Sat Dec 25 14:04:38 2010 00005 ;-------------------------------------------------------- 00006 ; PIC16 port for the Microchip 16-bit core micros 00007 ;-------------------------------------------------------- 00008 list p=18f2680 00009 00010 radix dec 00011 00012 ;-------------------------------------------------------- 00013 ; public variables in this module 00014 ;-------------------------------------------------------- 00015 global _TIMER_setup 00016 global _TIMER_set_T0 00017 global _TIMER_set_T1 00018 global _TIMER_set_T2 00019 global _TIMER_get 00020 00021 ;-------------------------------------------------------- 00022 ; extern variables in this module 00023 ;-------------------------------------------------------- 00024 extern __gptrget1 00025 extern _RXF6SIDHbits 00026 extern _RXF6SIDLbits 00027 extern _RXF6EIDHbits 00028 extern _RXF6EIDLbits 00029 extern _RXF7SIDHbits 00030 extern _RXF7SIDLbits 00031 extern _RXF7EIDHbits 00032 extern _RXF7EIDLbits 00033 extern _RXF8SIDHbits 00034 extern _RXF8SIDLbits 00035 extern _RXF8EIDHbits 00036 extern _RXF8EIDLbits 00037 extern _RXF9SIDHbits 00038 extern _RXF9SIDLbits 00039 extern _RXF9EIDHbits 00040 extern _RXF9EIDLbits 00041 extern _RXF10SIDHbits 00042 extern _RXF10SIDLbits 00043 extern _RXF10EIDHbits 00044 extern _RXF10EIDLbits 00045 extern _RXF11SIDHbits 00046 extern _RXF11SIDLbits 00047 extern _RXF11EIDHbits 00048 extern _RXF11EIDLbits 00049 extern _RXF12SIDHbits 00050 extern _RXF12SIDLbits 00051 extern _RXF12EIDHbits 00052 extern _RXF12EIDLbits 00053 extern _RXF13SIDHbits 00054 extern _RXF13SIDLbits gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 2 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00055 extern _RXF13EIDHbits 00056 extern _RXF13EIDLbits 00057 extern _RXF14SIDHbits 00058 extern _RXF14SIDLbits 00059 extern _RXF14EIDHbits 00060 extern _RXF14EIDLbits 00061 extern _RXF15SIDHbits 00062 extern _RXF15SIDLbits 00063 extern _RXF15EIDHbits 00064 extern _RXF15EIDLbits 00065 extern _RXFCON0bits 00066 extern _RXFCON1bits 00067 extern _SDFLCbits 00068 extern _RXFBCON0bits 00069 extern _RXFBCON1bits 00070 extern _RXFBCON2bits 00071 extern _RXFBCON3bits 00072 extern _RXFBCON4bits 00073 extern _RXFBCON5bits 00074 extern _RXFBCON6bits 00075 extern _RXFBCON7bits 00076 extern _MSEL0bits 00077 extern _MSEL1bits 00078 extern _MSEL2bits 00079 extern _MSEL3bits 00080 extern _BSEL0bits 00081 extern _BIE0bits 00082 extern _TXBIEbits 00083 extern _B0CONbits 00084 extern _B0SIDHbits 00085 extern _B0SIDLbits 00086 extern _B0EIDHbits 00087 extern _B0EIDLbits 00088 extern _B0DLCbits 00089 extern _B0D0bits 00090 extern _B0D1bits 00091 extern _B0D2bits 00092 extern _B0D3bits 00093 extern _B0D4bits 00094 extern _B0D5bits 00095 extern _B0D6bits 00096 extern _B0D7bits 00097 extern _CANSTAT_RO9bits 00098 extern _CANCON_RO9bits 00099 extern _B1CONbits 00100 extern _B1SIDHbits 00101 extern _B1SIDLbits 00102 extern _B1EIDHbits 00103 extern _B1EIDLbits 00104 extern _B1DLCbits 00105 extern _B1D0bits 00106 extern _B1D1bits 00107 extern _B1D2bits 00108 extern _B1D3bits gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 3 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00109 extern _B1D4bits 00110 extern _B1D5bits 00111 extern _B1D6bits 00112 extern _B1D7bits 00113 extern _CANSTAT_RO8bits 00114 extern _CANCON_RO8bits 00115 extern _B2CONbits 00116 extern _B2SIDHbits 00117 extern _B2SIDLbits 00118 extern _B2EIDHbits 00119 extern _B2EIDLbits 00120 extern _B2DLCbits 00121 extern _B2D0bits 00122 extern _B2D1bits 00123 extern _B2D2bits 00124 extern _B2D3bits 00125 extern _B2D4bits 00126 extern _B2D5bits 00127 extern _B2D6bits 00128 extern _B2D7bits 00129 extern _CANSTAT_RO7bits 00130 extern _CANCON_RO7bits 00131 extern _B3CONbits 00132 extern _B3SIDHbits 00133 extern _B3SIDLbits 00134 extern _B3EIDHbits 00135 extern _B3EIDLbits 00136 extern _B3DLCbits 00137 extern _B3D0bits 00138 extern _B3D1bits 00139 extern _B3D2bits 00140 extern _B3D3bits 00141 extern _B3D4bits 00142 extern _B3D5bits 00143 extern _B3D6bits 00144 extern _B3D7bits 00145 extern _CANSTAT_RO6bits 00146 extern _CANCON_RO6bits 00147 extern _B4CONbits 00148 extern _B4SIDHbits 00149 extern _B4SIDLbits 00150 extern _B4EIDHbits 00151 extern _B4EIDLbits 00152 extern _B4DLCbits 00153 extern _B4D0bits 00154 extern _B4D1bits 00155 extern _B4D2bits 00156 extern _B4D3bits 00157 extern _B4D4bits 00158 extern _B4D5bits 00159 extern _B4D6bits 00160 extern _B4D7bits 00161 extern _CANSTAT_RO5bits 00162 extern _CANCON_RO5bits gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 4 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00163 extern _B5CONbits 00164 extern _B5SIDHbits 00165 extern _B5SIDLbits 00166 extern _B5EIDHbits 00167 extern _B5EIDLbits 00168 extern _B5DLCbits 00169 extern _B5D0bits 00170 extern _B5D1bits 00171 extern _B5D2bits 00172 extern _B5D3bits 00173 extern _B5D4bits 00174 extern _B5D5bits 00175 extern _B5D6bits 00176 extern _B5D7bits 00177 extern _CANSTAT_RO4bits 00178 extern _CANCON_RO4bits 00179 extern _RXF0SIDHbits 00180 extern _RXF0SIDLbits 00181 extern _RXF0EIDHbits 00182 extern _RXF0EIDLbits 00183 extern _RXF1SIDHbits 00184 extern _RXF1SIDLbits 00185 extern _RXF1EIDHbits 00186 extern _RXF1EIDLbits 00187 extern _RXF2SIDHbits 00188 extern _RXF2SIDLbits 00189 extern _RXF2EIDHbits 00190 extern _RXF2EIDLbits 00191 extern _RXF3SIDHbits 00192 extern _RXF3SIDLbits 00193 extern _RXF3EIDHbits 00194 extern _RXF3EIDLbits 00195 extern _RXF4SIDHbits 00196 extern _RXF4SIDLbits 00197 extern _RXF4EIDHbits 00198 extern _RXF4EIDLbits 00199 extern _RXF5SIDHbits 00200 extern _RXF5SIDLbits 00201 extern _RXF5EIDHbits 00202 extern _RXF5EIDLbits 00203 extern _RXM0SIDHbits 00204 extern _RXM0SIDLbits 00205 extern _RXM0EIDHbits 00206 extern _RXM0EIDLbits 00207 extern _RXM1SIDHbits 00208 extern _RXM1SIDLbits 00209 extern _RXM1EIDHbits 00210 extern _RXM1EIDLbits 00211 extern _TXB2CONbits 00212 extern _TXB2SIDHbits 00213 extern _TXB2SIDLbits 00214 extern _TXB2EIDHbits 00215 extern _TXB2EIDLbits 00216 extern _TXB2DLCbits gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 5 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00217 extern _TXB2D0bits 00218 extern _TXB2D1bits 00219 extern _TXB2D2bits 00220 extern _TXB2D3bits 00221 extern _TXB2D4bits 00222 extern _TXB2D5bits 00223 extern _TXB2D6bits 00224 extern _TXB2D7bits 00225 extern _CANSTAT_RO3bits 00226 extern _CANCON_RO3bits 00227 extern _TXB1CONbits 00228 extern _TXB1SIDHbits 00229 extern _TXB1SIDLbits 00230 extern _TXB1EIDHbits 00231 extern _TXB1EIDLbits 00232 extern _TXB1DLCbits 00233 extern _TXB1D0bits 00234 extern _TXB1D1bits 00235 extern _TXB1D2bits 00236 extern _TXB1D3bits 00237 extern _TXB1D4bits 00238 extern _TXB1D5bits 00239 extern _TXB1D6bits 00240 extern _TXB1D7bits 00241 extern _CANSTAT_RO2bits 00242 extern _CANCON_RO2bits 00243 extern _TXB0CONbits 00244 extern _TXB0SIDHbits 00245 extern _TXB0SIDLbits 00246 extern _TXB0EIDHbits 00247 extern _TXB0EIDLbits 00248 extern _TXB0DLCbits 00249 extern _TXB0D0bits 00250 extern _TXB0D1bits 00251 extern _TXB0D2bits 00252 extern _TXB0D3bits 00253 extern _TXB0D4bits 00254 extern _TXB0D5bits 00255 extern _TXB0D6bits 00256 extern _TXB0D7bits 00257 extern _CANSTAT_RO1bits 00258 extern _CANCON_RO1bits 00259 extern _RXB1CONbits 00260 extern _RXB1SIDHbits 00261 extern _RXB1SIDLbits 00262 extern _RXB1EIDHbits 00263 extern _RXB1EIDLbits 00264 extern _RXB1DLCbits 00265 extern _RXB1D0bits 00266 extern _RXB1D1bits 00267 extern _RXB1D2bits 00268 extern _RXB1D3bits 00269 extern _RXB1D4bits 00270 extern _RXB1D5bits gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 6 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00271 extern _RXB1D6bits 00272 extern _RXB1D7bits 00273 extern _CANSTAT_RO0bits 00274 extern _CANCON_RO0bits 00275 extern _RXB0CONbits 00276 extern _RXB0SIDHbits 00277 extern _RXB0SIDLbits 00278 extern _RXB0EIDHbits 00279 extern _RXB0EIDLbits 00280 extern _RXB0DLCbits 00281 extern _RXB0D0bits 00282 extern _RXB0D1bits 00283 extern _RXB0D2bits 00284 extern _RXB0D3bits 00285 extern _RXB0D4bits 00286 extern _RXB0D5bits 00287 extern _RXB0D6bits 00288 extern _RXB0D7bits 00289 extern _CANSTATbits 00290 extern _CANCONbits 00291 extern _BRGCON1bits 00292 extern _BRGCON2bits 00293 extern _BRGCON3bits 00294 extern _CIOCONbits 00295 extern _COMSTATbits 00296 extern _RXERRCNTbits 00297 extern _TXERRCNTbits 00298 extern _ECANCONbits 00299 extern _PORTAbits 00300 extern _PORTBbits 00301 extern _PORTCbits 00302 extern _LATAbits 00303 extern _LATBbits 00304 extern _LATCbits 00305 extern _DDRAbits 00306 extern _TRISAbits 00307 extern _DDRBbits 00308 extern _TRISBbits 00309 extern _DDRCbits 00310 extern _TRISCbits 00311 extern _OSCTUNEbits 00312 extern _PIE1bits 00313 extern _PIR1bits 00314 extern _IPR1bits 00315 extern _PIE2bits 00316 extern _PIR2bits 00317 extern _IPR2bits 00318 extern _PIE3bits 00319 extern _PIR3bits 00320 extern _IPR3bits 00321 extern _EECON1bits 00322 extern _RCSTAbits 00323 extern _TXSTAbits 00324 extern _T3CONbits gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 7 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00325 extern _BAUDCONbits 00326 extern _CCP1CONbits 00327 extern _ADCON2bits 00328 extern _ADCON1bits 00329 extern _ADCON0bits 00330 extern _SSPCON2bits 00331 extern _SSPCON1bits 00332 extern _SSPSTATbits 00333 extern _T2CONbits 00334 extern _T1CONbits 00335 extern _RCONbits 00336 extern _WDTCONbits 00337 extern _HLVDCONbits 00338 extern _LVDCONbits 00339 extern _OSCCONbits 00340 extern _T0CONbits 00341 extern _STATUSbits 00342 extern _INTCON3bits 00343 extern _INTCON2bits 00344 extern _INTCONbits 00345 extern _STKPTRbits 00346 extern _RXF6SIDH 00347 extern _RXF6SIDL 00348 extern _RXF6EIDH 00349 extern _RXF6EIDL 00350 extern _RXF7SIDH 00351 extern _RXF7SIDL 00352 extern _RXF7EIDH 00353 extern _RXF7EIDL 00354 extern _RXF8SIDH 00355 extern _RXF8SIDL 00356 extern _RXF8EIDH 00357 extern _RXF8EIDL 00358 extern _RXF9SIDH 00359 extern _RXF9SIDL 00360 extern _RXF9EIDH 00361 extern _RXF9EIDL 00362 extern _RXF10SIDH 00363 extern _RXF10SIDL 00364 extern _RXF10EIDH 00365 extern _RXF10EIDL 00366 extern _RXF11SIDH 00367 extern _RXF11SIDL 00368 extern _RXF11EIDH 00369 extern _RXF11EIDL 00370 extern _RXF12SIDH 00371 extern _RXF12SIDL 00372 extern _RXF12EIDH 00373 extern _RXF12EIDL 00374 extern _RXF13SIDH 00375 extern _RXF13SIDL 00376 extern _RXF13EIDH 00377 extern _RXF13EIDL 00378 extern _RXF14SIDH gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 8 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00379 extern _RXF14SIDL 00380 extern _RXF14EIDH 00381 extern _RXF14EIDL 00382 extern _RXF15SIDH 00383 extern _RXF15SIDL 00384 extern _RXF15EIDH 00385 extern _RXF15EIDL 00386 extern _RXFCON0 00387 extern _RXFCON1 00388 extern _SDFLC 00389 extern _RXFBCON0 00390 extern _RXFBCON1 00391 extern _RXFBCON2 00392 extern _RXFBCON3 00393 extern _RXFBCON4 00394 extern _RXFBCON5 00395 extern _RXFBCON6 00396 extern _RXFBCON7 00397 extern _MSEL0 00398 extern _MSEL1 00399 extern _MSEL2 00400 extern _MSEL3 00401 extern _BSEL0 00402 extern _BIE0 00403 extern _TXBIE 00404 extern _B0CON 00405 extern _B0SIDH 00406 extern _B0SIDL 00407 extern _B0EIDH 00408 extern _B0EIDL 00409 extern _B0DLC 00410 extern _B0D0 00411 extern _B0D1 00412 extern _B0D2 00413 extern _B0D3 00414 extern _B0D4 00415 extern _B0D5 00416 extern _B0D6 00417 extern _B0D7 00418 extern _CANSTAT_RO9 00419 extern _CANCON_RO9 00420 extern _B1CON 00421 extern _B1SIDH 00422 extern _B1SIDL 00423 extern _B1EIDH 00424 extern _B1EIDL 00425 extern _B1DLC 00426 extern _B1D0 00427 extern _B1D1 00428 extern _B1D2 00429 extern _B1D3 00430 extern _B1D4 00431 extern _B1D5 00432 extern _B1D6 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 9 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00433 extern _B1D7 00434 extern _CANSTAT_RO8 00435 extern _CANCON_RO8 00436 extern _B2CON 00437 extern _B2SIDH 00438 extern _B2SIDL 00439 extern _B2EIDH 00440 extern _B2EIDL 00441 extern _B2DLC 00442 extern _B2D0 00443 extern _B2D1 00444 extern _B2D2 00445 extern _B2D3 00446 extern _B2D4 00447 extern _B2D5 00448 extern _B2D6 00449 extern _B2D7 00450 extern _CANSTAT_RO7 00451 extern _CANCON_RO7 00452 extern _B3CON 00453 extern _B3SIDH 00454 extern _B3SIDL 00455 extern _B3EIDH 00456 extern _B3EIDL 00457 extern _B3DLC 00458 extern _B3D0 00459 extern _B3D1 00460 extern _B3D2 00461 extern _B3D3 00462 extern _B3D4 00463 extern _B3D5 00464 extern _B3D6 00465 extern _B3D7 00466 extern _CANSTAT_RO6 00467 extern _CANCON_RO6 00468 extern _B4CON 00469 extern _B4SIDH 00470 extern _B4SIDL 00471 extern _B4EIDH 00472 extern _B4EIDL 00473 extern _B4DLC 00474 extern _B4D0 00475 extern _B4D1 00476 extern _B4D2 00477 extern _B4D3 00478 extern _B4D4 00479 extern _B4D5 00480 extern _B4D6 00481 extern _B4D7 00482 extern _CANSTAT_RO5 00483 extern _CANCON_RO5 00484 extern _B5CON 00485 extern _B5SIDH 00486 extern _B5SIDL gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 10 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00487 extern _B5EIDH 00488 extern _B5EIDL 00489 extern _B5DLC 00490 extern _B5D0 00491 extern _B5D1 00492 extern _B5D2 00493 extern _B5D3 00494 extern _B5D4 00495 extern _B5D5 00496 extern _B5D6 00497 extern _B5D7 00498 extern _CANSTAT_RO4 00499 extern _CANCON_RO4 00500 extern _RXF0SIDH 00501 extern _RXF0SIDL 00502 extern _RXF0EIDH 00503 extern _RXF0EIDL 00504 extern _RXF1SIDH 00505 extern _RXF1SIDL 00506 extern _RXF1EIDH 00507 extern _RXF1EIDL 00508 extern _RXF2SIDH 00509 extern _RXF2SIDL 00510 extern _RXF2EIDH 00511 extern _RXF2EIDL 00512 extern _RXF3SIDH 00513 extern _RXF3SIDL 00514 extern _RXF3EIDH 00515 extern _RXF3EIDL 00516 extern _RXF4SIDH 00517 extern _RXF4SIDL 00518 extern _RXF4EIDH 00519 extern _RXF4EIDL 00520 extern _RXF5SIDH 00521 extern _RXF5SIDL 00522 extern _RXF5EIDH 00523 extern _RXF5EIDL 00524 extern _RXM0SIDH 00525 extern _RXM0SIDL 00526 extern _RXM0EIDH 00527 extern _RXM0EIDL 00528 extern _RXM1SIDH 00529 extern _RXM1SIDL 00530 extern _RXM1EIDH 00531 extern _RXM1EIDL 00532 extern _TXB2CON 00533 extern _TXB2SIDH 00534 extern _TXB2SIDL 00535 extern _TXB2EIDH 00536 extern _TXB2EIDL 00537 extern _TXB2DLC 00538 extern _TXB2D0 00539 extern _TXB2D1 00540 extern _TXB2D2 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 11 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00541 extern _TXB2D3 00542 extern _TXB2D4 00543 extern _TXB2D5 00544 extern _TXB2D6 00545 extern _TXB2D7 00546 extern _CANSTAT_RO3 00547 extern _CANCON_RO3 00548 extern _TXB1CON 00549 extern _TXB1SIDH 00550 extern _TXB1SIDL 00551 extern _TXB1EIDH 00552 extern _TXB1EIDL 00553 extern _TXB1DLC 00554 extern _TXB1D0 00555 extern _TXB1D1 00556 extern _TXB1D2 00557 extern _TXB1D3 00558 extern _TXB1D4 00559 extern _TXB1D5 00560 extern _TXB1D6 00561 extern _TXB1D7 00562 extern _CANSTAT_RO2 00563 extern _CANCON_RO2 00564 extern _TXB0CON 00565 extern _TXB0SIDH 00566 extern _TXB0SIDL 00567 extern _TXB0EIDH 00568 extern _TXB0EIDL 00569 extern _TXB0DLC 00570 extern _TXB0D0 00571 extern _TXB0D1 00572 extern _TXB0D2 00573 extern _TXB0D3 00574 extern _TXB0D4 00575 extern _TXB0D5 00576 extern _TXB0D6 00577 extern _TXB0D7 00578 extern _CANSTAT_RO1 00579 extern _CANCON_RO1 00580 extern _RXB1CON 00581 extern _RXB1SIDH 00582 extern _RXB1SIDL 00583 extern _RXB1EIDH 00584 extern _RXB1EIDL 00585 extern _RXB1DLC 00586 extern _RXB1D0 00587 extern _RXB1D1 00588 extern _RXB1D2 00589 extern _RXB1D3 00590 extern _RXB1D4 00591 extern _RXB1D5 00592 extern _RXB1D6 00593 extern _RXB1D7 00594 extern _CANSTAT_RO0 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 12 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00595 extern _CANCON_RO0 00596 extern _RXB0CON 00597 extern _RXB0SIDH 00598 extern _RXB0SIDL 00599 extern _RXB0EIDH 00600 extern _RXB0EIDL 00601 extern _RXB0DLC 00602 extern _RXB0D0 00603 extern _RXB0D1 00604 extern _RXB0D2 00605 extern _RXB0D3 00606 extern _RXB0D4 00607 extern _RXB0D5 00608 extern _RXB0D6 00609 extern _RXB0D7 00610 extern _CANSTAT 00611 extern _CANCON 00612 extern _BRGCON1 00613 extern _BRGCON2 00614 extern _BRGCON3 00615 extern _CIOCON 00616 extern _COMSTAT 00617 extern _RXERRCNT 00618 extern _TXERRCNT 00619 extern _ECANCON 00620 extern _PORTA 00621 extern _PORTB 00622 extern _PORTC 00623 extern _LATA 00624 extern _LATB 00625 extern _LATC 00626 extern _DDRA 00627 extern _TRISA 00628 extern _DDRB 00629 extern _TRISB 00630 extern _DDRC 00631 extern _TRISC 00632 extern _OSCTUNE 00633 extern _PIE1 00634 extern _PIR1 00635 extern _IPR1 00636 extern _PIE2 00637 extern _PIR2 00638 extern _IPR2 00639 extern _PIE3 00640 extern _PIR3 00641 extern _IPR3 00642 extern _EECON1 00643 extern _EECON2 00644 extern _EEDATA 00645 extern _EEADR 00646 extern _EEADRH 00647 extern _RCSTA 00648 extern _TXSTA gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 13 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00649 extern _TXREG 00650 extern _RCREG 00651 extern _SPBRG 00652 extern _SPBRGH 00653 extern _T3CON 00654 extern _TMR3L 00655 extern _TMR3H 00656 extern _BAUDCON 00657 extern _CCP1CON 00658 extern _CCPR1 00659 extern _CCPR1L 00660 extern _CCPR1H 00661 extern _ADCON2 00662 extern _ADCON1 00663 extern _ADCON0 00664 extern _ADRES 00665 extern _ADRESL 00666 extern _ADRESH 00667 extern _SSPCON2 00668 extern _SSPCON1 00669 extern _SSPSTAT 00670 extern _SSPADD 00671 extern _SSPBUF 00672 extern _T2CON 00673 extern _PR2 00674 extern _TMR2 00675 extern _T1CON 00676 extern _TMR1L 00677 extern _TMR1H 00678 extern _RCON 00679 extern _WDTCON 00680 extern _HLVDCON 00681 extern _LVDCON 00682 extern _OSCCON 00683 extern _T0CON 00684 extern _TMR0L 00685 extern _TMR0H 00686 extern _STATUS 00687 extern _FSR2L 00688 extern _FSR2H 00689 extern _PLUSW2 00690 extern _PREINC2 00691 extern _POSTDEC2 00692 extern _POSTINC2 00693 extern _INDF2 00694 extern _BSR 00695 extern _FSR1L 00696 extern _FSR1H 00697 extern _PLUSW1 00698 extern _PREINC1 00699 extern _POSTDEC1 00700 extern _POSTINC1 00701 extern _INDF1 00702 extern _WREG gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 14 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00703 extern _FSR0L 00704 extern _FSR0H 00705 extern _PLUSW0 00706 extern _PREINC0 00707 extern _POSTDEC0 00708 extern _POSTINC0 00709 extern _INDF0 00710 extern _INTCON3 00711 extern _INTCON2 00712 extern _INTCON 00713 extern _PROD 00714 extern _PRODL 00715 extern _PRODH 00716 extern _TABLAT 00717 extern _TBLPTR 00718 extern _TBLPTRL 00719 extern _TBLPTRH 00720 extern _TBLPTRU 00721 extern _PC 00722 extern _PCL 00723 extern _PCLATH 00724 extern _PCLATU 00725 extern _STKPTR 00726 extern _TOS 00727 extern _TOSL 00728 extern _TOSH 00729 extern _TOSU 00730 ;-------------------------------------------------------- 00731 ; Equates to used internal registers 00732 ;-------------------------------------------------------- 00000FD8 00733 STATUS equ 0xfd8 00000FF9 00734 PCL equ 0xff9 00000FFA 00735 PCLATH equ 0xffa 00000FFB 00736 PCLATU equ 0xffb 00000FE8 00737 WREG equ 0xfe8 00000FE9 00738 FSR0L equ 0xfe9 00000FE1 00739 FSR1L equ 0xfe1 00000FD9 00740 FSR2L equ 0xfd9 00000FE5 00741 POSTDEC1 equ 0xfe5 00000FE4 00742 PREINC1 equ 0xfe4 00000FDB 00743 PLUSW2 equ 0xfdb 00000FF3 00744 PRODL equ 0xff3 00745 00746 00747 ; Internal registers 00748 .registers udata_ovr 0x0000 00749 r0x00 res 1 00750 r0x01 res 1 00751 r0x02 res 1 00752 r0x03 res 1 00753 r0x04 res 1 00754 r0x05 res 1 00755 00756 ;-------------------------------------------------------- gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 15 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00757 ; global & static initialisations 00758 ;-------------------------------------------------------- 00759 ; I code from now on! 00760 ; ; Starting pCode block 00761 S_timer__TIMER_get code 0000 00762 _TIMER_get: 00763 ; .line 41; timer.c TIMER_value TIMER_get( TIMER_handle t ) { 0000 CFD9 FFE5 00764 MOVFF FSR2L, POSTDEC1 0004 CFE1 FFD9 00765 MOVFF FSR1L, FSR2L 0008 C000 FFE5 00766 MOVFF r0x00, POSTDEC1 000C C000 FFE5 00767 MOVFF r0x01, POSTDEC1 0010 C000 FFE5 00768 MOVFF r0x02, POSTDEC1 0014 C000 FFE5 00769 MOVFF r0x03, POSTDEC1 0018 C000 FFE5 00770 MOVFF r0x04, POSTDEC1 001C C000 FFE5 00771 MOVFF r0x05, POSTDEC1 0020 0E02 00772 MOVLW 0x02 0022 CFDB F000 00773 MOVFF PLUSW2, r0x00 00774 ; .line 42; timer.c switch (t) { 0026 5000 00775 MOVF r0x00, W 0028 E100 00776 BNZ _00141_DS_ 00777 ; .line 43; timer.c case TIMER_0: return (TMR0L + (TMR0H<<8)); 002A C000 F000 00778 MOVFF _TMR0L, r0x00 002E 6A00 00779 CLRF r0x01 0030 C000 F000 00780 MOVFF _TMR0H, r0x02 0034 6A00 00781 CLRF r0x03 0036 5000 00782 MOVF r0x02, W 0038 6E00 00783 MOVWF r0x05 003A 6A00 00784 CLRF r0x04 003C 5000 00785 MOVF r0x04, W 003E 2600 00786 ADDWF r0x00, F 0040 5000 00787 MOVF r0x05, W 0042 2200 00788 ADDWFC r0x01, F 0044 C000 FFF3 00789 MOVFF r0x01, PRODL 0048 5000 00790 MOVF r0x00, W 004A 00791 _00141_DS_: 00792 ; .line 46; timer.c }; 004A CFE4 F000 00793 MOVFF PREINC1, r0x05 004E CFE4 F000 00794 MOVFF PREINC1, r0x04 0052 CFE4 F000 00795 MOVFF PREINC1, r0x03 0056 CFE4 F000 00796 MOVFF PREINC1, r0x02 005A CFE4 F000 00797 MOVFF PREINC1, r0x01 005E CFE4 F000 00798 MOVFF PREINC1, r0x00 0062 CFE4 FFD9 00799 MOVFF PREINC1, FSR2L 0066 0012 00800 RETURN 00801 00802 ; ; Starting pCode block 00803 S_timer__TIMER_set_T2 code 0000 00804 _TIMER_set_T2: 00805 ; .line 39; timer.c void TIMER_set_T2( TIMER_value v ) { } 0000 CFD9 FFE5 00806 MOVFF FSR2L, POSTDEC1 0004 CFE1 FFD9 00807 MOVFF FSR1L, FSR2L 0008 CFE4 FFD9 00808 MOVFF PREINC1, FSR2L 000C 0012 00809 RETURN 00810 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 16 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00811 ; ; Starting pCode block 00812 S_timer__TIMER_set_T1 code 0000 00813 _TIMER_set_T1: 00814 ; .line 37; timer.c void TIMER_set_T1( TIMER_value v ) { } 0000 CFD9 FFE5 00815 MOVFF FSR2L, POSTDEC1 0004 CFE1 FFD9 00816 MOVFF FSR1L, FSR2L 0008 CFE4 FFD9 00817 MOVFF PREINC1, FSR2L 000C 0012 00818 RETURN 00819 00820 ; ; Starting pCode block 00821 S_timer__TIMER_set_T0 code 0000 00822 _TIMER_set_T0: 00823 ; .line 32; timer.c void TIMER_set_T0( TIMER_value v ) { 0000 CFD9 FFE5 00824 MOVFF FSR2L, POSTDEC1 0004 CFE1 FFD9 00825 MOVFF FSR1L, FSR2L 0008 C000 FFE5 00826 MOVFF r0x00, POSTDEC1 000C C000 FFE5 00827 MOVFF r0x01, POSTDEC1 0010 C000 FFE5 00828 MOVFF r0x02, POSTDEC1 0014 C000 FFE5 00829 MOVFF r0x03, POSTDEC1 0018 0E02 00830 MOVLW 0x02 001A CFDB F000 00831 MOVFF PLUSW2, r0x00 001E 0E03 00832 MOVLW 0x03 0020 CFDB F000 00833 MOVFF PLUSW2, r0x01 00834 ; .line 33; timer.c TMR0H = (unsigned char)(v >> 8); 0024 5000 00835 MOVF r0x01, W 0026 6E00 00836 MOVWF r0x02 0028 6A00 00837 CLRF r0x03 002A 5000 00838 MOVF r0x02, W 002C 6E00 00839 MOVWF _TMR0H 00840 ; .line 34; timer.c TMR0L = (unsigned char)(v); 002E 5000 00841 MOVF r0x00, W 0030 6E00 00842 MOVWF _TMR0L 0032 CFE4 F000 00843 MOVFF PREINC1, r0x03 0036 CFE4 F000 00844 MOVFF PREINC1, r0x02 003A CFE4 F000 00845 MOVFF PREINC1, r0x01 003E CFE4 F000 00846 MOVFF PREINC1, r0x00 0042 CFE4 FFD9 00847 MOVFF PREINC1, FSR2L 0046 0012 00848 RETURN 00849 00850 ; ; Starting pCode block 00851 S_timer__TIMER_setup code 0000 00852 _TIMER_setup: 00853 ; .line 4; timer.c bool TIMER_setup( TIMER_handle t, struct TIMER_config *cfg ) 0000 CFD9 FFE5 00854 MOVFF FSR2L, POSTDEC1 0004 CFE1 FFD9 00855 MOVFF FSR1L, FSR2L 0008 C000 FFE5 00856 MOVFF r0x00, POSTDEC1 000C C000 FFE5 00857 MOVFF r0x01, POSTDEC1 0010 C000 FFE5 00858 MOVFF r0x02, POSTDEC1 0014 C000 FFE5 00859 MOVFF r0x03, POSTDEC1 0018 0E02 00860 MOVLW 0x02 001A CFDB F000 00861 MOVFF PLUSW2, r0x00 001E 0E03 00862 MOVLW 0x03 0020 CFDB F000 00863 MOVFF PLUSW2, r0x01 0024 0E04 00864 MOVLW 0x04 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 17 LOC OBJECT CODE LINE SOURCE TEXT VALUE 0026 CFDB F000 00865 MOVFF PLUSW2, r0x02 002A 0E05 00866 MOVLW 0x05 002C CFDB F000 00867 MOVFF PLUSW2, r0x03 00868 ; .line 6; timer.c switch (t) { 0030 0E03 00869 MOVLW 0x03 0032 5C00 00870 SUBWF r0x00, W 0034 B0D8 00871 BTFSC STATUS, 0 0036 D000 00872 BRA _00111_DS_ 0038 C000 FFE5 00873 MOVFF r0x04, POSTDEC1 003C C000 FFE5 00874 MOVFF r0x05, POSTDEC1 0040 6A00 00875 CLRF r0x05 0042 3400 00876 RLCF r0x00, W 0044 3600 00877 RLCF r0x05, F 0046 34E8 00878 RLCF WREG, W 0048 3600 00879 RLCF r0x05, F 004A 0BFC 00880 ANDLW 0xfc 004C 6E00 00881 MOVWF r0x04 004E 0E00 00882 MOVLW UPPER(_00117_DS_) 0050 6EFB 00883 MOVWF PCLATU 0052 0E00 00884 MOVLW HIGH(_00117_DS_) 0054 6EFA 00885 MOVWF PCLATH 0056 0E00 00886 MOVLW LOW(_00117_DS_) 0058 2600 00887 ADDWF r0x04, F 005A 5000 00888 MOVF r0x05, W 005C 22FA 00889 ADDWFC PCLATH, F 005E B0D8 00890 BTFSC STATUS, 0 0060 2AFB 00891 INCF PCLATU, F 0062 5000 00892 MOVF r0x04, W 0064 CFE4 F000 00893 MOVFF PREINC1, r0x05 0068 CFE4 F000 00894 MOVFF PREINC1, r0x04 006C 6EF9 00895 MOVWF PCL 006E 00896 _00117_DS_: 006E EF00 F000 00897 GOTO _00105_DS_ 0072 EF00 F000 00898 GOTO _00111_DS_ 0076 EF00 F000 00899 GOTO _00111_DS_ 007A 00900 _00105_DS_: 00901 ; .line 8; timer.c if(cfg->scaler <=7) 007A 2A00 00902 INCF r0x01, F 007C B0D8 00903 BTFSC STATUS, 0 007E 2A00 00904 INCF r0x02, F 0080 B0D8 00905 BTFSC STATUS, 0 0082 2A00 00906 INCF r0x03, F 0084 C000 FFE9 00907 MOVFF r0x01, FSR0L 0088 C000 FFF3 00908 MOVFF r0x02, PRODL 008C 5000 00909 MOVF r0x03, W 008E EC00 F000 00910 CALL __gptrget1 0092 6E00 00911 MOVWF r0x00 0094 0E08 00912 MOVLW 0x08 0096 5C00 00913 SUBWF r0x00, W 0098 E200 00914 BC _00107_DS_ 00915 ; .line 10; timer.c T0CON= 0; /* clear all bits*/ 009A 6A00 00916 CLRF _T0CON 00917 ; .line 13; timer.c T0CON = T0CON | 0x80 | (cfg->scaler); 009C 0E80 00918 MOVLW 0x80 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 18 LOC OBJECT CODE LINE SOURCE TEXT VALUE 009E 1000 00919 IORWF _T0CON, W 00A0 6E00 00920 MOVWF r0x01 00A2 5000 00921 MOVF r0x00, W 00A4 1000 00922 IORWF r0x01, W 00A6 6E00 00923 MOVWF _T0CON 00924 ; .line 14; timer.c return 1; 00A8 0E01 00925 MOVLW 0x01 00AA D000 00926 BRA _00112_DS_ 00AC 00927 _00107_DS_: 00928 ; .line 17; timer.c return 0; 00AC 6AE8 00929 CLRF WREG 00930 ; .line 21; timer.c break; 00AE D000 00931 BRA _00112_DS_ 00B0 00932 _00111_DS_: 00933 ; .line 28; timer.c return 0; 00B0 6AE8 00934 CLRF WREG 00B2 00935 _00112_DS_: 00B2 CFE4 F000 00936 MOVFF PREINC1, r0x03 00B6 CFE4 F000 00937 MOVFF PREINC1, r0x02 00BA CFE4 F000 00938 MOVFF PREINC1, r0x01 00BE CFE4 F000 00939 MOVFF PREINC1, r0x00 00C2 CFE4 FFD9 00940 MOVFF PREINC1, FSR2L 00C6 0012 00941 RETURN 00942 00943 00944 00945 ; Statistics: 00946 ; code size: 404 (0x0194) bytes ( 0.31%) 00947 ; 202 (0x00ca) words 00948 ; udata size: 0 (0x0000) bytes ( 0.00%) 00949 ; access size: 6 (0x0006) bytes 00950 00951 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 19 SYMBOL TABLE LABEL VALUE FSR0L 00000FE9 FSR1L 00000FE1 FSR2L 00000FD9 PCL 00000FF9 PCLATH 00000FFA PCLATU 00000FFB PLUSW2 00000FDB POSTDEC1 00000FE5 PREINC1 00000FE4 PRODL 00000FF3 STATUS 00000FD8 WREG 00000FE8 _00105_DS_ 0000007A _00107_DS_ 000000AC _00111_DS_ 000000B0 _00112_DS_ 000000B2 _00117_DS_ 0000006E _00141_DS_ 0000004A _ADCON0 00000000 _ADCON0bits 00000000 _ADCON1 00000000 _ADCON1bits 00000000 _ADCON2 00000000 _ADCON2bits 00000000 _ADRES 00000000 _ADRESH 00000000 _ADRESL 00000000 _B0CON 00000000 _B0CONbits 00000000 _B0D0 00000000 _B0D0bits 00000000 _B0D1 00000000 _B0D1bits 00000000 _B0D2 00000000 _B0D2bits 00000000 _B0D3 00000000 _B0D3bits 00000000 _B0D4 00000000 _B0D4bits 00000000 _B0D5 00000000 _B0D5bits 00000000 _B0D6 00000000 _B0D6bits 00000000 _B0D7 00000000 _B0D7bits 00000000 _B0DLC 00000000 _B0DLCbits 00000000 _B0EIDH 00000000 _B0EIDHbits 00000000 _B0EIDL 00000000 _B0EIDLbits 00000000 _B0SIDH 00000000 _B0SIDHbits 00000000 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 20 LOC OBJECT CODE LINE SOURCE TEXT VALUE _B0SIDL 00000000 _B0SIDLbits 00000000 _B1CON 00000000 _B1CONbits 00000000 _B1D0 00000000 _B1D0bits 00000000 _B1D1 00000000 _B1D1bits 00000000 _B1D2 00000000 _B1D2bits 00000000 _B1D3 00000000 _B1D3bits 00000000 _B1D4 00000000 _B1D4bits 00000000 _B1D5 00000000 _B1D5bits 00000000 _B1D6 00000000 _B1D6bits 00000000 _B1D7 00000000 _B1D7bits 00000000 _B1DLC 00000000 _B1DLCbits 00000000 _B1EIDH 00000000 _B1EIDHbits 00000000 _B1EIDL 00000000 _B1EIDLbits 00000000 _B1SIDH 00000000 _B1SIDHbits 00000000 _B1SIDL 00000000 _B1SIDLbits 00000000 _B2CON 00000000 _B2CONbits 00000000 _B2D0 00000000 _B2D0bits 00000000 _B2D1 00000000 _B2D1bits 00000000 _B2D2 00000000 _B2D2bits 00000000 _B2D3 00000000 _B2D3bits 00000000 _B2D4 00000000 _B2D4bits 00000000 _B2D5 00000000 _B2D5bits 00000000 _B2D6 00000000 _B2D6bits 00000000 _B2D7 00000000 _B2D7bits 00000000 _B2DLC 00000000 _B2DLCbits 00000000 _B2EIDH 00000000 _B2EIDHbits 00000000 _B2EIDL 00000000 _B2EIDLbits 00000000 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 21 LOC OBJECT CODE LINE SOURCE TEXT VALUE _B2SIDH 00000000 _B2SIDHbits 00000000 _B2SIDL 00000000 _B2SIDLbits 00000000 _B3CON 00000000 _B3CONbits 00000000 _B3D0 00000000 _B3D0bits 00000000 _B3D1 00000000 _B3D1bits 00000000 _B3D2 00000000 _B3D2bits 00000000 _B3D3 00000000 _B3D3bits 00000000 _B3D4 00000000 _B3D4bits 00000000 _B3D5 00000000 _B3D5bits 00000000 _B3D6 00000000 _B3D6bits 00000000 _B3D7 00000000 _B3D7bits 00000000 _B3DLC 00000000 _B3DLCbits 00000000 _B3EIDH 00000000 _B3EIDHbits 00000000 _B3EIDL 00000000 _B3EIDLbits 00000000 _B3SIDH 00000000 _B3SIDHbits 00000000 _B3SIDL 00000000 _B3SIDLbits 00000000 _B4CON 00000000 _B4CONbits 00000000 _B4D0 00000000 _B4D0bits 00000000 _B4D1 00000000 _B4D1bits 00000000 _B4D2 00000000 _B4D2bits 00000000 _B4D3 00000000 _B4D3bits 00000000 _B4D4 00000000 _B4D4bits 00000000 _B4D5 00000000 _B4D5bits 00000000 _B4D6 00000000 _B4D6bits 00000000 _B4D7 00000000 _B4D7bits 00000000 _B4DLC 00000000 _B4DLCbits 00000000 _B4EIDH 00000000 _B4EIDHbits 00000000 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 22 LOC OBJECT CODE LINE SOURCE TEXT VALUE _B4EIDL 00000000 _B4EIDLbits 00000000 _B4SIDH 00000000 _B4SIDHbits 00000000 _B4SIDL 00000000 _B4SIDLbits 00000000 _B5CON 00000000 _B5CONbits 00000000 _B5D0 00000000 _B5D0bits 00000000 _B5D1 00000000 _B5D1bits 00000000 _B5D2 00000000 _B5D2bits 00000000 _B5D3 00000000 _B5D3bits 00000000 _B5D4 00000000 _B5D4bits 00000000 _B5D5 00000000 _B5D5bits 00000000 _B5D6 00000000 _B5D6bits 00000000 _B5D7 00000000 _B5D7bits 00000000 _B5DLC 00000000 _B5DLCbits 00000000 _B5EIDH 00000000 _B5EIDHbits 00000000 _B5EIDL 00000000 _B5EIDLbits 00000000 _B5SIDH 00000000 _B5SIDHbits 00000000 _B5SIDL 00000000 _B5SIDLbits 00000000 _BAUDCON 00000000 _BAUDCONbits 00000000 _BIE0 00000000 _BIE0bits 00000000 _BRGCON1 00000000 _BRGCON1bits 00000000 _BRGCON2 00000000 _BRGCON2bits 00000000 _BRGCON3 00000000 _BRGCON3bits 00000000 _BSEL0 00000000 _BSEL0bits 00000000 _BSR 00000000 _CANCON 00000000 _CANCON_RO0 00000000 _CANCON_RO0bits 00000000 _CANCON_RO1 00000000 _CANCON_RO1bits 00000000 _CANCON_RO2 00000000 _CANCON_RO2bits 00000000 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 23 LOC OBJECT CODE LINE SOURCE TEXT VALUE _CANCON_RO3 00000000 _CANCON_RO3bits 00000000 _CANCON_RO4 00000000 _CANCON_RO4bits 00000000 _CANCON_RO5 00000000 _CANCON_RO5bits 00000000 _CANCON_RO6 00000000 _CANCON_RO6bits 00000000 _CANCON_RO7 00000000 _CANCON_RO7bits 00000000 _CANCON_RO8 00000000 _CANCON_RO8bits 00000000 _CANCON_RO9 00000000 _CANCON_RO9bits 00000000 _CANCONbits 00000000 _CANSTAT 00000000 _CANSTAT_RO0 00000000 _CANSTAT_RO0bits 00000000 _CANSTAT_RO1 00000000 _CANSTAT_RO1bits 00000000 _CANSTAT_RO2 00000000 _CANSTAT_RO2bits 00000000 _CANSTAT_RO3 00000000 _CANSTAT_RO3bits 00000000 _CANSTAT_RO4 00000000 _CANSTAT_RO4bits 00000000 _CANSTAT_RO5 00000000 _CANSTAT_RO5bits 00000000 _CANSTAT_RO6 00000000 _CANSTAT_RO6bits 00000000 _CANSTAT_RO7 00000000 _CANSTAT_RO7bits 00000000 _CANSTAT_RO8 00000000 _CANSTAT_RO8bits 00000000 _CANSTAT_RO9 00000000 _CANSTAT_RO9bits 00000000 _CANSTATbits 00000000 _CCP1CON 00000000 _CCP1CONbits 00000000 _CCPR1 00000000 _CCPR1H 00000000 _CCPR1L 00000000 _CIOCON 00000000 _CIOCONbits 00000000 _COMSTAT 00000000 _COMSTATbits 00000000 _DDRA 00000000 _DDRAbits 00000000 _DDRB 00000000 _DDRBbits 00000000 _DDRC 00000000 _DDRCbits 00000000 _ECANCON 00000000 _ECANCONbits 00000000 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 24 LOC OBJECT CODE LINE SOURCE TEXT VALUE _EEADR 00000000 _EEADRH 00000000 _EECON1 00000000 _EECON1bits 00000000 _EECON2 00000000 _EEDATA 00000000 _FSR0H 00000000 _FSR0L 00000000 _FSR1H 00000000 _FSR1L 00000000 _FSR2H 00000000 _FSR2L 00000000 _HLVDCON 00000000 _HLVDCONbits 00000000 _INDF0 00000000 _INDF1 00000000 _INDF2 00000000 _INTCON 00000000 _INTCON2 00000000 _INTCON2bits 00000000 _INTCON3 00000000 _INTCON3bits 00000000 _INTCONbits 00000000 _IPR1 00000000 _IPR1bits 00000000 _IPR2 00000000 _IPR2bits 00000000 _IPR3 00000000 _IPR3bits 00000000 _LATA 00000000 _LATAbits 00000000 _LATB 00000000 _LATBbits 00000000 _LATC 00000000 _LATCbits 00000000 _LVDCON 00000000 _LVDCONbits 00000000 _MSEL0 00000000 _MSEL0bits 00000000 _MSEL1 00000000 _MSEL1bits 00000000 _MSEL2 00000000 _MSEL2bits 00000000 _MSEL3 00000000 _MSEL3bits 00000000 _OSCCON 00000000 _OSCCONbits 00000000 _OSCTUNE 00000000 _OSCTUNEbits 00000000 _PC 00000000 _PCL 00000000 _PCLATH 00000000 _PCLATU 00000000 _PIE1 00000000 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 25 LOC OBJECT CODE LINE SOURCE TEXT VALUE _PIE1bits 00000000 _PIE2 00000000 _PIE2bits 00000000 _PIE3 00000000 _PIE3bits 00000000 _PIR1 00000000 _PIR1bits 00000000 _PIR2 00000000 _PIR2bits 00000000 _PIR3 00000000 _PIR3bits 00000000 _PLUSW0 00000000 _PLUSW1 00000000 _PLUSW2 00000000 _PORTA 00000000 _PORTAbits 00000000 _PORTB 00000000 _PORTBbits 00000000 _PORTC 00000000 _PORTCbits 00000000 _POSTDEC0 00000000 _POSTDEC1 00000000 _POSTDEC2 00000000 _POSTINC0 00000000 _POSTINC1 00000000 _POSTINC2 00000000 _PR2 00000000 _PREINC0 00000000 _PREINC1 00000000 _PREINC2 00000000 _PROD 00000000 _PRODH 00000000 _PRODL 00000000 _RCON 00000000 _RCONbits 00000000 _RCREG 00000000 _RCSTA 00000000 _RCSTAbits 00000000 _RXB0CON 00000000 _RXB0CONbits 00000000 _RXB0D0 00000000 _RXB0D0bits 00000000 _RXB0D1 00000000 _RXB0D1bits 00000000 _RXB0D2 00000000 _RXB0D2bits 00000000 _RXB0D3 00000000 _RXB0D3bits 00000000 _RXB0D4 00000000 _RXB0D4bits 00000000 _RXB0D5 00000000 _RXB0D5bits 00000000 _RXB0D6 00000000 _RXB0D6bits 00000000 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 26 LOC OBJECT CODE LINE SOURCE TEXT VALUE _RXB0D7 00000000 _RXB0D7bits 00000000 _RXB0DLC 00000000 _RXB0DLCbits 00000000 _RXB0EIDH 00000000 _RXB0EIDHbits 00000000 _RXB0EIDL 00000000 _RXB0EIDLbits 00000000 _RXB0SIDH 00000000 _RXB0SIDHbits 00000000 _RXB0SIDL 00000000 _RXB0SIDLbits 00000000 _RXB1CON 00000000 _RXB1CONbits 00000000 _RXB1D0 00000000 _RXB1D0bits 00000000 _RXB1D1 00000000 _RXB1D1bits 00000000 _RXB1D2 00000000 _RXB1D2bits 00000000 _RXB1D3 00000000 _RXB1D3bits 00000000 _RXB1D4 00000000 _RXB1D4bits 00000000 _RXB1D5 00000000 _RXB1D5bits 00000000 _RXB1D6 00000000 _RXB1D6bits 00000000 _RXB1D7 00000000 _RXB1D7bits 00000000 _RXB1DLC 00000000 _RXB1DLCbits 00000000 _RXB1EIDH 00000000 _RXB1EIDHbits 00000000 _RXB1EIDL 00000000 _RXB1EIDLbits 00000000 _RXB1SIDH 00000000 _RXB1SIDHbits 00000000 _RXB1SIDL 00000000 _RXB1SIDLbits 00000000 _RXERRCNT 00000000 _RXERRCNTbits 00000000 _RXF0EIDH 00000000 _RXF0EIDHbits 00000000 _RXF0EIDL 00000000 _RXF0EIDLbits 00000000 _RXF0SIDH 00000000 _RXF0SIDHbits 00000000 _RXF0SIDL 00000000 _RXF0SIDLbits 00000000 _RXF10EIDH 00000000 _RXF10EIDHbits 00000000 _RXF10EIDL 00000000 _RXF10EIDLbits 00000000 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 27 LOC OBJECT CODE LINE SOURCE TEXT VALUE _RXF10SIDH 00000000 _RXF10SIDHbits 00000000 _RXF10SIDL 00000000 _RXF10SIDLbits 00000000 _RXF11EIDH 00000000 _RXF11EIDHbits 00000000 _RXF11EIDL 00000000 _RXF11EIDLbits 00000000 _RXF11SIDH 00000000 _RXF11SIDHbits 00000000 _RXF11SIDL 00000000 _RXF11SIDLbits 00000000 _RXF12EIDH 00000000 _RXF12EIDHbits 00000000 _RXF12EIDL 00000000 _RXF12EIDLbits 00000000 _RXF12SIDH 00000000 _RXF12SIDHbits 00000000 _RXF12SIDL 00000000 _RXF12SIDLbits 00000000 _RXF13EIDH 00000000 _RXF13EIDHbits 00000000 _RXF13EIDL 00000000 _RXF13EIDLbits 00000000 _RXF13SIDH 00000000 _RXF13SIDHbits 00000000 _RXF13SIDL 00000000 _RXF13SIDLbits 00000000 _RXF14EIDH 00000000 _RXF14EIDHbits 00000000 _RXF14EIDL 00000000 _RXF14EIDLbits 00000000 _RXF14SIDH 00000000 _RXF14SIDHbits 00000000 _RXF14SIDL 00000000 _RXF14SIDLbits 00000000 _RXF15EIDH 00000000 _RXF15EIDHbits 00000000 _RXF15EIDL 00000000 _RXF15EIDLbits 00000000 _RXF15SIDH 00000000 _RXF15SIDHbits 00000000 _RXF15SIDL 00000000 _RXF15SIDLbits 00000000 _RXF1EIDH 00000000 _RXF1EIDHbits 00000000 _RXF1EIDL 00000000 _RXF1EIDLbits 00000000 _RXF1SIDH 00000000 _RXF1SIDHbits 00000000 _RXF1SIDL 00000000 _RXF1SIDLbits 00000000 _RXF2EIDH 00000000 _RXF2EIDHbits 00000000 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 28 LOC OBJECT CODE LINE SOURCE TEXT VALUE _RXF2EIDL 00000000 _RXF2EIDLbits 00000000 _RXF2SIDH 00000000 _RXF2SIDHbits 00000000 _RXF2SIDL 00000000 _RXF2SIDLbits 00000000 _RXF3EIDH 00000000 _RXF3EIDHbits 00000000 _RXF3EIDL 00000000 _RXF3EIDLbits 00000000 _RXF3SIDH 00000000 _RXF3SIDHbits 00000000 _RXF3SIDL 00000000 _RXF3SIDLbits 00000000 _RXF4EIDH 00000000 _RXF4EIDHbits 00000000 _RXF4EIDL 00000000 _RXF4EIDLbits 00000000 _RXF4SIDH 00000000 _RXF4SIDHbits 00000000 _RXF4SIDL 00000000 _RXF4SIDLbits 00000000 _RXF5EIDH 00000000 _RXF5EIDHbits 00000000 _RXF5EIDL 00000000 _RXF5EIDLbits 00000000 _RXF5SIDH 00000000 _RXF5SIDHbits 00000000 _RXF5SIDL 00000000 _RXF5SIDLbits 00000000 _RXF6EIDH 00000000 _RXF6EIDHbits 00000000 _RXF6EIDL 00000000 _RXF6EIDLbits 00000000 _RXF6SIDH 00000000 _RXF6SIDHbits 00000000 _RXF6SIDL 00000000 _RXF6SIDLbits 00000000 _RXF7EIDH 00000000 _RXF7EIDHbits 00000000 _RXF7EIDL 00000000 _RXF7EIDLbits 00000000 _RXF7SIDH 00000000 _RXF7SIDHbits 00000000 _RXF7SIDL 00000000 _RXF7SIDLbits 00000000 _RXF8EIDH 00000000 _RXF8EIDHbits 00000000 _RXF8EIDL 00000000 _RXF8EIDLbits 00000000 _RXF8SIDH 00000000 _RXF8SIDHbits 00000000 _RXF8SIDL 00000000 _RXF8SIDLbits 00000000 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 29 LOC OBJECT CODE LINE SOURCE TEXT VALUE _RXF9EIDH 00000000 _RXF9EIDHbits 00000000 _RXF9EIDL 00000000 _RXF9EIDLbits 00000000 _RXF9SIDH 00000000 _RXF9SIDHbits 00000000 _RXF9SIDL 00000000 _RXF9SIDLbits 00000000 _RXFBCON0 00000000 _RXFBCON0bits 00000000 _RXFBCON1 00000000 _RXFBCON1bits 00000000 _RXFBCON2 00000000 _RXFBCON2bits 00000000 _RXFBCON3 00000000 _RXFBCON3bits 00000000 _RXFBCON4 00000000 _RXFBCON4bits 00000000 _RXFBCON5 00000000 _RXFBCON5bits 00000000 _RXFBCON6 00000000 _RXFBCON6bits 00000000 _RXFBCON7 00000000 _RXFBCON7bits 00000000 _RXFCON0 00000000 _RXFCON0bits 00000000 _RXFCON1 00000000 _RXFCON1bits 00000000 _RXM0EIDH 00000000 _RXM0EIDHbits 00000000 _RXM0EIDL 00000000 _RXM0EIDLbits 00000000 _RXM0SIDH 00000000 _RXM0SIDHbits 00000000 _RXM0SIDL 00000000 _RXM0SIDLbits 00000000 _RXM1EIDH 00000000 _RXM1EIDHbits 00000000 _RXM1EIDL 00000000 _RXM1EIDLbits 00000000 _RXM1SIDH 00000000 _RXM1SIDHbits 00000000 _RXM1SIDL 00000000 _RXM1SIDLbits 00000000 _SDFLC 00000000 _SDFLCbits 00000000 _SPBRG 00000000 _SPBRGH 00000000 _SSPADD 00000000 _SSPBUF 00000000 _SSPCON1 00000000 _SSPCON1bits 00000000 _SSPCON2 00000000 _SSPCON2bits 00000000 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 30 LOC OBJECT CODE LINE SOURCE TEXT VALUE _SSPSTAT 00000000 _SSPSTATbits 00000000 _STATUS 00000000 _STATUSbits 00000000 _STKPTR 00000000 _STKPTRbits 00000000 _T0CON 00000000 _T0CONbits 00000000 _T1CON 00000000 _T1CONbits 00000000 _T2CON 00000000 _T2CONbits 00000000 _T3CON 00000000 _T3CONbits 00000000 _TABLAT 00000000 _TBLPTR 00000000 _TBLPTRH 00000000 _TBLPTRL 00000000 _TBLPTRU 00000000 _TIMER_get 00000000 _TIMER_set_T0 00000000 _TIMER_set_T1 00000000 _TIMER_set_T2 00000000 _TIMER_setup 00000000 _TMR0H 00000000 _TMR0L 00000000 _TMR1H 00000000 _TMR1L 00000000 _TMR2 00000000 _TMR3H 00000000 _TMR3L 00000000 _TOS 00000000 _TOSH 00000000 _TOSL 00000000 _TOSU 00000000 _TRISA 00000000 _TRISAbits 00000000 _TRISB 00000000 _TRISBbits 00000000 _TRISC 00000000 _TRISCbits 00000000 _TXB0CON 00000000 _TXB0CONbits 00000000 _TXB0D0 00000000 _TXB0D0bits 00000000 _TXB0D1 00000000 _TXB0D1bits 00000000 _TXB0D2 00000000 _TXB0D2bits 00000000 _TXB0D3 00000000 _TXB0D3bits 00000000 _TXB0D4 00000000 _TXB0D4bits 00000000 _TXB0D5 00000000 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 31 LOC OBJECT CODE LINE SOURCE TEXT VALUE _TXB0D5bits 00000000 _TXB0D6 00000000 _TXB0D6bits 00000000 _TXB0D7 00000000 _TXB0D7bits 00000000 _TXB0DLC 00000000 _TXB0DLCbits 00000000 _TXB0EIDH 00000000 _TXB0EIDHbits 00000000 _TXB0EIDL 00000000 _TXB0EIDLbits 00000000 _TXB0SIDH 00000000 _TXB0SIDHbits 00000000 _TXB0SIDL 00000000 _TXB0SIDLbits 00000000 _TXB1CON 00000000 _TXB1CONbits 00000000 _TXB1D0 00000000 _TXB1D0bits 00000000 _TXB1D1 00000000 _TXB1D1bits 00000000 _TXB1D2 00000000 _TXB1D2bits 00000000 _TXB1D3 00000000 _TXB1D3bits 00000000 _TXB1D4 00000000 _TXB1D4bits 00000000 _TXB1D5 00000000 _TXB1D5bits 00000000 _TXB1D6 00000000 _TXB1D6bits 00000000 _TXB1D7 00000000 _TXB1D7bits 00000000 _TXB1DLC 00000000 _TXB1DLCbits 00000000 _TXB1EIDH 00000000 _TXB1EIDHbits 00000000 _TXB1EIDL 00000000 _TXB1EIDLbits 00000000 _TXB1SIDH 00000000 _TXB1SIDHbits 00000000 _TXB1SIDL 00000000 _TXB1SIDLbits 00000000 _TXB2CON 00000000 _TXB2CONbits 00000000 _TXB2D0 00000000 _TXB2D0bits 00000000 _TXB2D1 00000000 _TXB2D1bits 00000000 _TXB2D2 00000000 _TXB2D2bits 00000000 _TXB2D3 00000000 _TXB2D3bits 00000000 _TXB2D4 00000000 gpasm-0.13.7 beta timer.asm 12-25-2010 14:04:39 PAGE 32 LOC OBJECT CODE LINE SOURCE TEXT VALUE _TXB2D4bits 00000000 _TXB2D5 00000000 _TXB2D5bits 00000000 _TXB2D6 00000000 _TXB2D6bits 00000000 _TXB2D7 00000000 _TXB2D7bits 00000000 _TXB2DLC 00000000 _TXB2DLCbits 00000000 _TXB2EIDH 00000000 _TXB2EIDHbits 00000000 _TXB2EIDL 00000000 _TXB2EIDLbits 00000000 _TXB2SIDH 00000000 _TXB2SIDHbits 00000000 _TXB2SIDL 00000000 _TXB2SIDLbits 00000000 _TXBIE 00000000 _TXBIEbits 00000000 _TXERRCNT 00000000 _TXERRCNTbits 00000000 _TXREG 00000000 _TXSTA 00000000 _TXSTAbits 00000000 _WDTCON 00000000 _WDTCONbits 00000000 _WREG 00000000 __18F2680 00000001 __gptrget1 00000000 r0x00 00000000 r0x01 00000001 r0x02 00000002 r0x03 00000003 r0x04 00000004 r0x05 00000005 Errors : 0 Warnings : 0 reported, 0 suppressed Messages : 0 reported, 0 suppressed