HeadlinesBriefing favicon HeadlinesBriefing.com

World's Smallest Windows App in Assembly Code

Hacker News •
×

This project creates the smallest possible complete Windows application using x86 assembly, as demonstrated in Dave's Garage episodes "Hello, Assembly! Retrocoding the World's Smallest Windows App in x86 ASM" and "C vs ASM: Making the World's SMALLEST Windows App". The application runs a Windows message loop, displays a title bar with functional minimize, maximize, and close buttons, and paints centered text. Three optimized versions exist in the repository: "Tiny Original" with optimized code, "Lasse" applying shell coding tactics, and "Theron" using manually written PE headers.

QRCode is preserved as dead code from earlier experimentation. Build instructions cover both plain MASM32 11.0 and MASM32 with Crinkler linker for maximum compression. Users should note that aggressive optimizations may trigger virus scanner alerts, requiring temporary disabling of security software to run executables.