看了一个多小时也没看出错来啊
王爽老师的教材,188页实验9。。。。。可以编译,但运行什么都没显示。:cryassume cs:codesg,ds:datasg
datasg segment
db 'welcome to masm!'
datasg ends
codesg segment
start: mov ax,datasg
mov ds,ax
mov ax,0b872h
mov es,ax
mov cx,16
mov si,0
mov bx,0
s: mov al,
mov ah,02h
mov es:,ax
mov ah,24h
mov es:,ax
mov es:,ax
mov ah,
mov es:,ax
add si,2
inc bx
loop s
mov ax,4c00h
int 21h
codesg ends
end start
参考下我写的吧
http://bbs.fishc.com/forum.php?mod=viewthread&tid=60701&page=1#pid2334338 haiouda 发表于 2015-4-30 22:18
参考下我写的吧
http://bbs.fishc.com/forum.php?mod=viewthread&tid=60701&page=1#pid2334338
谢谢了
页:
[1]