James Kane wrote: >Dan: >Thanks for the comments. >1)I'm aware of the constitution of the 10 bits of duty, but my question is >why? If the period reg is 8 bits, any set of bits 9 and 10 at any time will >yield 100%. Do I have that right? No, as I said last time, the 9th and 10th bits concatenate on the "LSB" end. ================ >2) In the retfie I do save via MC's published method the status and W regs. >When I goto out of the isr, I won't need the hardware stack contents (I hope >that's right), but maybe I should restore the registers. The application is >too long to describe here. Thanks. JIm > Details are too sketchy to understand exactly what your problem is here. Normally you don't goto out of an ISR, you exit it via retfie, using proper bookkeeping procedures - register retores. OTOH, some people [myself included] use interrupts to break out of endless loops/etc, and go back to the starting/initialization point in the code. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body