George, Did you know that there is a delay code generator at http://www.piclist.com/codegen It generates a delay routine with one instruction cycle resolution using nested loops. Just enter needed time or cycles in the form and hit the generate button! Hope it helps. Nikolai ---- Original Message ---- From: George Chatzigeorgiou Sent: Tuesday, August 15, 2000 16:49:49 To: PICLIST@MITVMA.MIT.EDU Subj: [PIC]:How can i calculate instruction delay > i.e How can i calculate the nop delay if working with a 4MHz crystal. > I've seen many examples that calculate this delay in various ways but the > result is not the same. > Thanks in advance, for any help > George Chatzigeorgiou > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.