用汇编写了个小程序,结果却是ntvdm cpu 遇到无效的指令,怎么解决???急!!!!!
code segmentmain proc far
assume cs:code
call SKIPLINES
main endp
SKIPLINES proc near
mov ax,5
A:
mov dl,0dh
mov ah,2
int 21h
mov dl,0ah
mov ah,2
int 21h
dec ax
jnz A
ret
SKIPLINES endp
code ends
end main