Hi Mike, This may be helpful, I forget where it came from: I recently asked HiTEC the same question, here the solution I got from Matt. Good luck! Question 1: How do I place a "NOP" instruction at Program Memory location 0x000 when using the PICC compiler and MPLAB-ICD? Example of a modified file to include in project: Please note that the powerup.as file references the "sfr.h" file so you will nedd to make the appropriate changes to the include path or move the file "sfr.h" into your project. #include "sfr.h" global powerup,start psect powerup,class=CODE,delta=2 powerup #if defined(_PIC14) ;clrf STATUS <----- instruction commented out nop <----- added movlw start>>8 movwf PCLATH goto start & 7FFh #endif #if defined(_PIC16) movlw start>>8 movwf PCLATH movlw start & 0xFF movwf PCL #endif end powerup When you add this node be sure and select "Pre-process assembly file" for the node settings of this file. Question 2: How do I reserve 0x100 program memory locations and RAM locations 0x70 and 0x1EB-0x1EF when using the MPLAB-ICD tool in debug mode? Answers: Method 1: Create a .as file with the contents shown below. Add this file to the project. psect icdram,class=icdram,space=1 ds 5 psect icdram1,class=icdram1,space=1 ds 1 psect icdrom,class=CODE,delta=2 global _icddebug _icddebug: ds 0x100 end Next edit the node properties for the file and add this text in the Additional Command Line Options: -L-Picdrom=1F00h -L-Aicdram=01EBh-01EFh -L-Aicdram1=070h-070h Build you project and move on. Method 2: Instead of creating a separate file add these statements in your main C file. #ifdef debug #asm psect icdram,class=icdram,space=1 ds 5 psect icdram1,class=icdram1,space=1 ds 1 psect icdrom,class=CODE,delta=2 global _icddebug _icddebug: ds 0x100 #endasm #endif Next, edit the node properties for the main C file and select the box labled "Define Macro". In the data field for this option type in debug. Next edit the node properties for the file and add this text in the Additional Command Line Options: -L-Picdrom=1F00h -L-Aicdram=01EBh-01EFh -L-Aicdram1=070h-070h -- http://www.piclist.com hint: PICList Posts must start with ONE topic: "[PIC]:" PIC only "[EE]:" engineering "[OT]:" off topic "[AD]:" ad's