In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote: Hi Dan; You are absolutely correct; in the case cited, it takes 3 cycles to disable the interrupts. If you were able to leave the MODE register in the $0B state, then of course it is reduced by one. Personally, I rearely use the interrupt-on-b feature, as I find it is generally insufficiently deterministic for my needs. My preference is to run an RTCC ISR at a high speed, and do everything on a very steady basis. Of course, if there is a lot to do, or if legitimate inputs may happen very rapidly, this technique may not be optimum. Cheers, Peter (pjv) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91209#m91406 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)