In SX Microcontrollers, SX/B Compiler and SX-Key Tool, dog8spam wrote: I changed the OSC4MHZ to OSCXT2, ran the debugger and it took three times to clear rb, rc and rd. I'm working as I'm trying to get this post togeather... above problem confirmed again. Okay, something is definately wrong with the debugger here. Cleared all memory and opened my main.. wait, cleared my memory first before checking this again, worked the first time this time... Now, back to running my main program. Here are the first lines of my code, right below the reset point (RSPO). I added the comments here for clarity and the dashes represent the extra lines represent the second part of the mov instruction as shown in the debugger. I clicked debug and the debugger screen came up. rb-rd were still cleared, but they were red, as if they had just been changed. Pushed step, and rb-rd turn to $FF. Next step they cleared, then chaned to some random numbers. After a few more steps re started to be affected also. I clicked reset and every thing was cleared. I never put anything in my program to clear any registers on reset. I hit step and everything stayed cleared. Clicked again and then rb-rd went to $FF. Clicked hit set more and got the same pattern, more random numbers and add re in. Clicked reset and everything cleared again. This time it took three clicks until rb-rd were turned to $FF and the pattern repeated. RSPO mode #$0F mov !rd,#0 - mov !re,#0 - mov !rc,#0 - I see three possibilities: A) The debugger is flawed B) The SX is flawed C) Random changes when dealing with modes is normal (rb and rc, as they should be, aren't touched the rest of the program so I see this as a possibility) I decided to try and resinstall the assembler before I posted this (elimnate the obvious first) to make your guys job a little easier but for some reason I cant get it to install. :confused: It looks like it might take awhile to get it installed so I decided to post anyways so if you guys can recognize it as B or C right off the bat it would save me some extra trouble and, even if not, it may alert you of a possible bug in the assemler itself. Oh well. I'll be back with news of the re-install later. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=99387#m99550 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)