
 Originally Posted by 
Charles Linquis
					
				 
				It depends what you mean by "remap".
If you are writing a bootloader, it is likely that you will have to deal with a variety of devices, so you will have only one interrupt level. When a PIC gets an interrupt, it jumps to location 0x08.  Put a jump to whatever you want in that location.
			
		 
	 
 thanks for your reply.
but how to put jump instruction at 0x0008? i tried using this asm code but i got error "overwriting previous address content"
	Code:
	asm
org 0x0008
goto 0x2008
endasm
 also if i am putting jump at 0x0008 then if in bootloader interrupts (usb rx interrupts) occur then it will also jump to 0x0008 and then to 0x2008?
thanks
				
			
Bookmarks