Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cache87
· 11y ago · 0 comments
That's what I loved about DOS com executables. Possibly the smallest program was:
int 20;
which got translated into CDh 20h (4 bytes!)
Comments
[–]
xyproto
11y ago
That's 2 bytes, not 4. A byte goes from 00 to FF.
[–]
rcarmo
11y ago
I had a friend in college who once coded an entire lotto program ("graphics" and all) into 380-odd bytes. Utterly insane.
[–]
fit2rule
11y ago
Smallest useful DOS program I ever wrote was FF FF, or in other words .. reboot! :)