汇编问题:在DOS中显示绿色的字符串'Welcome to masm',为什么我的输不出来?

assumecs:codesgcodesgsegmentstart:movax,0b800hmovds,axmovbx,0movbyteptr[bx],27hmovbyt... assume cs:codesg
codesg segment
start:mov ax,0b800h
mov ds,ax
mov bx,0

mov byte ptr [bx],27h
mov byte ptr[bx+2],57h
mov byte ptr[bx+4],65h
mov byte ptr[bx+6],6ch
mov byte ptr[bx+6],63h
mov byte ptr[bx+8],6fh
mov byte ptr[bx+10],6dh
mov byte ptr[bx+12],65h
mov byte ptr[bx+14],20h
mov byte ptr[bx+16],74h
mov byte ptr[bx+18],6fh
mov byte ptr[bx+20],20h
mov byte ptr[bx+22],6dh
mov byte ptr[bx+24],61h
mov byte ptr[bx+26],73h
mov byte ptr[bx+28],6dh
mov byte ptr[bx+30],27h
mov bx,0
mov si,1
mov cx,16
s0:mov byte ptr[bx+si],00000010b
add si,2
loop s0

mov ax,4c00h
int 21h
codesg ends
end start
我是在XP的DOS下编译的,输不出来?
展开
 我来答
侃侃石读文乎心8
2013-05-26
知道答主
回答量:12
采纳率:0%
帮助的人:9.5万
展开全部
是不是大小写错误?
冷枯竹
2013-05-24 · TA获得超过380个赞
知道答主
回答量:296
采纳率:0%
帮助的人:98.3万
展开全部
你这样写不觉得麻烦吗??
追问
我是在XP的DOS下编译的,输不出来?
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式