stm8编译后生成的.map看不懂了。
“.const”因该是rom吧,那“.text"又是什么?
“.ubsct”、“.data, initialized”、“.data, from”、“.bss”因该是ram吧,但他们有什么区别?
更奇怪的是“.debug”,它怎么从地址0开始了?它因该不会写入单片机吧.
--------
Segments
--------
start 00008080 end 0000d501 length 21633 segment .const
start 0000d75c end 00010e28 length 14028 segment .text
start 00004000 end 00004000 length 0 segment .eeprom
start 00000000 end 00000000 length 0 segment .bsct
start 00000000 end 0000000c length 12 segment .ubsct
start 0000000c end 0000000c length 0 segment .bit
start 0000000c end 0000000c length 0 segment .share
start 00000100 end 00000353 length 595 segment .data, initialized
start 0000d509 end 0000d75c length 595 segment .data, from
start 00000353 end 0000039f length 76 segment .bss
start 00000000 end 0000f0b8 length 61624 segment .debug
start 00008000 end 00008080 length 128 segment .const
start 0000d501 end 0000d509 length 8 segment .init |