启动文件.s源码

stm32 启动文件.s源码 分析

纵饮孤独 提交于 2020-03-02 17:04:01
; Amount of memory (in bytes) allocated for Stack ; Tailor this value to your application needs ; <h> Stack Configuration ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> ; </h> Stack_Size EQU 0x00000400 ;栈大小 AREA STACK, NOINIT, READWRITE, ALIGN=3 ;用AREA 标记 STACK段的开始,未初始化,可读写,8字节对齐 Stack_Mem SPACE Stack_Size ;为Stack_Mem 分配Stack_Size个字大小的连续空间,初始化为0 __initial_sp ;STACK 地址分配结束标记(结束地址) ; <h> Heap Configuration ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8> ; </h> Heap_Size EQU 0x00000200 ;堆大小 AREA HEAP, NOINIT, READWRITE, ALIGN=3 ;用AREA 标记 HEAP段的开始,未初始化,可读写,8字节对齐 __heap_base ;堆的基地址标识(开始地址),