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

📄 startup.s

📁 SOURCES此目录下是C源文件 SOURCESASM此目录下是本项目用到的汇编语言文件 INCLUDES此目录下是本项目的所有头文件 本项目用GNU的gcc和ld完成编译与链接操作.
💻 S
字号:
.global main
.global _start

.section .init

_start:

    ; The following block of code will zero out the entire .sbss and .bss
    ; sections.
    ; NOTE:  If you change the section ordering in your .ld file, you may
    ;        have to modify the code below to work with your section layout.

	mov	    r9,  #_edata
	mov	    r10, #_end
	mov	    r5,  #0
0:	mov	    [r9++], r5
	cmp 	r10, r9
	jge     0b

;.section .text
    jmp     main        ; Jump user's main function
; End of file: startup.s 


⌨️ 快捷键说明

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