Mail Archives: djgpp/1997/09/25/20:16:42
Charles Sandmann <sandmann AT clio DOT rice DOT edu> 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)
- Raw text -