A86: Re: displaying a variable


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

A86: Re: displaying a variable




You need a display a/hl routine... otherwise, _puts would read that as a
character, namely the bold "B" for binary for one, and a square thing for
zero...
David Phillips modified one by Mardell or scabby to cut off leading zeros,
that can be found in the routines part of the Assembly Coder's Zenith page,
http://www.acz.org .
_________
JBrett
tbarwick@esn.net - http://brett.acz.org
ICQ UIN: 20607010
AIM: BarwickBJ
ACZ member - http://www.acz.org
-----Original Message-----
From: BlAsTo1414@aol.com <BlAsTo1414@aol.com>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Saturday, January 23, 1999 6:01 PM
Subject: A86: displaying a variable


>
>hi,
>I have a variable stored like this:
>
>variable1:
> .db 1,0
>
>does this mean that when i display the variable, ((ld hl,variable1)(call
>_puts)) it will display the number 1?  if not, how would I do that?
>
>Thank you for your help,
>   BlAsTo1414
>
>