hi.....
Could someone help me out with the assembly code below cause when I execute
the code under vitural DOS command prompt (command .exe) in Windows 2000 Pro
the screen gone blank and display nothing..................
Assembly Code:
title draw2 test
sseg segment para stack 'stack'
db 256 dup(?)
sseg ends
dseg segment
dseg ends
cseg segment
main proc far
assume ss:sseg, ds:dseg, cs:cseg
mov ax, dseg
mov ds, ax
mov ax, 0600h
mov bh, 07h
mov cx, 0000
mov dx, 184fh
int 10h
mov ah, 00h
mov al, 06h
int 10h
mov cx, 100
mov dx, 50
again: mov ah, 0ch
mov al, 01h
int 10h
inc cx
cmp cx, 200
jne again
mov ah, 4ch
int 21h
main endp
cseg ends
end main
Thanks
|