ah... ok, I didn't know that, When would I have to use xor? Tyler Littlefield. Check out our website: http://tysplace.the-leetest.net check out my blog: livejournal.com/~tylerrl [my programs don't have bugs, just randomly added features] [failure is not an option, it comes bundled with windows!] ----- Original Message ----- From: "Mark Long" <Mark.Long@xxxxxxxxxxxxx> To: <program-l@xxxxxxxxxxxxx> Sent: Thursday, January 05, 2006 1:40 PM Subject: [program-l] Re: assembly help? Since you overwrite the values in your setup for the next int 21 call, you can simply omit the xor statements anyway. ________________________________ From: program-l-bounce@xxxxxxxxxxxxx on behalf of tyler Sent: Thu 05/01/2006 22:42 To: program-l@xxxxxxxxxxxxx Subject: [program-l] Re: assembly help? o... I get it... Thanks. Tyler Littlefield. Check out our website: http://tysplace.the-leetest.net check out my blog: livejournal.com/~tylerrl [my programs don't have bugs, just randomly added features] [failure is not an option, it comes bundled with windows!] ----- Original Message ----- From: "Mike Gorse" <mike@xxxxxxxxxx> To: <program-l@xxxxxxxxxxxxx> Sent: Thursday, January 05, 2006 1:34 PM Subject: [program-l] Re: assembly help? > Tyler, > > Maybe you meant to add something else in, but this code: > > > xor ax,ax > > mov dx,offset command > > mov ax,SEG command > > is sort of like writing this in c: > a = 0; > d = 5; > a = 3; > > The first line doesn't serve a purpose since the result is never used. > > ** 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 ** 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 ** 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