Mike Keitz wrote: > > This construct can be used to synchronize precisely to external events: > btfsc port,bit > goto $+1 > It takes 2 cycles if 'bit' is low, and 3 if 'bit' is high. There is a > trick to synchronize exatly to TMR0 based on this as well. Tricks like these make wade through all the messages every day. Thanks. -- Friendly Regards Tjaart van der Walt mailto:tjaart@wasp.co.za ________________________________________________________ | WASP International http://wasp.co.za | | R&D Engineer : GSM peripheral services development | |Vehicle tracking | Telemetry systems | GSM data transfer| |Voice : +27-(0)11-622-8686 | Fax : +27-(0)11-622-8973 | | WGS-84 : 26010.52'S 28006.19'E | |________________________________________________________|