[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pgubook-readers] Extra bytes after ./toupper
From: |
Tim Hilton |
Subject: |
Re: [Pgubook-readers] Extra bytes after ./toupper |
Date: |
Wed, 18 Feb 2004 21:38:49 -0500 |
Sorry, forget this message. There was an error in my code. I was always
passing $BUFFER_SIZE, instead of the return value in %eax, to the
conversion function. So it always used the whole 500-byte buffer instead
of the number of bytes read from the input file.
Interesting result however.
On Wed, 2004-02-18 at 21:06, Tim Hilton wrote:
> After writing and compiling the toupper.s program I get 32 extra bytes
> tacked on to the end of the output file. The bytes are part of the 15th
> line from the last line, 17th through the 49th characters. Is this
> normal? If so, should an explanation be in the book that this program is
> not "perfect", and why it's not, or am I missing it?
>
> It's odd that it's exactly 8 words of data. I know this makes sense
> somehow but can't get my brain around it.
>
>
>
> _______________________________________________
> Pgubook-readers mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/pgubook-readers
>