In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Nope that the way the WKPND_B register works. It actually swaps the values from WKPND_B and winner. You would set winner to the value to want to make WKPND_B then after then instruction winner will hold what WKPND_B had before the instruction. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=190831#m195543 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)