In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JimKueneman wrote: I am learning to program the SX and I have a question about the following code [code]mov w, #-100 retiw[/code] I struggle as to what "-" means here. There is no sign bit in the registers (that I see) so is this just a special case for using such a thing? Is what is really happening here is you are "adding and rolling over" the correct value to rtcc to make it look like you subtracted 100 from it and doing it without causing another rollover interrupt? Thanks, Jim ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=228864 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)