源码:
#include <iom8v.h>
unsigned char byte[300] = {0};
void main(void)
{
while(1)
{
}
}
生成代码:(Flash)
:02000000A8C096
:0200120015C116
:0200160019C10E
:140026000000000000000000000000000000000000000000C6
:14003A000000000000000000000000000000000000000000B2
:14004E0000000000000000000000000000000000000000009E
:1400620000000000000000000000000000000000000000008A
:14007600000000000000000000000000000000000000000076
:14008A00000000000000000000000000000000000000000062
:14009E0000000000000000000000000000000000000000004E
:1400B20000000000000000000000000000000000000000003A
:1400C600000000000000000000000000000000000000000026
:1400DA00000000000000000000000000000000000000000012
:1400EE000000000000000000000000000000000000000000FE
:140102000000000000000000000000000000000000000000E9
:140116000000000000000000000000000000000000000000D5
:14012A000000000000000000000000000000000000000000C1
:14013E000000000000000000000000000000000000000000AD
:14015200CFE5D4E0CDBFDEBFCE51D0400AEA08830024ECE862
:14016600F1E011E0EC38F10711F00192FBCF0083E6E2F0E02E
:14017A00A0E6B0E011E000E00BBFE235F10721F0C89531967C
:14018E000D92F9CF01D0FFCF07D009D080E88FBFFFCF089586
:1401A20020E008950FEF07BB089500E002BF04E003BF01E027
:1401B60009BF089510BD09B908E10AB90EE800BD08955F9B4B
:1401CA00FECF0CB1099313951217C9F7089543E022D041E196
:1401DE0020D080E091E00990199041E01AD032960297C9F7DE
:1401F200E050F14045E013D041E111D080E091E0C050D1409B
:1402060005900990011018C00197D1F700B106FF089541E1F8
:14021A0002D0FACF08951F930F9300B100FDFBCF1FB5F8946C
:14022E00E199FECF40B9E8951FBD0F911F9108952F9228B29B
:0A024200209428BA2F901895189503
:00000001FF
问:byte[300]不是应该放在Ram里面吗?为何Flash里面会出现300byte的0?
此帖出自
小平头技术问答
一周热门 更多>