|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
嗯 这个程序 就没有加注释了!我觉得自己研究代码然后自己再加上注释,这样有利于大家学习!挺容易的!"hello,word!"- assume cs:code
- data segment
- db 'hello,word!',0
- data ends
- code segment
- start: mov ax,data
- mov ds,ax
- mov si,0
- mov di,0
- mov bx,0
- mov ax,0
- mov dh,7
- mov dl,3
- mov cx,0
- mov cl,02h
- shi: mov al,0a0h
- mul dh
- mov bx,ax
- mov ax,0
- mov al,2
- mul dl
- sub ax,2
- add bx,ax
- mov ax,0b800h
- mov es,ax
- mov ax,cx
- xian: mov cl,ds:[si]
- jcxz ling
- mov es:[bx+di],cl
- mov es:[bx+di+1],al
- inc si
- add di,2
- jmp short xian
- ling: mov ax,4c00h
- int 21h
-
- code ends
- end start
复制代码 |
评分
-
查看全部评分
|