arm_init.s
来自「linux下ROMMONITOR,FLASH,MODEM等操作原代码,请需要的朋」· S 代码 · 共 36 行
S
36 行
/*******************************************************************************
*
* Filename: arm_init.s
*
* Initialization for C-environment and basic operation. Adapted from
* ATMEL cstartup.s.
*
* Revision information:
*
* 20AUG2004 kb_admin initial creation
* 20SEP2004 kb_admin adapted for RAM monitor
*
* BEGIN_KBDD_BLOCK
* No warranty, expressed or implied, is included with this software. It is
* provided "AS IS" and no warranty of any kind including statutory or aspects
* relating to merchantability or fitness for any purpose is provided. All
* intellectual property rights of others is maintained with the respective
* owners. This software is not copyrighted and is intended for reference
* only.
* END_BLOCK
******************************************************************************/
/* Start execution at main */
.extern main
_main:
__main:
ldr r0, = main
mov lr, pc
bx r0
/* main should not return. If it does, try to jump back */
infiniteLoop:
b _main
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?