打印

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

[复制链接]
288|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

粉丝