aboutsummaryrefslogtreecommitdiff
path: root/dosstub.asm
blob: fd5c164a7a94cb61292979631d3e13adde913f0b (plain)
1
2
3
4
5
6
7
8
9
10
11
.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