Re: A86: ASM Clear-Up


[Prev][Next][Index][Thread]

Re: A86: ASM Clear-Up




In a message dated 1/22/99 5:53:15 PM Pacific Standard Time,
cflan@granitecity.com writes:

> What does the ',0' mean after the string text? I see it often but don't 
> actually know the point. 

The ,0 is a null character. It tells the _puts command to stop reading text at
that point. If it wasn't there, you'd get your string and a bunch of garbage,
and it would keep reading until it found a byte of zeroes somewhere in the
memory. The string is stored in binary as ASCII data, then ends with a byte of
zeroes. _puts (or any other display call) stops when it reaches that point.