Pure Binary

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Demon_2k

Pure Binary

Post by Demon_2k »

What do you call a pure binary.
And how to you assamble pure binary in nasm?
Brill

RE:Pure Binary

Post by Brill »

nasm -f bin kernel.asm
Richie

RE:Pure Binary

Post by Richie »

A pure binary is a file that only contains code. For example a .exe File contains a header at the begin. In this header is written where the execution should start and some other informations. A pure binary has no header. The execution starts at the begin. This is useful for kernels. just load the kernel somewhere in memory and jump to the begin of the kernel. You needn't take care of the header.
Post Reply