实验9的代码!
assume cs:codesg, ds:datasgdatasg segment
db 'welcome to masm!'
datasg ends
codesg segment
start: mov ax,datasg
mov ds,ax
mov ax,0b800h
mov es,ax
mov di,0
mov bx,6e0h
mov si,40h
mov cx,16
s:
mov al,
mov ah, 2
mov es:,ax
mov al,
mov ah, 24h
mov es:,ax
mov al,
mov ah, 1
mov es:,ax
add si,2
inc di
loop s
mov ah,1
int 21h
mov ax,4c00h
int 21h
codesg ends
end start
哟西 不错 。。。 好久没在坛子里活动了! Y.H 发表于 2011-7-13 22:40 static/image/common/back.gif
哟西 不错 。。。 好久没在坛子里活动了!
见笑了,最近不是一直都在坛里活动吗!
- -
demon 发表于 2011-7-13 22:44 static/image/common/back.gif
见笑了,最近不是一直都在坛里活动吗!
- -
我说的是 我 Y.H 发表于 2011-7-14 14:42 static/image/common/back.gif
我说的是 我
- -,
你汇编学完了吧{:5_109:}
本帖最后由 Mr.han 于 2011-7-16 22:27 编辑
很不错哦,这道理难为我了好久
不过,理清思路以后,还是很简单的
页:
[1]