This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
?
您好、TI 专家!
LAUNCHXL-F280049C 是我的开发板。 我将通过 CCS10.2调试该程序。
当我点击 CCS 菜单"CPU reset"时,程序从地址0x3fc7a5开始。
然后程序运行并在文件 autocinit.h 中停止。 源代码如下所示:
if (&&_TI_Handler_Table_Base!=&&_TI_Handler_Table_Limit)
{
char * const * table_ptr =_TI_CINIT_Base;
char * const * TABLE_LIMIT =_TI_CINIT_LIMIT;
while (table_ptr!= table_limit)
{
char const * load_addr =* table_ptr++;
char * run_addr =*表_ptr++;
char handler_idx =* load_addr++;
handler_fn_t handler =__ TI_Handler_Table_Base [ handler_idx];
处理程序(load_addr、run_addr);
}
}
我检查了汇编窗口、发现了一个奇怪的信息。(请参阅 picture--0x83459.jpg,0x837C4.jpg)
程序在地址0x83459处运行后:MOVL XAR7、*+ XAR5[0]
@XAR5=0X837C4、* XAR5=0X8340D、
寄存器@XAR7应为0X8340D、。
但是寄存器@XAR7的 resumt 为0x8240D。
因此、这将使我的程序崩溃。
这使我困惑。为什么?