You got it! -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Tal Bejerano - AMC Sent: Friday, July 19, 2002 7:27 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: NOP Delay I Thank you all for your educative answer. So if I understand correctly the calculation is like that say I am using 32,768Khz crystal 1 / 32768 = 0.0000305 0.0000305 * 4 = 0.000122sec and if I use 4Mhz crystal 1 / 4,000,000 = 0.00000025 * 4 = 0.000001sec am I right? Regards Tal Bejerano AMC - ISRAEL -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Jinx Sent: Saturday, July 20, 2002 1:09 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: NOP Delay > A friend (really new to pics) ask me about the NOP delay > He look at some samples at piclist archive and found that > in one sample nop gives 0.122msec > he's question is: what cause the delay time? Using a 32.768kHz crystal, which has an instruction time of 1000000 / (32768 / 4) = 122us -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body