?? init_table.s
字號:
; IMAL 2005-10-12
; The following table entry is needed to make
; the IAR start-up-sequence to copy from the
; a segment (often in ROM) to a segment in RAM
; AREA ROOT,CODE_Flash,READONLY ;RSEG CODE_Flash:ROOT
; RSEG CODE_ROM:ROOT
;* Structure of an element in the segment initialization table
; * in segment INITTAB. Used for both zero-initialization and copying. */
; typedef struct
; {
; long Size; /* Number of bytes to initialize */
; char* Dst; /* Destination. If Dst==Src, then init to 0 */
; char* Src; /* Source address. Usually in ROM. */
; } InitBlock_Type;
; RSEG INITTAB:CODE:ROOT(2) ; 2^2 4 bytes alignment
; DATA
DCD sfe(CODE_ROM) - sfb(CODE_ROM) ; size of the segment
DCD sfb(CODE_Flash) ; start address of where to copy to
DCD sfb(CODE_ROM) ; start address of where to copy from
END
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -