In SX Microcontrollers, SX/B Compiler and SX-Key Tool, kingneb wrote: That is the inverse function of what I needed: This is what does it: temp var byte result var byte temp = RA AND 3 result = ~RA Thank You ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=94588#m94595 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)