论坛: 编程破解 标题: 召唤汇编强人!・#¥% 复制本贴地址    
作者: sand133108 [sand133108]    论坛用户   登录
在这谢过了~!急需一个用汇编语言编写的图形,随便多简单的图形都行!~拜托发到我邮箱里:idoloveyou_paopao@yeah.net
很急啊~!先谢谢了!~・#¥%……―*


地主 发表时间: 11/25 20:34

回复: xdy [xdy]   论坛用户   登录
首先我强调我是菜鸟,本来我不想来的。但是看到没人来我就来顶一下。
还有我想给你提个建议希望你最好先看286的置顶帖在发帖
:)下次应该可以吧!
data segment
car db 7
db 52h,70h,0,0
db 0b1h,70h,0,1
db 0dbh,7,0,1
db 0dbh,7,0,1
db 4fh,7,0,3
db 2,7,2,1
data ends
code segment
assume cs:code,ds:data
main proc far
push ds
sub ax,ax
push ax
mov ax,data
mov ds,ax
call clear
lea di,car
mov dh,10
mov dl,10
call display
ret
main endp
clear proc near
push ax
push bx
push cx
push dx
mov ah,6
mov al,0
mov ch,0
mov cl,0
mov dh,24
mov dl,79
mov bh,7
int 10h
pop dx
pop cx
pop bx
pop ax
ret
clear endp
display proc near
push ax
push bx
push cx
push dx
push di
mov ah,0fh
int 10h
sub ch,ch
mov cl,[di]
inc di
next_char:
add dh,[di+2]
add dl,[di+3]
mov ah,2
int 10h
mov al,[di]
mov bl,[di+1]
push cx
mov cx,1
mov ah,09
int 10h
pop cx
add di,4
loop next_char
pop di
pop dx
pop cx
pop bx
pop ax
ret
display endp
code ends
end main






[此贴被 项怀诚(xdy) 在 11月26日20时53分 编辑过]

B1层 发表时间: 11/26 19:59

回复: sand133108 [sand133108]   论坛用户   登录
OK,。还是要谢谢你。

B2层 发表时间: 11/28 13:59

论坛: 编程破解

20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon

粤ICP备05087286号