Assembling Real Mode Code

Here’s how you can build programs using the GNU Assembler and Linker. page

echo ' .code16 .globl _start _start: dec %ax jmp _start ' | as -o prog.o ld -static --oformat=binary prog.o -o prog.bin ./blinkenlights.com -rt prog.bin