You copied the Doc URL to your clipboard.

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=8-A.32 --debug hello_world.s
    
  2. Link the object file:
    armlink hello_world.o -o hello_world.axf
    
Was this page helpful? Yes No