You copied the Doc URL to your clipboard.

ARM Compiler Getting Started Guide : Building an image from legacy ARM syntax assembly code

Building an image from legacy ARM syntax assembly code

This example shows how to build ARM assembly language code with armasm.

Note

Only use armasm for legacy assembly files. Use armclang to assemble new assembly files.

To build an assembly program, for example hello_world.s:

Procedure

  1. Assemble the source file:
    armasm --cpu=7-M --debug hello_world.s
  2. Link the object file:
    armlink hello_world.o -o hello_world.axf

Related concepts