4 ms·
The smallest meaningful program for MS-DOS was exactly 2 bytes: FA F4 That's CLI HLT, which effectively deadlocked the machine. Had to be saved as a .com fu
by abcd_f 1mo ago
The smallest meaningful program for MS-DOS was exactly 2 bytes:
FA F4
That's CLI HLT, which effectively deadlocked the machine. Had to be saved as a .com fule obviously, not as an .exe.
- smokel 1mo agoSomewhat 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?
- AdieuToLogic 1mo ago>> 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`.
- abcd_f 1mo agoYeah, but the first one does nothing at all and the second does nothing for a bit :)