HTT_音乐 发表于 2014-6-18 09:35:32

检测点9.2

assume cs:code

code segment
start:        mov ax, 2000H
                mov ds, ax
                mov bx, 0
        s:        mov ch, 0
                mov cl,
                jcxz ok
                inc bx
                jmp short s
        ok:        mov dx, bx
               
                mov ax, 4c00H
                int 21H
code ends

end start
这题偷懒了,本来不知道怎么判断 cx 等于 0 来着(直接就百度了一下)
页: [1]
查看完整版本: 检测点9.2