| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 575 人关注过本帖
标题:总是报错 未定义,求指教。
取消只看楼主 加入收藏
小洛dai
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2012-1-2
结帖率:0
收藏
 问题点数:0 回复次数:0 
总是报错 未定义,求指教。
总是会出现未定义的错误
stack           segment
                db      256 dup(?)
stack           ends
code            segment
move_face       proc    far
                assume  cs:code,ss:stack
start:          push    ds
                sub     ax,ax
                push    ax
                mov     ah,15
                int     10h
                mov     ah,0
                mov     al,1
                int     10h
                mov     cx,1
                mov     dx,0
                sti
move_cursor:    mov     ah,2
                int     10h
                mov     al,1
                mov     ah,10
                int     10h
                call    delay
                sub     al,al
                mov     ah,10
                int     10h
                inc     dh
                inc     dl
                cmp     dh,25h
                jne     move_cursor
                ret
move_face       endp
delay           proc
                push    bx
                push    cx
                push    dx
                mov     ah,0
                int     1ah
                add     dx,9
                mov     bx,dx
redo:           int     1ah
                cmp     dx,bx
                jne     redo
                pop     dx
                pop     cx
                pop     bx
                ret
delay           endp
code            ends
                end     start
2012-01-04 17:35
快速回复:总是报错 未定义,求指教。
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.022438 second(s), 8 queries.
Copyright©2004-2025, BC-CN.NET, All Rights Reserved