If I choose menu Debugger -> Clear memory -> GPRs,
it would clear all General Purpose Registers.
Is there a way, to write a line of command in the code to perform that?
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Mar 15, 2005 9:24 am
You can use #zero_ram. It will create a lot of ASM code -- more than
one line. Some people report that it doesn't work properly on some
of the 18F chips.
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
Posted: Tue Mar 15, 2005 1:13 pm
Another problem with #zero_ram is that it will clear the registers on reset. This might not be desired.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum