Open main menu

CDOT Wiki β

Changes

Assembler Basics

No change in size, 13:24, 22 January 2016
Compiling an Assembly Language Program using the GNU Assembler
# Run the assembler: <code>as -g -o ''test''.o ''test''.s</code>
# Run the linker: <code>ls ld -o ''test'' ''test''.o</code>
Note that the <code>-g</code> option assembles the program with symbolic debugging information included.