News for hackers. Stuff that matters.
Re:A 28-byte “hello, world” program assembled with DEBUG.EXE... by Agingcoder on Sunday October 30, 2022 @04:38PM (#33398414)
The COM executable gets loaded by DOS at address 100h, so the first bytes have to be executable code, if memory serves me well?
Re:A 28-byte “hello, world” program assembled with DEBUG.EXE... by vore on Sunday October 30, 2022 @04:45PM (#33398472)
I think OP is saying what if you wrote it as:

        mov ah, 9
        mov dx, offset helloworld
        int 21
        mov ah, 0
        int 21
    .helloworld:
        db 'hello, world', d, A, '$'