Join GitHub today
Binary Object File
A binary object file is an object file that contains no header information to describe the sections or relocations; the file only contains the raw instructions and data present in the input file. This format is needed if you want to create a bootloader for instance, or something else that is to be run by BIOS, as the BIOS can only read this format. Another common use is for DOS ".com" files.
It can be considered to be a "raw", "flat" binary, as no relocations are present, and external symbol references are not allowed.
In Yasm, binary object file output can be selected by use of "-f bin". For more details, see the section on flat-form binary output in the Yasm manual.