In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Coriolis wrote: Using the logic operand AND is the most efficient means of clearing a series of bits, RB = RB AND #$0F, would clear bits 4-7, I may have the syntax wrong since I don't use SX/B that much. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=105636#m105641 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)