how can i write non non windows exe's with ml.exe . Do i need anthor linker than the one in the masm32 package. I tried so many combinations and switches of ml and linker just to compile this code
data segment para
buffer db 512 dup ('b')
data ends
stack segment para
DB 2048 DUP ('s')
stack ends
code segment para
assume CS:code,DS:data,SS:stack
START PROC FAR
mov ax,cs
sub ax,80h
mov ss,ax
mov sp,800h
sub ax,20h
mov ds,ax
mov es,ax
mainloop:
mov ah,0
int 16h
jmp mainloop
RET
START ENDP
code ends
END START
Hi confusius,
You may want to check these two places:
http://www.masmforum.com/simple/index.php?topic=2689.0
http://www.masmforum.com/simple/index.php?topic=2492.0
LL
http://www.masmforum.com/simple/index.php?topic=1123.0