logoalt Hacker News

smokelyesterday at 9:01 PM1 replyview on HN

Somewhat more meaningful was "INT 19h" (CD 19), which also took 2 bytes and started the boot loader, bypassing the slow boot sequence of most systems.

And wouldn't a single instruction such as NOP or HLT be simply 1 byte?


Replies

AdieuToLogicyesterday at 11:40 PM

>> The smallest meaningful program for MS-DOS was exactly 2 bytes ...

> Somewhat more meaningful was "INT 19h" (CD 19) ...

I seem to remember the smallest MS-DOS program to be CD 20h saved as a `.com`.