📄 startup.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 + -