In SX Microcontrollers, SX/B Compiler and SX-Key Tool, megazoic wrote: Hi, I'm going through G. Daubach's tutorial 010 for the sx28 "Clearing the Data Memory and Indirect Addressing" and the following code... [code]Main clr fsr ClearData sb fsr.4 setb fsr.3 clr ind ijnz fsr, ClearData jmp $ [/code] is supposed to clear only data memory. Yet when I step through this, I see that the fsr includes addresses for program memory too. I have two questions. 1) Is it correct to say that the clr ind command is clearing the program memory when the fsr holds addresses for those pages? 2) if so does the sx-key debugger hold the program in some other memory so that the application still executes even after the program memory has been cleared? Thanks in advance of any thoughts! Nick ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=312678 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)