.386
CodeSeg segment
Main proc
start:
mov ah,0h
int 16h
cmp al,0h
jz finish
mov ah,0eh
int 10h
jmp start
finish:
int 20h
Main endp
CodeSeg ends
end Main
제가 위와 같이 test.asm 파일을 작성한 뒤에 ml /c /coff test.asm을 하니,
warning A4023: with /coff switch, leading underscore required for start address : Main
그런뒤 link test.obj를 하였습니다.