?? init_table.s
字號(hào):
; 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
RSEG CODE1:ROOT
RSEG CODE1_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(CODE1_ROM) - sfb(CODE1_ROM) ; size of the segment
DCD sfb(CODE1) ; start address of where to copy to
DCD sfb(CODE1_ROM) ; start address of where to copy from
END
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -