How to generate plain binaries like nasm -f bin with the GNU GAS assembler?
What directives should I use in GAS? I’ve found the ‘.org’ directive but GAS doesn’t seem to have a ‘.bits’ directive. The assembler defaults to 64–bit for me, you can use –32 or –64 to chose on the command line. Have a look at the manual for as to see how you can change the … Read more