Yes, I do. Follow the program code and so will you. ________________________________ From: program-l-bounce@xxxxxxxxxxxxx on behalf of tyler Sent: Thu 05/01/2006 22:50 To: program-l@xxxxxxxxxxxxx Subject: [program-l] Re: assembly help? OK, I got it to compile, but now we got the best error of all... The NTVDM CPU has encountered an illegal instruction. CS:064b IP:0238 OP:c7 62 e0 62 a9 Choose 'Close' to terminate the application. Any idea what this means? Thx, 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: "tyler" <compgeek13@xxxxxxxxx> To: <program-l@xxxxxxxxxxxxx> Sent: Thursday, January 05, 2006 2:47 PM Subject: [program-l] Re: assembly help? > 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 ** 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