On Fri, 27 Aug 2004, Aslam Jallali wrote: >> Your Delay_14.8s routine runs for 14.80000s at 4MHz BTW (according >> to an MPLAB simulation) > > Btw. how did you do this. I was running the mplab IDE simulation on this > code. The green cursor was going up and down on the delay code. from the > speed of it,It would have probably taken the whole night until it would have > gone to the next code line!!. A 400MHz (my CPU) would simulate a 4MHz -tool. > can you make if not real time, at least fast simulation? You could try gpsim. On my Athlon XP 1800, gpsim can simulate up to 50 million instruction cycles per second. (To be honest, the typical simulation is probably only 20 or 30 million instruction cycles). It'd probably take just a few seconds to simulate your delay loop. Scott -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body