correctly the IVT even if it is relocated to some other location
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3369
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2004-06-28 Vangelis Rokas <vrokas AT otenet.gr>
+
+ * src/pic16/glue.c (pic16createInterruptVect): function now emits
+ correctly the IVT even if it is relocated to some other location
+
2004-06-28 Vangelis Rokas <vrokas AT otenet.gr>
* device/include/pic16/pic18fregs.h: added case for pic18f2220.h
if((!pic16_options.omit_ivt) || (pic16_options.omit_ivt && pic16_options.leave_reset)) {
fprintf (vFile, ";\t.area\t%s\n", CODE_NAME);
- fprintf(vFile, ".intvecs\tcode\t0x0000\n");
+ fprintf(vFile, ".intvecs\tcode\t0x%06x\n", pic16_options.ivt_loc);
fprintf (vFile, "__interrupt_vect:\n");
/* this is an overkill since WE are the port,