Re: A86: pppppppplllllllllllllllllllllease answer the simple question
[Prev][Next][Index][Thread]
Re: A86: pppppppplllllllllllllllllllllease answer the simple question! :)
If you mean just to move a string around in mem, then it's pretty simple. If you
already know the length, then you can just do:
ld de,Table
ld hl,String
ld bc,Length
ldir
but if it varies, then you should probably put a length byte. However, unless
all your strings are the same length, (and even if they are) you should probably
just load the pointers to the string in the table.
Grams Family wrote:
> At 02:17 AM 4/14/98 -0500, you wrote:
> >
> >can someone please answer this question. i know more ppl are wanting to know
> >about it... ive got mostly everything down with asm except for how to load
> >values into a table past two items, can someone please send me source of a
> >full program that shows how to load a string into a table? i know it sounds
> >really stupid but ive tried doing it in so many different ways
> >
> I'm not sure what you mean by load a string into a table? But normally when
> you do a table of strings, it's really a table of pointers to the strings,
> since the strings themselves can have varying lengths.
>
> --Joshua
--
Stephen Hicks
mailto:shicks@mindspring.com
ICQ:5453914
IRC:Kupopo
Follow-Ups:
References: