ARM Optimization/Asm File Syntax

From Wiki.ooo4kids.org

Jump to: navigation, search


asm file syntax (assembler)


Back to ARM_Optimization

Structure of code line

Usually a code line is like:

<label>:  <instruction>  <op,op,...>

A label is a name which allows us to represent the address of the instruction in memory.

It can be omitted, but the instruction code must be preceded by at least one space.

It is best to use tabs for readability of the program.


Basic program write in assembler ARM

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox