自己看书.然后写了一个程序...但是有问题.要死机..请大家帮我看看.感激不尽....
data segmentdw 0000h,0000h
data ends
code segment
assume cs:code,ds:data
start: mov ax,data
mov ds,ax
mov bx,ds:[0]
inc bx
mov ds:[0],bx
cmp bx,3
ja l1
mov dl,'o'
int 21h
jmp word ptr [bx+1]
l1: mov dl,'k'
int 21h
mov ah,4ch
int 21h
code ends
end start