标题:总是报错 未定义,求指教。
取消只看楼主
小洛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



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-359141-1-1.html




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

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