标题:初学者问题
取消只看楼主
oujianqiang
Rank: 1
等 级:新手上路
帖 子:138
专家分:0
注 册:2006-5-16
 问题点数:0 回复次数:0 
初学者问题

下面代码有什么错误啊,用MASM5.0不能编译


prognam segment
;----------------------------------

main proc far
assume cs:prognam

start:
push ds
sub ax, ax
push ax
mov cx, 10

printit:
mov ah, 01
int 21h
mov dl, al
mov ah, 02
int 21h
dec cx
loop printit
ret

main endp
;-----------------------------------
prognam ends

;***********************************
end start

搜索更多相关主题的帖子: mov push int main 
2007-03-29 22:04



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-127926-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.718053 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved