Introduction to assembler programming
Even if you do not intend to write a complete application in assembler language, there might be situations where you find it necessary to write parts of the code in assembler, for example, when using mechanisms in the Arm core that require precise timing and special instruction sequences.
To write efficient assembler applications, you should be familiar with the architecture and instruction set of the Arm core. Refer to the Arm Limited hardware documentation for syntax descriptions of the instruction mnemonics.
Getting started
To ease the start of the development of your assembler application, you can:
Work through the tutorials—especially the one about mixing C and assembler modules—that you find in the Information Center, under Product Explorer
Read about the assembler language interface—also useful when mixing C and assembler modules—in Assembler language interface.
In the IAR Embedded Workbench IDE, you can base a new project on a template for an assembler project.