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

📄 splstartup.s

📁 mx21的NAND Flash Bootloader源代码
💻 S
字号:
//	.extern	main	.global	_start//	.extern	__end_data//	b		_start		// this line is mainly for debugging with bootstrap mode							// so that the first line of b-record is executed correctly	//.equ		ImageSize,		__end_data - 0xc3000000	//.long		ImageSize_start:	ldr	r1,=StackInit	and     r1,r1,#3	ldr	sp,[r1]//wokao: b wokao	bl		main	ldr	r1,=0xC03FF000	//command line address	mov	pc,r0	.equ		StackInitValue,	__end_data+0x1000		// 4KStackInit:	.long		StackInitValue 	//.global	JumpToKernel//	r0 = jump address//	r1 = pointer to command line//JumpToKernel://	jump to the copy code (get the arguments right)	//mov	pc, r0 	//.global	JumpToKernel0x//	r0 = jump address//	r1-r4 = arguments to use (these get shifted)//JumpToKernel0x://	jump to the copy code (get the arguments right)	//mov	r8, r0	//mov	r0, r1	//mov	r1, r2	//mov	r2, r3	//mov	r3, r4	//mov	pc, r8.section ".data.boot".section ".bss.boot"

⌨️ 快捷键说明

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