You can't manipulate all registers as you can with general purpose registers
such as ax and dx.
xor ds,ds
If you really want to do this, you need something like xor ax,ax mov ds,ax
Also, this probably isn't what you want:
xor ax,ax mov dx,offset command mov ax,SEG command
-Mike G-
** To leave the list, click on the immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link doesn't work then send a message to: ** program-l-request@xxxxxxxxxxxxx ** and in the Subject line type ** unsubscribe ** For other list commands such as vacation mode, click on the ** immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq