以下是BF533内存,共148K
Up to 148K bytes of on-chip memory:
16K bytes of instruction SRAM/Cache
64K bytes of instruction SRAM
32K bytes of data SRAM/Cache
32K bytes of data SRAM
4K bytes of scratchpad SRAM
上面可以看出,在不开cache时,指令RAM有80K,数据RAM有64K ,这64K,不仅仅给你申请数组用,你代码中每一个变量,系统开辟的运行代码缓存,以及运行代码时加载的一些库文件,都会放到这里面运行,所以给你用的就没有那么多了。