From: "M. Schulter" Newsgroups: comp.os.msdos.djgpp Subject: Re: hello.s, anyone? Date: 25 Sep 1997 22:59:11 GMT Organization: Value Net Internetwork Services Inc. Lines: 35 Message-ID: <60eqbv$5qp$1@vnetnews.value.net> References: <607m3p$805$3 AT vnetnews DOT value DOT net> <34285530 DOT sandmann AT clio DOT rice DOT edu> NNTP-Posting-Host: value.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Charles Sandmann wrote: : 2: : movb $0x4c,%ah : int $0x21 Hi, there. This is a _really_ trivial point, and I wonder if I'm correct. When I run this masterful program, I get an exit of 12 octal (gdb) or 10 decimal (fsdb), and I'm wondering if the next to last line might be modified to movw $0x4c00, %ax This sets %al to 0, sort of like return(0); in C, I guess. When I make this one change, then gdb reports a normal exit, and fsdb an exit code of 0. If this is wrong or unwise, then it's another step in the education of a beginner. If this might be helpful, then maybe we have an example of how the highest and the lowest can work together on this newsgroup to come up with solutions. Most respectfully, Margo Schulter mschulter AT value DOT net (Please remove any extra . in my default address -- the above is correct)