Open main menu

CDOT Wiki β

Changes

Assembler Basics

1 byte removed, 13:30, 21 January 2016
no edit summary
Note that the <code>-g</code> option assembles the program with symbolic debugging information included.
== Compiling an Asseembly Assembly Language Program using the NASM Assembler ==
# Run the assembler: <code>nasm -g -f elf64 -o ''test''.o ''test''.s</code>
# Run the preprocessor, assembler, and linker using the gcc command: <code>gcc -g -o ''test''.o ''test''.S</code>
Note that the <code>-g</code> option assembled assembles the program with symbolic debugging information included, and that the normal GCC optimization options are not available.
== Instruction Set Architecture Information ==