TC277 地址对齐

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
zhimadaddy
Level 1
Level 1
First question asked First reply posted
定义全局数组变量,如何指定该全局数组变量的存储地址的对齐方式
0 点赞
2 回复数
跑道
Level 4
Level 4
100 replies posted 50 replies posted 25 replies posted
这个是看编译器关键字吧
0 点赞
zhimadaddy
Level 1
Level 1
First question asked First reply posted
可以用关键字 #pragma align n,n是期望的字节对齐数,用#pragma align restore 恢复
0 点赞