Re: A86: a question


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

Re: A86: a question




What I want to do is use _vputs like this:
ld hl,string
call _vputs

string:
    .db "the first string"
string2:
    .db "the second string"

Can I make it where after _vputs is called, it points to string2?
Thanks,
--------------
Jbrett
tbarwick@esn.net
http://ww2.esn.net/~tbarwick
I just added a TI-86 page, Check it out!!!
-----Original Message-----
From: ComAsYuAre@aol.com <ComAsYuAre@aol.com>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Saturday, September 26, 1998 12:15 PM
Subject: Re: A86: a question


>
>In a message dated 9/25/98 10:12:21 PM Eastern Daylight Time,
tbarwick@esn.net
>writes:
>
>> Could you do this with zero-terminated strings?  Could you display one
>>  string and then have hl point to the next string in sequence?  If so,
how?
>>  Thanks,
>
>
>use _puts
>
>for example:
>
>
> call _homeup
> ld hl,message
> call _puts
> call _newline
> call _puts
> ret
>
>message:
> .db "message1",0
> .db "message2",0
>


Follow-Ups: