[ C O D E ]
11.10.2026 · 4 min
TITLE..........Hello world in 22 bytes
DATE..........11.10.2026
TAGS..........x86, dos, com
SIZE..........4 min

No headers, no linker, no runtime. A .com file is loaded at 100h and simply starts executing.

Seven instructions, one interrupt, a dollar-terminated string. That is the whole program.

[ hello.asm ]
asm · 7L
1; nasm -f bin hello.asm -o hello.com
2org 100h
3 mov dx, msg ; ds:dx -> string
4 mov ah, 09h ; dos: print string
5 int 21h
6 ret ; back to dos
7msg db 'year one.$'
-- READ ONLY -- utf-8 · asm · 7 lines
(c) 2026 yearone.cloud · root@yearone.cloud