|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
debug
简单画条斜线
mov ah,0
mov al,12
int 10
mov di,100
mov si,100
mov cx,c8
mov dx,c8
mov al,2
mov ah,0c
int 10
inc dx
inc cx
dec si
jnz 114
mov ah,0
int 16
mov ax,0003
int 21
mov ah,4c
int 21
------------------
简单画个矩形
mov ah,0
mov al,12
int 10
mov di,50
mov si,50
mov cx,c8
mov dx,c8
mov al,2
mov ah,0c
int 10
inc dx
dec si
jnz 114
mov ah,0c
int 10
inc cx
dec di
jnz 11c
mov ah,0c
int 10
dec dx
cmp dx,c8
jnl 124
mov ah,0c
int 10
dec cx
cmp cx,c8
jnz 12f
mov ah,0
int 16
mov ax,0003
int 21
mov ah,4c
int 21
代码来自:http://tieba.baidu.com/p/330367862 |
|