title: GNU assembler did not produce a program that I can execute
body: <p>I tried assembling some intermediate code generated by gcc.  I used the command <code>as -o hello hello.s</code>, which, as far as I can tell, is the correct syntax.  When I tried to run the program, it said <code>bash: ./hello: cannot execute binary file</code>.  It doesn't seem like there's a problem with the assembly code, since it was the code generated by gcc, and it doesn't seem like there's anything wrong with how I invoked the assembler, since that seems to be the right syntax according to <a href="http://tigcc.ticalc.org/doc/gnuasm.html" rel="nofollow">this manual</a>.  Can anyone help me with this?</p>