Get the latest tech news
A 23-byte "hello, world" program assembled with DEBUG.EXE in MS-DOS
A 23-byte “hello, world” program assembled with DEBUG.EXE in MS-DOS - susam/hello
Also, note that the W(write) command expects the registers BX and CX to contain the number of bytes to be written to the file. The binary executable file can be created on a Unix or Linux system using the printf command as follows: As a result, executing the RET instruction pops 0000 off the stack at FFFE and loads it into IP.
Or read this on Hacker News