Plain Binary (FLAT-form binary) file
(C) 2004-11-1 GR1X. All Rights Reserved.
SO What Does Plain Binary Mean?
Quoted from Nasm Documentation
6.1 bin: Flat-Form Binary OutputThe bin format does not produce object files: it generates nothing in the output file except the code you wrote Such `pure binary 'files are used by MS-DOS:. .COM executables and .SYS device drivers Are Pure Binary Files. Pure Binary Output IS Also Useful for Operating System and Boot Loader Development.
OK, IF We Wanna To Generate A Plain Binary File, We can do the following:
With nasm, as if you don't -f option, it'll chose bin as its default output format! NASM Hello.asm -o Hello.bin
With gcc, you can gcc -c hello.c ld -o hello -ttext 0x0 -e main hello.o objcopy -r .note -r .comment -s -o binary hello hello.bin
Plain binary = flat-form binary = raw binary, but not 100% Sure About this:)