Maarten Hofman wrote: > I would recommend macros to specify delays, possibly ones that depend > on the speed of the ceramic resonator. Which is exactly what my WAITUS and WAITNS macros in STD.INS.ASPIC at http://www.embedinc.com/pic do. > Also, instead of two nops, you > could use goto $+1, Which is exactly what my WAITCY macro that WAITUS and WAITNS are layered on does. It also knows to use BRA $+2 on a PIC 18. ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist