Hi Alice, What xtal freq. is this meant for? I count 551 cycles for the inner loop, so it would be around 2.2 Mhz as far as I can see. Is that right? Sean At 12:08 AM 1/25/00 PST, you wrote: >;------------------------------------------ >;call with no. of ms in work >delay_xms ;uses temp, temp1 check for reg. conflicts > movwf temp1 ;1 # ms in work >ms_dely > movlw .110 ;1 for fast crystal makes 1 millisecond > movwf temp ;1 >dlylp clrwdt ;1pretty short duty cycle i use wdt a lot > nop ;1 > decfsz temp,f ;1 > goto dlylp ;2 > decfsz temp1 ;1 > goto ms_dely ;2 > return >;------------------------------------------------------------- >alice > > > | | Sean Breheny | Amateur Radio Callsign: KA3YXM | Electrical Engineering Student \--------------=---------------- Save lives, please look at http://www.all.org Personal page: http://www.people.cornell.edu/pages/shb7 mailto:shb7@cornell.edu ICQ #: 3329174