Institut for Matematik og Datalogi |
gcc
. If the given file has .s
as extension it will taken as assembly code by gcc
.gcc hello_world.s
a.out
. It may be usefull to have the program called something else, which can be achieved with the option -o
:gcc -o test_program hello_world.s
test_program
instead.S
:gcc -S -o assembly_code.s hello_world.c
bach.imada.sdu.dk
, so all programs must be assembled and executed on that. (use ssh bach.imada.sdu.dk
to connect to it).