gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE  1


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
               00001 ;; BEGIN inserted by fixasm.pl
               00002 ;; MPASM workarounds:
  00000001     00003 BANKED  EQU 1
               00004 ;; END inserted by fixasm.pl
               00005 ;--------------------------------------------------------
               00006 ; File Created by SDCC : FreeWare ANSI-C Compiler
               00007 ; Version 2.5.0 #1020 (May  8 2005)
               00008 ; This file generated Sat Feb 10 01:08:15 2007
               00009 ;--------------------------------------------------------
               00010 ; PIC16 port for the Microchip 16-bit core micros
               00011 ;--------------------------------------------------------
               00012         list    p=18f452
               00013 
               00014         radix dec
               00015 
               00016 ;--------------------------------------------------------
               00017 ; extern variables in this module
               00018 ;--------------------------------------------------------
               00019         extern _MIOS_BOX_CFG0
               00020         extern _MIOS_BOX_CFG1
               00021         extern _MIOS_BOX_STAT
               00022         extern _MIOS_PARAMETER1
               00023         extern _MIOS_PARAMETER2
               00024         extern _MIOS_PARAMETER3
               00025         extern _PORTAbits
               00026         extern _PORTBbits
               00027         extern _PORTCbits
               00028         extern _PORTDbits
               00029         extern _PORTEbits
               00030         extern _LATAbits
               00031         extern _LATBbits
               00032         extern _LATCbits
               00033         extern _LATDbits
               00034         extern _LATEbits
               00035         extern _TRISAbits
               00036         extern _TRISBbits
               00037         extern _TRISCbits
               00038         extern _TRISDbits
               00039         extern _TRISEbits
               00040         extern _PIE1bits
               00041         extern _PIR1bits
               00042         extern _IPR1bits
               00043         extern _PIE2bits
               00044         extern _PIR2bits
               00045         extern _IPR2bits
               00046         extern _EECON1bits
               00047         extern _RCSTAbits
               00048         extern _TXSTAbits
               00049         extern _T3CONbits
               00050         extern _CCP2CONbits
               00051         extern _CCP1CONbits
               00052         extern _ADCON1bits
               00053         extern _ADCON0bits
               00054         extern _SSPCON2bits
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE  2


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
               00055         extern _SSPCON1bits
               00056         extern _SSPSTATbits
               00057         extern _T2CONbits
               00058         extern _T1CONbits
               00059         extern _RCONbits
               00060         extern _WDTCONbits
               00061         extern _LVDCONbits
               00062         extern _OSCCONbits
               00063         extern _T0CONbits
               00064         extern _STATUSbits
               00065         extern _INTCON3bits
               00066         extern _INTCON2bits
               00067         extern _INTCONbits
               00068         extern _STKPTRbits
               00069         extern _app_flags
               00070         extern _PORTA
               00071         extern _PORTB
               00072         extern _PORTC
               00073         extern _PORTD
               00074         extern _PORTE
               00075         extern _LATA
               00076         extern _LATB
               00077         extern _LATC
               00078         extern _LATD
               00079         extern _LATE
               00080         extern _TRISA
               00081         extern _TRISB
               00082         extern _TRISC
               00083         extern _TRISD
               00084         extern _TRISE
               00085         extern _PIE1
               00086         extern _PIR1
               00087         extern _IPR1
               00088         extern _PIE2
               00089         extern _PIR2
               00090         extern _IPR2
               00091         extern _EECON1
               00092         extern _EECON2
               00093         extern _EEDATA
               00094         extern _EEADR
               00095         extern _RCSTA
               00096         extern _TXSTA
               00097         extern _TXREG
               00098         extern _RCREG
               00099         extern _SPBRG
               00100         extern _T3CON
               00101         extern _TMR3L
               00102         extern _TMR3H
               00103         extern _CCP2CON
               00104         extern _CCPR2L
               00105         extern _CCPR2H
               00106         extern _CCP1CON
               00107         extern _CCPR1L
               00108         extern _CCPR1H
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE  3


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
               00109         extern _ADCON1
               00110         extern _ADCON0
               00111         extern _ADRESL
               00112         extern _ADRESH
               00113         extern _SSPCON2
               00114         extern _SSPCON1
               00115         extern _SSPSTAT
               00116         extern _SSPADD
               00117         extern _SSPBUF
               00118         extern _T2CON
               00119         extern _PR2
               00120         extern _TMR2
               00121         extern _T1CON
               00122         extern _TMR1L
               00123         extern _TMR1H
               00124         extern _RCON
               00125         extern _WDTCON
               00126         extern _LVDCON
               00127         extern _OSCCON
               00128         extern _T0CON
               00129         extern _TMR0L
               00130         extern _TMR0H
               00131         extern _STATUS
               00132         extern _FSR2L
               00133         extern _FSR2H
               00134         extern _PLUSW2
               00135         extern _PREINC2
               00136         extern _POSTDEC2
               00137         extern _POSTINC2
               00138         extern _INDF2
               00139         extern _BSR
               00140         extern _FSR1L
               00141         extern _FSR1H
               00142         extern _PLUSW1
               00143         extern _PREINC1
               00144         extern _POSTDEC1
               00145         extern _POSTINC1
               00146         extern _INDF1
               00147         extern _WREG
               00148         extern _FSR0L
               00149         extern _FSR0H
               00150         extern _PLUSW0
               00151         extern _PREINC0
               00152         extern _POSTDEC0
               00153         extern _POSTINC0
               00154         extern _INDF0
               00155         extern _INTCON3
               00156         extern _INTCON2
               00157         extern _INTCON
               00158         extern _PRODL
               00159         extern _PRODH
               00160         extern _TABLAT
               00161         extern _TBLPTRL
               00162         extern _TBLPTRH
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE  4


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
               00163         extern _TBLPTRU
               00164         extern _PCL
               00165         extern _PCLATH
               00166         extern _PCLATU
               00167         extern _STKPTR
               00168         extern _TOSL
               00169         extern _TOSH
               00170         extern _TOSU
               00171         extern _MIOS_MIDI_TxBufferPut
               00172         extern _MIOS_TIMER_ReInit
               00173         extern _PUSH
               00174         extern _MIOS_MPROC_EVENT_TABLE
               00175         extern _MIOS_ENC_PIN_TABLE
               00176 
               00177 ;--------------------------------------------------------
               00178 ; public variables in this module
               00179 ;--------------------------------------------------------
               00180         global _REMB1
               00181         global _REMB0
               00182         global _LOOPCOUNT
               00183         global _BARGB1
               00184         global _BARGB0
               00185         global _AARGB2
               00186         global _AARGB1
               00187         global _AARGB0
               00188         global _MCLOCK_Init
               00189         global _MCLOCK_Tick
               00190         global _MCLOCK_Timer
               00191         global _MCLOCK_GetTimerValue
               00192         global _MCLOCK_BPMSet
               00193         global _MCLOCK_BPMGet
               00194         global _MCLOCK_ResetMeter
               00195         global _MCLOCK_SendMeter
               00196         global _MCLOCK_DoStop
               00197         global _MCLOCK_DoPause
               00198         global _MCLOCK_DoPlay
               00199         global _MCLOCK_DoRew
               00200         global _MCLOCK_DoFwd
               00201         global _mclock_state
               00202         global _mclock_pin_state
               00203         global _mclock_tick_ctr
               00204         global _bpm
               00205         global _mclock_ctr_24
               00206         global _mclock_ctr_beats
               00207         global _mclock_ctr_measures
               00208 ;--------------------------------------------------------
               00209 ;       Equates to used internal registers
               00210 ;--------------------------------------------------------
  00000FD8     00211 STATUS  equ     0xfd8
  00000FE8     00212 WREG    equ     0xfe8
  00000FE9     00213 FSR1L   equ     0xfe9 ;; normaly 0xfe1, changed by fixasm.pl
  00000FD9     00214 FSR2L   equ     0xfd9
  00000FED     00215 POSTDEC1        equ     0xfed ;; normaly 0xfe5, changed by fixasm.pl
  00000FEC     00216 PREINC1 equ     0xfec ;; normaly 0xfe4, changed by fixasm.pl
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE  5


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
  00000FDB     00217 PLUSW2  equ     0xfdb
  00000FF3     00218 PRODL   equ     0xff3
  00000FF4     00219 PRODH   equ     0xff4
               00220 
               00221 
               00222 ; Internal registers
               00223 .registers      udata_ovr       0x010
               00224 r0x00   res     1
               00225 r0x01   res     1
               00226 r0x02   res     1
               00227 r0x03   res     1
               00228 r0x04   res     1
               00229 r0x05   res     1
               00230 
               00231 udata_mclock_0  udata
               00232 _AARGB0 res     1
               00233 
               00234 udata_mclock_1  udata
               00235 _AARGB1 res     1
               00236 
               00237 udata_mclock_2  udata
               00238 _AARGB2 res     1
               00239 
               00240 udata_mclock_3  udata
               00241 _BARGB0 res     1
               00242 
               00243 udata_mclock_4  udata
               00244 _BARGB1 res     1
               00245 
               00246 udata_mclock_5  udata
               00247 _LOOPCOUNT      res     1
               00248 
               00249 udata_mclock_6  udata
               00250 _REMB0  res     1
               00251 
               00252 udata_mclock_7  udata
               00253 _REMB1  res     1
               00254 
               00255 udata_mclock_8  udata
               00256 _mclock_tick_ctr        res     1
               00257 
               00258 udata_mclock_9  udata
               00259 _mclock_state   res     1
               00260 
               00261 udata_mclock_10 udata
               00262 _mclock_pin_state       res     1
               00263 
               00264 udata_mclock_11 udata
               00265 _mclock_ctr_24  res     1
               00266 
               00267 udata_mclock_12 udata
               00268 _mclock_ctr_beats       res     1
               00269 
               00270 udata_mclock_13 udata
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE  6


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
               00271 _mclock_ctr_measures    res     1
               00272 
               00273 udata_mclock_14 udata
               00274 _bpm    res     1
               00275 
               00276 ;--------------------------------------------------------
               00277 ; global & static initialisations
               00278 ;--------------------------------------------------------
               00279 ; I code from now on!
               00280 ; ; Starting pCode block
               00281 S_mclock__MCLOCK_DoFwd  code
0000           00282 _MCLOCK_DoFwd:
0000 0000      00283         BANKSEL _mclock_ctr_measures
               00284 ;       .line   377; mclock.c   ++mclock_ctr_measures;
0002 2B00      00285         INCF    _mclock_ctr_measures, F, B
0004 0000      00286         BANKSEL _mclock_ctr_24
               00287 ;       .line   378; mclock.c   mclock_ctr_24 = 0;
0006 6B00      00288         CLRF    _mclock_ctr_24, B
0008 0000      00289         BANKSEL _mclock_ctr_beats
               00290 ;       .line   379; mclock.c   mclock_ctr_beats = 0;
000A 6B00      00291         CLRF    _mclock_ctr_beats, B
               00292 ;       .line   382; mclock.c   MCLOCK_SendMeter();
000C EC00 F000 00293         CALL    _MCLOCK_SendMeter
0010 0000      00294         BANKSEL _app_flags
               00295 ;       .line   385; mclock.c   app_flags.DISPLAY_UPDATE_REQ = 1;
0012 8100      00296         BSF     _app_flags, 0, B
0014 0012      00297         RETURN  
               00298 
               00299 ; ; Starting pCode block
               00300 S_mclock__MCLOCK_DoRew  code
0000           00301 _MCLOCK_DoRew:
0000 0000      00302         BANKSEL _mclock_ctr_measures
               00303 ;       .line   363; mclock.c   if( mclock_ctr_measures ) --mclock_ctr_measures;
0002 5100      00304         MOVF    _mclock_ctr_measures, W, B
0004 E000      00305         BZ      _00197_DS_
               00306 ; removed redundant BANKSEL
0006 0700      00307         DECF    _mclock_ctr_measures, F, B
0008           00308 _00197_DS_:
0008 0000      00309         BANKSEL _mclock_ctr_24
               00310 ;       .line   364; mclock.c   mclock_ctr_24 = 0;
000A 6B00      00311         CLRF    _mclock_ctr_24, B
000C 0000      00312         BANKSEL _mclock_ctr_beats
               00313 ;       .line   365; mclock.c   mclock_ctr_beats = 0;
000E 6B00      00314         CLRF    _mclock_ctr_beats, B
               00315 ;       .line   368; mclock.c   MCLOCK_SendMeter();
0010 EC00 F000 00316         CALL    _MCLOCK_SendMeter
0014 0000      00317         BANKSEL _app_flags
               00318 ;       .line   371; mclock.c   app_flags.DISPLAY_UPDATE_REQ = 1;
0016 8100      00319         BSF     _app_flags, 0, B
0018 0012      00320         RETURN  
               00321 
               00322 ; ; Starting pCode block
               00323 S_mclock__MCLOCK_DoPlay code
0000           00324 _MCLOCK_DoPlay:
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE  7


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
               00325 ;       .line   350; mclock.c   MCLOCK_ResetMeter();
0000 EC00 F000 00326         CALL    _MCLOCK_ResetMeter
               00327 ;       .line   352; mclock.c   MCLOCK_SendMeter();
0004 EC00 F000 00328         CALL    _MCLOCK_SendMeter
0008 0000      00329         BANKSEL _mclock_state
               00330 ;       .line   354; mclock.c   mclock_state.START_REQ = 1;
000A 8500      00331         BSF     _mclock_state, 2, B
000C 0000      00332         BANKSEL _app_flags
               00333 ;       .line   357; mclock.c   app_flags.DISPLAY_UPDATE_REQ = 1;
000E 8100      00334         BSF     _app_flags, 0, B
0010 0012      00335         RETURN  
               00336 
               00337 ; ; Starting pCode block
               00338 S_mclock__MCLOCK_DoPause        code
0000           00339 _MCLOCK_DoPause:
               00340 ;       .line   328; mclock.c   void MCLOCK_DoPause(void)
0000 C000 FFED 00341         MOVFF   r0x00, POSTDEC1
0004 0000      00342         BANKSEL _mclock_state
               00343 ;       .line   331; mclock.c   if( mclock_state.RUN ) {
0006 A100      00344         BTFSS   _mclock_state, 0, B
0008 D000      00345         BRA     _00182_DS_
               00346 ; removed redundant BANKSEL
               00347 ;       .line   333; mclock.c   if( mclock_state.PAUSE ) {
000A A300      00348         BTFSS   _mclock_state, 1, B
000C D000      00349         BRA     _00179_DS_
               00350 ; removed redundant BANKSEL
               00351 ;       .line   334; mclock.c   mclock_state.CONT_REQ = 1;
000E 8900      00352         BSF     _mclock_state, 4, B
0010 D000      00353         BRA     _00183_DS_
0012           00354 _00179_DS_:
0012 0000      00355         BANKSEL _mclock_state
               00356 ;       .line   336; mclock.c   mclock_state.PAUSE = 1;
0014 8300      00357         BSF     _mclock_state, 1, B
0016 D000      00358         BRA     _00183_DS_
0018           00359 _00182_DS_:
0018 0000      00360         BANKSEL _mclock_state
               00361 ;       .line   340; mclock.c   mclock_state.PAUSE = mclock_state.PAUSE ? 0 : 1;
001A A300      00362         BTFSS   _mclock_state, 1, B
001C D000      00363         BRA     _00186_DS_
001E 6A00      00364         CLRF    r0x00
0020 D000      00365         BRA     _00187_DS_
0022           00366 _00186_DS_:
0022 0E01      00367         MOVLW   0x01
0024 6E00      00368         MOVWF   r0x00
0026           00369 _00187_DS_:
0026 5000      00370         MOVF    r0x00, W
0028 0B01      00371         ANDLW   0x01
002A 44E8      00372         RLNCF   WREG, W
002C 0BFE      00373         ANDLW   0xfe
002E 6EF4      00374         MOVWF   PRODH
0030 0000      00375         BANKSEL _mclock_state
0032 5100      00376         MOVF    _mclock_state, W, B
0034 0BFD      00377         ANDLW   0xfd
0036 10F4      00378         IORWF   PRODH, W
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE  8


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
               00379 ; removed redundant BANKSEL
0038 6F00      00380         MOVWF   _mclock_state, B
003A           00381 _00183_DS_:
003A 0000      00382         BANKSEL _app_flags
               00383 ;       .line   344; mclock.c   app_flags.DISPLAY_UPDATE_REQ = 1;
003C 8100      00384         BSF     _app_flags, 0, B
003E CFEC F000 00385         MOVFF   PREINC1, r0x00
0042 0012      00386         RETURN  
               00387 
               00388 ; ; Starting pCode block
               00389 S_mclock__MCLOCK_DoStop code
0000           00390 _MCLOCK_DoStop:
               00391 ;       .line   313; mclock.c   void MCLOCK_DoStop(void)
0000 C000 FFED 00392         MOVFF   r0x00, POSTDEC1
               00393 ;       .line   315; mclock.c   if( mclock_state.RUN == 0 ) {
0004 6AE8      00394         CLRF    WREG
0006 0000      00395         BANKSEL _mclock_state
0008 B100      00396         BTFSC   _mclock_state, 0, B
000A 2AE8      00397         INCF    WREG, F
000C 6E00      00398         MOVWF   r0x00
000E 5000      00399         MOVF    r0x00, W
0010 E100      00400         BNZ     _00168_DS_
               00401 ;       .line   317; mclock.c   MCLOCK_ResetMeter();
0012 EC00 F000 00402         CALL    _MCLOCK_ResetMeter
               00403 ;       .line   319; mclock.c   MCLOCK_SendMeter();
0016 EC00 F000 00404         CALL    _MCLOCK_SendMeter
001A           00405 _00168_DS_:
001A 0000      00406         BANKSEL _mclock_state
               00407 ;       .line   322; mclock.c   mclock_state.STOP_REQ = 1;
001C 8700      00408         BSF     _mclock_state, 3, B
001E 0000      00409         BANKSEL _app_flags
               00410 ;       .line   325; mclock.c   app_flags.DISPLAY_UPDATE_REQ = 1;
0020 8100      00411         BSF     _app_flags, 0, B
0022 CFEC F000 00412         MOVFF   PREINC1, r0x00
0026 0012      00413         RETURN  
               00414 
               00415 ; ; Starting pCode block
               00416 S_mclock__MCLOCK_SendMeter      code
0000           00417 _MCLOCK_SendMeter:
               00418 ;       .line   300; mclock.c   void MCLOCK_SendMeter(void)
0000 C000 FFED 00419         MOVFF   r0x00, POSTDEC1
0004 C000 FFED 00420         MOVFF   r0x01, POSTDEC1
0008 C000 FFED 00421         MOVFF   r0x02, POSTDEC1
000C C000 FFED 00422         MOVFF   r0x03, POSTDEC1
0010 C000 FFED 00423         MOVFF   r0x04, POSTDEC1
0014 C000 FFED 00424         MOVFF   r0x05, POSTDEC1
               00425 ;       .line   302; mclock.c   unsigned int songpos = (mclock_ctr_beats << 2) | (mclock_ctr_measures << 4);
0018 C000 F000 00426         MOVFF   _mclock_ctr_beats, r0x00
001C 6A00      00427         CLRF    r0x01
001E 5000      00428         MOVF    r0x00, W
0020 6E00      00429         MOVWF   r0x02
0022 2600      00430         ADDWF   r0x02, F
0024 3400      00431         RLCF    r0x01, W
0026 6E00      00432         MOVWF   r0x03
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE  9


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
0028 90D8      00433         BCF     STATUS, 0
002A 3600      00434         RLCF    r0x02, F
002C 3600      00435         RLCF    r0x03, F
002E C000 F000 00436         MOVFF   _mclock_ctr_measures, r0x00
0032 6A00      00437         CLRF    r0x01
0034 3800      00438         SWAPF   r0x01, W
0036 0BF0      00439         ANDLW   0xf0
0038 6E00      00440         MOVWF   r0x05
003A 3800      00441         SWAPF   r0x00, W
003C 6E00      00442         MOVWF   r0x04
003E 0B0F      00443         ANDLW   0x0f
0040 1A00      00444         XORWF   r0x04, F
0042 2600      00445         ADDWF   r0x05, F
0044 5000      00446         MOVF    r0x04, W
0046 1200      00447         IORWF   r0x02, F
0048 5000      00448         MOVF    r0x05, W
004A 1200      00449         IORWF   r0x03, F
               00450 ;       .line   304; mclock.c   MIOS_MIDI_TxBufferPut(0xf2);
004C 0EF2      00451         MOVLW   0xf2
004E EC00 F000 00452         CALL    _MIOS_MIDI_TxBufferPut
               00453 ;       .line   305; mclock.c   MIOS_MIDI_TxBufferPut((unsigned char)(songpos & 0x7f));
0052 0E7F      00454         MOVLW   0x7f
0054 1400      00455         ANDWF   r0x02, W
0056 6E00      00456         MOVWF   r0x00
0058 6A00      00457         CLRF    r0x01
005A 5000      00458         MOVF    r0x00, W
005C EC00 F000 00459         CALL    _MIOS_MIDI_TxBufferPut
               00460 ;       .line   306; mclock.c   MIOS_MIDI_TxBufferPut((unsigned char)(songpos >> 7) & 0x7f);
0060 3400      00461         RLCF    r0x02, W
0062 3400      00462         RLCF    r0x03, W
0064 6E00      00463         MOVWF   r0x02
0066 6A00      00464         CLRF    r0x03
0068 3600      00465         RLCF    r0x03, F
006A 9E00      00466         BCF     r0x02, 7
006C 5000      00467         MOVF    r0x02, W
006E EC00 F000 00468         CALL    _MIOS_MIDI_TxBufferPut
0072 CFEC F000 00469         MOVFF   PREINC1, r0x05
0076 CFEC F000 00470         MOVFF   PREINC1, r0x04
007A CFEC F000 00471         MOVFF   PREINC1, r0x03
007E CFEC F000 00472         MOVFF   PREINC1, r0x02
0082 CFEC F000 00473         MOVFF   PREINC1, r0x01
0086 CFEC F000 00474         MOVFF   PREINC1, r0x00
008A 0012      00475         RETURN  
               00476 
               00477 ; ; Starting pCode block
               00478 S_mclock__MCLOCK_ResetMeter     code
0000           00479 _MCLOCK_ResetMeter:
0000 0000      00480         BANKSEL _mclock_ctr_24
               00481 ;       .line   292; mclock.c   mclock_ctr_24 = 0;
0002 6B00      00482         CLRF    _mclock_ctr_24, B
0004 0000      00483         BANKSEL _mclock_ctr_beats
               00484 ;       .line   293; mclock.c   mclock_ctr_beats = 0;
0006 6B00      00485         CLRF    _mclock_ctr_beats, B
0008 0000      00486         BANKSEL _mclock_ctr_measures
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE 10


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
               00487 ;       .line   294; mclock.c   mclock_ctr_measures = 0;
000A 6B00      00488         CLRF    _mclock_ctr_measures, B
000C 0012      00489         RETURN  
               00490 
               00491 ; ; Starting pCode block
               00492 S_mclock__MCLOCK_BPMGet code
0000           00493 _MCLOCK_BPMGet:
0000 0000      00494         BANKSEL _bpm
               00495 ;       .line   279; mclock.c   return bpm;
0002 5100      00496         MOVF    _bpm, W, B
0004 0012      00497         RETURN  
               00498 
               00499 ; ; Starting pCode block
               00500 S_mclock__MCLOCK_BPMSet code
0000           00501 _MCLOCK_BPMSet:
               00502 ;       .line   270; mclock.c   void MCLOCK_BPMSet(unsigned char _bpm)
0000 CFD9 FFED 00503         MOVFF   FSR2L, POSTDEC1
0004 CFE9 FFD9 00504         MOVFF   FSR1L, FSR2L
0008 C000 FFED 00505         MOVFF   r0x00, POSTDEC1
000C C000 FFED 00506         MOVFF   r0x01, POSTDEC1
0010 0E02      00507         MOVLW   0x02
0012 CFDB F000 00508         MOVFF   PLUSW2, _bpm
0016 0000      00509         BANKSEL _bpm
               00510 ;       .line   274; mclock.c   MIOS_TIMER_ReInit(3, MCLOCK_GetTimerValue(bpm));
0018 5100      00511         MOVF    _bpm, W, B
001A 6EED      00512         MOVWF   POSTDEC1
001C EC00 F000 00513         CALL    _MCLOCK_GetTimerValue
0020 6E00      00514         MOVWF   r0x00
0022 CFF3 F000 00515         MOVFF   PRODL, r0x01
0026 2AE9      00516         INCF    FSR1L, F
0028 5000      00517         MOVF    r0x01, W
002A 6EED      00518         MOVWF   POSTDEC1
002C 5000      00519         MOVF    r0x00, W
002E 6EED      00520         MOVWF   POSTDEC1
0030 0E03      00521         MOVLW   0x03
0032 EC00 F000 00522         CALL    _MIOS_TIMER_ReInit
0036 0E02      00523         MOVLW   0x02
0038 26E9      00524         ADDWF   FSR1L, F
003A CFEC F000 00525         MOVFF   PREINC1, r0x01
003E CFEC F000 00526         MOVFF   PREINC1, r0x00
0042 CFEC FFD9 00527         MOVFF   PREINC1, FSR2L
0046 0012      00528         RETURN  
               00529 
               00530 ; ; Starting pCode block
               00531 S_mclock__MCLOCK_GetTimerValue  code
0000           00532 _MCLOCK_GetTimerValue:
               00533 ;       .line   183; mclock.c   unsigned int MCLOCK_GetTimerValue(unsigned char bpm)
0000 CFD9 FFED 00534         MOVFF   FSR2L, POSTDEC1
0004 CFE9 FFD9 00535         MOVFF   FSR1L, FSR2L
0008 0E02      00536         MOVLW   0x02
000A CFDB F000 00537         MOVFF   PLUSW2, _BARGB1
               00538 ;       .line   195; mclock.c   LOOPCOUNT = 24;
000E 0E18      00539         MOVLW   0x18
0010 0000      00540         BANKSEL _LOOPCOUNT
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE 11


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
0012 6F00      00541         MOVWF   _LOOPCOUNT, B
               00542 ;       .line   196; mclock.c   AARGB0 = (unsigned char)(3125000L >> 16L);
0014 0E2F      00543         MOVLW   0x2f
0016 0000      00544         BANKSEL _AARGB0
0018 6F00      00545         MOVWF   _AARGB0, B
               00546 ;       .line   197; mclock.c   AARGB1 = (unsigned char)(3125000L >>  8L);
001A 0EAF      00547         MOVLW   0xaf
001C 0000      00548         BANKSEL _AARGB1
001E 6F00      00549         MOVWF   _AARGB1, B
               00550 ;       .line   198; mclock.c   AARGB2 = (unsigned char)(3125000L >>  0L);
0020 0E08      00551         MOVLW   0x08
0022 0000      00552         BANKSEL _AARGB2
0024 6F00      00553         MOVWF   _AARGB2, B
0026 0000      00554         BANKSEL _BARGB0
               00555 ;       .line   199; mclock.c   BARGB0 = 0;
0028 6B00      00556         CLRF    _BARGB0, B
               00557 ;       .line   202; mclock.c   REMB0 = 1;
002A 0E01      00558         MOVLW   0x01
002C 0000      00559         BANKSEL _REMB0
002E 6F00      00560         MOVWF   _REMB0, B
0030 0000      00561         banksel _LOOPCOUNT;
0032 6A00      00562         CLRF _REMB0
0034 6A00      00563         CLRF _REMB1
0036 0E18      00564         MOVLW 24
0038 6E00      00565         MOVWF _LOOPCOUNT
003A           00566 LOOPU2416:
003A 3400      00567         RLCF _AARGB2, W ;shift dividend left to move next bit to remainder
003C 3600      00568         RLCF _AARGB1, F ;
003E 3600      00569         RLCF _AARGB0, F ;
0040 3600      00570         RLCF _REMB1, F ;shift carry (next dividend bit) into remainder
0042 3600      00571         RLCF _REMB0, F
0044 3600      00572         RLCF _AARGB2, F ;finish shifting the dividend and save carry in AARGB2.0,
               00573         ;since remainder can be 17 bit long in some cases
               00574         ;(e.g. 0x800000/0xFFFF). This bit will also serve
               00575         ;as the next result bit.
0046 5000      00576         MOVF _BARGB1, W ;substract divisor from 16-bit remainder
0048 5E00      00577         SUBWF _REMB1, F ;
004A 5000      00578         MOVF _BARGB0, W ;
004C A0D8      00579         SKPC ;
004E 3C00      00580         INCFSZ _BARGB0, W ;
0050 5E00      00581         SUBWF _REMB0, F ;
               00582         ;here we also need to take into account the 17th bit of remainder, which
               00583         ;is in AARGB2.0. If we dont have a borrow after subtracting from lower
               00584         ;16 bits of remainder, then there is no borrow regardless of 17th bit
               00585         ;value. But, if we have the borrow, then that will depend on 17th bit
               00586         ;value. If it is 1, then no final borrow will occur. If it is 0, borrow
               00587         ;will occur. These values match the borrow flag polarity.
0052 B0D8      00588         SKPNC ;if no borrow after 16 bit subtraction
0054 8000      00589         BSF _AARGB2, 0 ;then there is no borrow in result. Overwrite
               00590         ;AARGB2.0 with 1 to indicate no
               00591         ;borrow.
               00592         ;if borrow did occur, AARGB2.0 already
               00593         ;holds the final borrow value (0-borrow,
               00594         ;1-no borrow)
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE 12


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
0056 B000      00595         BTFSC _AARGB2, 0 ;if no borrow after 17-bit subtraction
0058 D000      00596         BRA UOK46LL ;skip remainder restoration.
005A 2600      00597         ADDWF _REMB0, F ;restore higher byte of remainder. (w
               00598         ;contains the value subtracted from it
               00599         ;previously)
005C 5000      00600         MOVF _BARGB1, W ;restore lower byte of remainder
005E 2600      00601         ADDWF _REMB1, F ;
0060           00602 UOK46LL:
0060 2E00      00603         DECFSZ _LOOPCOUNT, f ;decrement counter
0062 D000      00604         BRA LOOPU2416 ;and repeat the loop if not zero.
0064 C000 F000 00605         movff _AARGB1, _PRODL
0068 5000      00606         movf _AARGB2, W
006A 0012      00607         return
               00608 ;       .line   264; mclock.c   return 0; // dummy return 
006C 6AF3      00609         CLRF    PRODL
006E 6AE8      00610         CLRF    WREG
0070 CFEC FFD9 00611         MOVFF   PREINC1, FSR2L
0074 0012      00612         RETURN  
               00613 
               00614 ; ; Starting pCode block
               00615 S_mclock__MCLOCK_Timer  code
0000           00616 _MCLOCK_Timer:
0000 0000      00617         BANKSEL _mclock_state
               00618 ;       .line   157; mclock.c   if( mclock_state.RUN && !mclock_state.PAUSE) {
0002 A100      00619         BTFSS   _mclock_state, 0, B
0004 D000      00620         BRA     _00142_DS_
               00621 ; removed redundant BANKSEL
0006 B300      00622         BTFSC   _mclock_state, 1, B
0008 D000      00623         BRA     _00142_DS_
000A 0000      00624         BANKSEL _mclock_tick_ctr
               00625 ;       .line   158; mclock.c   ++mclock_tick_ctr;
000C 2B00      00626         INCF    _mclock_tick_ctr, F, B
000E 0000      00627         BANKSEL _mclock_pin_state
               00628 ;       .line   159; mclock.c   mclock_pin_state.CLK_REQ = 1;
0010 8100      00629         BSF     _mclock_pin_state, 0, B
0012           00630 _00142_DS_:
0012 0012      00631         RETURN  
               00632 
               00633 ; ; Starting pCode block
               00634 S_mclock__MCLOCK_Tick   code
0000           00635 _MCLOCK_Tick:
0000 0000      00636         BANKSEL _mclock_state
               00637 ;       .line   85; mclock.c    if( mclock_state.START_REQ ) {
0002 A500      00638         BTFSS   _mclock_state, 2, B
0004 D000      00639         BRA     _00110_DS_
               00640 ; removed redundant BANKSEL
               00641 ;       .line   86; mclock.c    mclock_state.START_REQ = 0;
0006 9500      00642         BCF     _mclock_state, 2, B
               00643 ;       .line   87; mclock.c    MIOS_MIDI_TxBufferPut(0xfa);
0008 0EFA      00644         MOVLW   0xfa
000A EC00 F000 00645         CALL    _MIOS_MIDI_TxBufferPut
000E 0000      00646         BANKSEL _mclock_state
               00647 ;       .line   88; mclock.c    mclock_state.RUN = 1;
0010 8100      00648         BSF     _mclock_state, 0, B
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE 13


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
0012 0000      00649         BANKSEL _app_flags
               00650 ;       .line   91; mclock.c    app_flags.DISPLAY_UPDATE_REQ = 1;
0014 8100      00651         BSF     _app_flags, 0, B
0016           00652 _00110_DS_:
0016 0000      00653         BANKSEL _mclock_state
               00654 ;       .line   95; mclock.c    if( mclock_state.CONT_REQ ) {
0018 A900      00655         BTFSS   _mclock_state, 4, B
001A D000      00656         BRA     _00112_DS_
               00657 ; removed redundant BANKSEL
               00658 ;       .line   96; mclock.c    mclock_state.CONT_REQ = 0;
001C 9900      00659         BCF     _mclock_state, 4, B
               00660 ;       .line   97; mclock.c    MIOS_MIDI_TxBufferPut(0xfb);
001E 0EFB      00661         MOVLW   0xfb
0020 EC00 F000 00662         CALL    _MIOS_MIDI_TxBufferPut
0024 0000      00663         BANKSEL _mclock_state
               00664 ;       .line   98; mclock.c    mclock_state.PAUSE = 0;
0026 9300      00665         BCF     _mclock_state, 1, B
0028 0000      00666         BANKSEL _app_flags
               00667 ;       .line   101; mclock.c   app_flags.DISPLAY_UPDATE_REQ = 1;
002A 8100      00668         BSF     _app_flags, 0, B
002C           00669 _00112_DS_:
002C 0000      00670         BANKSEL _mclock_state
               00671 ;       .line   105; mclock.c   if( mclock_state.STOP_REQ ) {
002E A700      00672         BTFSS   _mclock_state, 3, B
0030 D000      00673         BRA     _00119_DS_
               00674 ; removed redundant BANKSEL
               00675 ;       .line   106; mclock.c   mclock_state.STOP_REQ = 0;
0032 9700      00676         BCF     _mclock_state, 3, B
               00677 ;       .line   107; mclock.c   MIOS_MIDI_TxBufferPut(0xfc);
0034 0EFC      00678         MOVLW   0xfc
0036 EC00 F000 00679         CALL    _MIOS_MIDI_TxBufferPut
003A 0000      00680         BANKSEL _mclock_state
               00681 ;       .line   108; mclock.c   mclock_state.RUN = 0;
003C 9100      00682         BCF     _mclock_state, 0, B
               00683 ;       .line   109; mclock.c   mclock_state.PAUSE = 0;
003E 9300      00684         BCF     _mclock_state, 1, B
0040 0000      00685         BANKSEL _mclock_tick_ctr
               00686 ;       .line   110; mclock.c   mclock_tick_ctr = 0; // prevent that any requested 0xf8 will be sent
0042 6B00      00687         CLRF    _mclock_tick_ctr, B
0044 0000      00688         BANKSEL _app_flags
               00689 ;       .line   113; mclock.c   app_flags.DISPLAY_UPDATE_REQ = 1;
0046 8100      00690         BSF     _app_flags, 0, B
0048           00691 _00119_DS_:
0048 0000      00692         BANKSEL _mclock_tick_ctr
               00693 ;       .line   117; mclock.c   while( mclock_tick_ctr ) {
004A 5100      00694         MOVF    _mclock_tick_ctr, W, B
004C E000      00695         BZ      _00122_DS_
               00696 ;       .line   118; mclock.c   MIOS_MIDI_TxBufferPut(0xf8);
004E 0EF8      00697         MOVLW   0xf8
0050 EC00 F000 00698         CALL    _MIOS_MIDI_TxBufferPut
               00699 ;       .line   125; mclock.c   INTCONbits.GIE = 0; // disable interrupts
0054 9E00      00700         BCF     _INTCONbits, 7
0056 0000      00701         BANKSEL _mclock_tick_ctr
               00702 ;       .line   126; mclock.c   --mclock_tick_ctr;
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE 14


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
0058 0700      00703         DECF    _mclock_tick_ctr, F, B
               00704 ;       .line   127; mclock.c   INTCONbits.GIE = 1; // enable interrupts
005A 8E00      00705         BSF     _INTCONbits, 7
               00706 ;       .line   130; mclock.c   PUSH();
005C EC00 F000 00707         CALL    _PUSH
0060 0000      00708         BANKSEL _mclock_ctr_24
               00709 ;       .line   131; mclock.c   if( ++mclock_ctr_24 == 24 ) {
0062 2B00      00710         INCF    _mclock_ctr_24, F, B
0064 5100      00711         MOVF    _mclock_ctr_24, W, B
0066 0A18      00712         XORLW   0x18
0068 E100      00713         BNZ     _00118_DS_
006A           00714 _00132_DS_:
006A 0000      00715         BANKSEL _mclock_ctr_24
               00716 ;       .line   132; mclock.c   mclock_ctr_24 = 0;
006C 6B00      00717         CLRF    _mclock_ctr_24, B
006E 0000      00718         BANKSEL _mclock_ctr_beats
               00719 ;       .line   133; mclock.c   if( ++mclock_ctr_beats == 4 ) {
0070 2B00      00720         INCF    _mclock_ctr_beats, F, B
0072 5100      00721         MOVF    _mclock_ctr_beats, W, B
0074 0A04      00722         XORLW   0x04
0076 E100      00723         BNZ     _00118_DS_
0078           00724 _00134_DS_:
0078 0000      00725         BANKSEL _mclock_ctr_beats
               00726 ;       .line   134; mclock.c   mclock_ctr_beats = 0;
007A 6B00      00727         CLRF    _mclock_ctr_beats, B
007C 0000      00728         BANKSEL _mclock_ctr_measures
               00729 ;       .line   135; mclock.c   ++mclock_ctr_measures;
007E 2B00      00730         INCF    _mclock_ctr_measures, F, B
0080           00731 _00118_DS_:
0080 0000      00732         BANKSEL _app_flags
               00733 ;       .line   140; mclock.c   app_flags.DISPLAY_UPDATE_REQ = 1;
0082 8100      00734         BSF     _app_flags, 0, B
0084 D000      00735         BRA     _00119_DS_
0086           00736 _00122_DS_:
0086 0012      00737         RETURN  
               00738 
               00739 ; ; Starting pCode block
               00740 S_mclock__MCLOCK_Init   code
0000           00741 _MCLOCK_Init:
               00742 ;       .line   64; mclock.c    mclock_state.ALL = 0;
0000 0E00      00743         MOVLW   0x00
0002 0000      00744         BANKSEL _mclock_state
0004 6F00      00745         MOVWF   _mclock_state, B
               00746 ;       .line   65; mclock.c    mclock_pin_state.ALL = 0;
0006 0E00      00747         MOVLW   0x00
0008 0000      00748         BANKSEL _mclock_pin_state
000A 6F00      00749         MOVWF   _mclock_pin_state, B
000C 0000      00750         BANKSEL _mclock_tick_ctr
               00751 ;       .line   66; mclock.c    mclock_tick_ctr = 0;
000E 6B00      00752         CLRF    _mclock_tick_ctr, B
               00753 ;       .line   68; mclock.c    MCLOCK_ResetMeter();
0010 EC00 F000 00754         CALL    _MCLOCK_ResetMeter
0014 0012      00755         RETURN  
               00756 
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE 15


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
               00757 
               00758 
               00759 ; Statistics:
               00760 ; code size:      736 (0x02e0) bytes (0.56%)
               00761 ;                 368 (0x0170) words
               00762 ; udata size:      15 (0x000f) bytes (1.17%)
               00763 ; access size:      6 (0x0006) bytes
               00764 
               00765 
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE 16


SYMBOL TABLE
  LABEL                             VALUE 

BANKED                            00000001
FSR1L                             00000FE9
FSR2L                             00000FD9
LOOPU2416                         0000003A
PLUSW2                            00000FDB
POSTDEC1                          00000FED
PREINC1                           00000FEC
PRODH                             00000FF4
PRODL                             00000FF3
STATUS                            00000FD8
UOK46LL                           00000060
WREG                              00000FE8
_00110_DS_                        00000016
_00112_DS_                        0000002C
_00118_DS_                        00000080
_00119_DS_                        00000048
_00122_DS_                        00000086
_00132_DS_                        0000006A
_00134_DS_                        00000078
_00142_DS_                        00000012
_00168_DS_                        0000001A
_00179_DS_                        00000012
_00182_DS_                        00000018
_00183_DS_                        0000003A
_00186_DS_                        00000022
_00187_DS_                        00000026
_00197_DS_                        00000008
_AARGB0                           00000000
_AARGB1                           00000000
_AARGB2                           00000000
_ADCON0                           00000000
_ADCON0bits                       00000000
_ADCON1                           00000000
_ADCON1bits                       00000000
_ADRESH                           00000000
_ADRESL                           00000000
_BARGB0                           00000000
_BARGB1                           00000000
_BSR                              00000000
_CCP1CON                          00000000
_CCP1CONbits                      00000000
_CCP2CON                          00000000
_CCP2CONbits                      00000000
_CCPR1H                           00000000
_CCPR1L                           00000000
_CCPR2H                           00000000
_CCPR2L                           00000000
_EEADR                            00000000
_EECON1                           00000000
_EECON1bits                       00000000
_EECON2                           00000000
_EEDATA                           00000000
_FSR0H                            00000000
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE 17


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
_FSR0L                            00000000
_FSR1H                            00000000
_FSR1L                            00000000
_FSR2H                            00000000
_FSR2L                            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
_LATA                             00000000
_LATAbits                         00000000
_LATB                             00000000
_LATBbits                         00000000
_LATC                             00000000
_LATCbits                         00000000
_LATD                             00000000
_LATDbits                         00000000
_LATE                             00000000
_LATEbits                         00000000
_LOOPCOUNT                        00000000
_LVDCON                           00000000
_LVDCONbits                       00000000
_MCLOCK_BPMGet                    00000000
_MCLOCK_BPMSet                    00000000
_MCLOCK_DoFwd                     00000000
_MCLOCK_DoPause                   00000000
_MCLOCK_DoPlay                    00000000
_MCLOCK_DoRew                     00000000
_MCLOCK_DoStop                    00000000
_MCLOCK_GetTimerValue             00000000
_MCLOCK_Init                      00000000
_MCLOCK_ResetMeter                00000000
_MCLOCK_SendMeter                 00000000
_MCLOCK_Tick                      00000000
_MCLOCK_Timer                     00000000
_MIOS_BOX_CFG0                    00000000
_MIOS_BOX_CFG1                    00000000
_MIOS_BOX_STAT                    00000000
_MIOS_ENC_PIN_TABLE               00000000
_MIOS_MIDI_TxBufferPut            00000000
_MIOS_MPROC_EVENT_TABLE           00000000
_MIOS_PARAMETER1                  00000000
_MIOS_PARAMETER2                  00000000
_MIOS_PARAMETER3                  00000000
_MIOS_TIMER_ReInit                00000000
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE 18


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
_OSCCON                           00000000
_OSCCONbits                       00000000
_PCL                              00000000
_PCLATH                           00000000
_PCLATU                           00000000
_PIE1                             00000000
_PIE1bits                         00000000
_PIE2                             00000000
_PIE2bits                         00000000
_PIR1                             00000000
_PIR1bits                         00000000
_PIR2                             00000000
_PIR2bits                         00000000
_PLUSW0                           00000000
_PLUSW1                           00000000
_PLUSW2                           00000000
_PORTA                            00000000
_PORTAbits                        00000000
_PORTB                            00000000
_PORTBbits                        00000000
_PORTC                            00000000
_PORTCbits                        00000000
_PORTD                            00000000
_PORTDbits                        00000000
_PORTE                            00000000
_PORTEbits                        00000000
_POSTDEC0                         00000000
_POSTDEC1                         00000000
_POSTDEC2                         00000000
_POSTINC0                         00000000
_POSTINC1                         00000000
_POSTINC2                         00000000
_PR2                              00000000
_PREINC0                          00000000
_PREINC1                          00000000
_PREINC2                          00000000
_PRODH                            00000000
_PRODL                            00000000
_PUSH                             00000000
_RCON                             00000000
_RCONbits                         00000000
_RCREG                            00000000
_RCSTA                            00000000
_RCSTAbits                        00000000
_REMB0                            00000000
_REMB1                            00000000
_SPBRG                            00000000
_SSPADD                           00000000
_SSPBUF                           00000000
_SSPCON1                          00000000
_SSPCON1bits                      00000000
_SSPCON2                          00000000
_SSPCON2bits                      00000000
_SSPSTAT                          00000000
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE 19


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
_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
_TBLPTRH                          00000000
_TBLPTRL                          00000000
_TBLPTRU                          00000000
_TMR0H                            00000000
_TMR0L                            00000000
_TMR1H                            00000000
_TMR1L                            00000000
_TMR2                             00000000
_TMR3H                            00000000
_TMR3L                            00000000
_TOSH                             00000000
_TOSL                             00000000
_TOSU                             00000000
_TRISA                            00000000
_TRISAbits                        00000000
_TRISB                            00000000
_TRISBbits                        00000000
_TRISC                            00000000
_TRISCbits                        00000000
_TRISD                            00000000
_TRISDbits                        00000000
_TRISE                            00000000
_TRISEbits                        00000000
_TXREG                            00000000
_TXSTA                            00000000
_TXSTAbits                        00000000
_WDTCON                           00000000
_WDTCONbits                       00000000
_WREG                             00000000
__18F452                          00000001
_app_flags                        00000000
_bpm                              00000000
_mclock_ctr_24                    00000000
_mclock_ctr_beats                 00000000
_mclock_ctr_measures              00000000
_mclock_pin_state                 00000000
_mclock_state                     00000000
_mclock_tick_ctr                  00000000
r0x00                             00000010
r0x01                             00000011
gpasm-0.13.4 beta               _output\mclock.asm2-10-2007  01:08:15          PAGE 20


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE
 
r0x02                             00000012
r0x03                             00000013
r0x04                             00000014
r0x05                             00000015


Errors   :       0
Warnings :       0 reported,       0 suppressed
Messages :       0 reported,       0 suppressed

