crt0.s
来自「一款交换机BSP开发代码」· S 代码 · 共 34 行
S
34 行
;
; src/crtcf/crt0.s: startup for an embedded environment: ColdFire
; ---------------------------------------------------------------
;
; Written by Tomas Evensen 1993-04-17.
; Copyright 1993-1998 Diab Data, Inc.
.file "crt0.s"
PSECT
ALIGN 4
nop ; Debuggers may object to starting at 0.
;------------------------------------------------------------- .init section --
section .init$00,2,C
XDEF ___init ; Entry to ___init, called by
___init: ; ___init_main called above.
; Linker places .init sections from other modules, containing
; calls to initialize global objects, here.
section .init$99,2,C
rts ; Return from ___init.
;------------------------------------------------------------- .fini section --
section .fini$00,2,C
XDEF ___fini
___fini: ; Entry to ___fini, called by exit().
; Linker places .fini sections from other modules, containing
; calls to destroy global objects, here.
section .fini$99,2,C
rts ; Return from ___fini.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?