. text//code snippet
. Global _start//Show Program entry
_start://Entry function
BL main//jump to Main in C, do not necessarily jump to main, you can also perform other assembly instructions
General engineering, pure Assembly complex, and efficiency than the C language does not improve how much, so in the absence of the operating system of the project, the best way to develop is to use the assembly to call the C language, the use of C language to complete the required work (only when the efficiency requirements are very high when the assembly to write code blocks), Of course, bare-metal development does not have a ready-made library, even if the simple printf function can not be called, in fact, is the assembly of high-level language version. Personally feel that the C language and the assembler are not very different in nature. And the ARM assembly contains the immediate number of legitimate concerns, But in the C language can not be completely considered. So I will not be in the blog to tell the assembly of things, the individual feel no need, as long as you know what each command to use, and then can use the line.
General form of ARM Assembly and assembly call C language