![]() |
#2
andytony12342009-12-23 10:23
|
data segment
dw 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