Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # A tiny 16-bit guest "kernel" that infinitely prints an incremented number to the debug port | |
| # | |
| # Build it: | |
| # | |
| # as -32 guest.S -o guest.o | |
| # ld -m elf_i386 --oformat binary -N -e _start -Ttext 0x10000 -o guest guest.o | |
| # | |
| .globl _start |
