PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Feb 02, 2006 12:51 pm |
|
|
Quote: | Can I put a nop instruction at location 0x00? |
You didn't specify your PIC, so I will post how to do it for a 18F452.
Code: | #include <18F452.h>
#fuses XT,NOWDT,NOPROTECT,PUT,BROWNOUT,NOLVP
#use delay(clock=4000000)
#build (reset = 0x0002)
#ROM 0 = {0x0000}
//============================
void main()
{
while(1);
} |
|
|