⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 init_table.s

📁 STR711 IAP底层驱动程序
💻 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 + -