如题为什么keil中打印启动文件中的_Vectors、_Vectors_End、_initial_sp得到的结果不正确,我在工程中是这么写的:
extern unsigned int __Vectors;
extern unsigned int __Vectors_End;
extern unsigned int __initial_sp;
printf("stack_peak is %x\n",__initial_sp);
printf("__Vectors is %x\n",__Vectors);
printf("__Vectors_End is %x\n",__Vectors_End); |