(一) startup.s分析
1,栈分区
; The stack gets placed into the zero-init section.
;******************************************************************************
area ||.bss||, noinit, align=2;******************************************************************************
;
; Allocate storage for the stack.
Stack_Size EQU 0x00002000AREA STACK, NOINIT, READWRITE, ALIGN=3
Stack_Mem SPACE Stack_Size
__initial_sp
2,堆分区
; Heap Configuration
; Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>Heap_Size EQU 0x00002000
AREA HEAP, NOINIT, RE