1,885
edits
Changes
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 ==