In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: Keep in mind that WATCH is now an SX/B keyword as well as a compiler directive, so if you want the flexibility to specify the bits and format, you need to precede that command with \ to embed it as an assembly command; when using WATCH in SX/B, the default format is decimal. For example, if you have a word variable and you want to see the state of the bits you would do this in SX/B \ WATCH myVar, 16, ubin If decimal mode is okay, you can simplify to: WATCH myVar ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=188464#m188496 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)