Bruce Partridge wrote: >> The interrupt won't get lost, just delayed 66mS according to your >> figures. > > Here's how I time it in CCS C, if anyone is interested. Not really. I don't see how the result of using the wrong tool the wrong way is relevant. Since you're worried about cycles, write the array copy operation that disables interrupts in assembler. The best way to get accurate timing is to use the stopwatch feature in the simulator. Or, you could just *think* about it. A cursory sanity check would have told you that the 66mS figure is rediculous. A 4MHz PIC executes 1 instruction per microsecond, or 1000 instructions per millisecond. Don't you think 66,000 instructions seems a rather a lot to copy 128 bytes? That comes out to over 500 instructions per byte. If you believe that, contact me about a bridge over the Hudson River I'm selling. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body