如果我改了xcl中的Interrupt vectors,我的cstartup是不是要修改些什么?我不改的话,debug的时候老死掉!!!~~~
修改如下:
// --------------------------------------------------------- // Information memory // ---------------------------------------------------------
-Z(CODE)INFO=1000-10FF -Z(CODE)INFOA=1080-10FF -Z(CODE)INFOB=1000-107F
// --------------------------------------------------------- // Constant data // ---------------------------------------------------------
-Z(CONST)DATA16_C,DATA16_ID,DIFUNCT,CHECKSUM=1100-F1DF
// --------------------------------------------------------- // Code // ---------------------------------------------------------
-Z(CODE)CSTART,ISR_CODE=1100-F1DF -P(CODE)CODE=1100-F1DF
// --------------------------------------------------------- // Interrupt vectors // ---------------------------------------------------------
-Z(CODE)INTVEC=F1E0-F1FF -Z(CODE)RESET=F1FE-F1FF
|