In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote: Rob, You are correct in thinking that your watched variable data is being interpreted as a signed number. Declare your watched variable to be UDEC (Unsigned Decimal) rather than SDEC (Signed Decimal). Additional WATCH command help can be found Under Help | Watch Window Help. As far as I know SHIFTIN can not process more than 8 bits at a time. The last paragraph of the SX/B Help file entry for the SHIFTIN command shows how to shift in 12 bits of data using two SHIFTIN statements. It looks like you have implemented that correctly. That should work, placing the full 12 bits into your result word variable. - Sparks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=183991#m184202 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)