In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ShadowsSoldier wrote: Hey folks I was trying to set the prescaler of my IRC to 1:2 but its not interrupting in the SX Sim when the RTCC is rolling over. Here is a code snippet: IRC :RTCCPSA Mov w, #%0000_0001 Mov RTCC, w ; initialize RTCC to 1 Mov w, #%1000_0001 ; reconfigure RTCC with PSA 1:4 Mov !option, w Mov w, #%0000_0001 Reti ; configuration complete Main Jmp Main ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=109269 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)