In SX Microcontrollers, SX/B Compiler and SX-Key Tool, prcoy wrote: Hi Gunther, I'm stumped! I added the following lines to "Toggle.SXB" and tried to run it with SXsim 2.06.02. I get the wrong results on two different computers. [code]TEMP1 VAR Byte TEMP2 VAR Byte [code]MAIN: TEMP1 = 50/10 TEMP2 = __REMAINDER [/code] With Device SX18..., I get TEMP1 as $07, TEMP2 as $14. With Device SX28..., I get TEMP1 as $02, TEMP2 as $0A. I tried the Temp2=50//10 with the same results. Running it on a SX28 works just fine. I'm probably missing something simple..I just cant figure it out. Paul ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=6&m=53539#m90473 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)