start.s

来自「S3C4510B(KEB-50100)配套的源码-说明文档」· S 代码 · 共 54 行

S
54
字号
;/*************************************************************************/
;/*                                                                       */
;/* FILE NAME                                            VERSION          */
;/*                                                                       */
;/*      start.s                             SNDS100 Board version 1.0    */
;/*                                                                       */
;/* COMPONENT                                                             */
;/*                                                                       */
;/*                                                                       */
;/* DESCRIPTION                                                           */
;/*                                                                       */
;/*      Download program's execution start functions .                   */
;/*                                                                       */
;/* AUTHOR                                                                */
;/*                                                                       */
;/*                                                                       */
;/* DATA STRUCTURES                                                       */
;/*                                                                       */
;/*                                                                       */
;/* FUNCTIONS                                                             */
;/*                                                                       */
;/*                                                                       */
;/* DEPENDENCIES                                                          */
;/*                                                                       */
;/*      snds.a                              System constants             */
;/*                                                                       */
;/* HISTORY                                                               */
;/*                                                                       */
;/*                                                                       */
;/*************************************************************************/
	GET memory.a

	AREA    START, CODE

	EXPORT	StartUserPgm
	EXPORT	StartDownPgm
	EXPORT	GdmaStartUserPgm
	EXPORT	Reset_Boot_Rom

StartUserPgm
	LDR	PC, =UserCodeArea

GdmaStartUserPgm
	LDR	PC, =DmaCodeArea

Reset_Boot_Rom
	LDR	PC, =0x0

StartDownPgm
	MOV	PC, r0


	END

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?