.8086 .model small .code PUBLIC main main: ; This just builds a stub MZ exec that is exactly 1K long, see mousew2.lnk for details mov ax,0x4c01 int 0x21 ; just end with error code db 400h-40h-5h dup(0) ; 1K - sizeof full MZ header - size of above code .stack END main