为什么keil中打印启动文件中的_Vectors、_Vectors_End、_initial_sp得到的结果不正确

[复制链接]
562|0
 楼主| 考哥 发表于 2020-4-25 17:28 | 显示全部楼层 |阅读模式
如题为什么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);
您需要登录后才可以回帖 登录 | 注册

本版积分规则

461

主题

477

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部