一个编译过程中的小问题,真的很小
我写了一个小程序(书上的例子),编译的时候没有问题,链接却出了问题:No program entry point,谁能告诉我问什么会产生这个问题?怎么解决?为了方便大家回答方便,源码放上来:
prognam segment
main proc far
assume cs:prognam
start:
push ds
sub ax,ax
push ax
;main part of program
mov bx,1011011001111111b
mov ch,4
rotate: mov cl,4
rol bx,cl
mov al,bl
and al,0fh
add al,30h
cmp al,3ah
jl printit
add al,07h
printit:
mov dl,al
mov ah,2
int 21h
dec ch
jnz rotate
ret
main endp
prognam ends
end
问题点数:50、回复次数:2Top
1 楼mydo(侯佩|hopy|ks)回复于 2005-02-23 16:49:21 得分 25
没有程序进入点 请在最后补上 end startTop
2 楼htron()回复于 2005-02-23 17:01:01 得分 25
末尾end后面加startTop




