A83: Re: Re: ld string


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

A83: Re: Re: ld string




I'll give you a second opinion (basically the same as Harper's... hehe):

 ld e,(hl)
 ld d,0
 ld hl,WORDS
 add hl,de

Joe Wingbermuehle
http://www.usmo.com/~joewing/

-----Original Message-----
From: Harper Maddox <jerky@ebicom.net>
To: assembly-83@lists.ticalc.org <assembly-83@lists.ticalc.org>
Date: Tuesday, August 25, 1998 10:00 PM
Subject: A83: Re: ld string


>
>i told you this on icq :P
>
>ld a,(hl)
>ld e,a
>ld d,0
>ld hl,WORDS
>add hl,de
>
>-Harper Maddox
>
>jerky@ebicom.net
>IRC nick: Geori
>ICQ: 1214597
>
>-----Original Message-----
>From: Chris Hiszpanski <mecad@scv.net>
>To: assembly digest <assembly-83-digest@lists.ticalc.org>
>Date: Tuesday, August 25, 1998 9:08 PM
>Subject: A83: ld string
>
>
>>
>>I asked Harper this question but I want a second opinion. How can I do
>>this:
>>
>>ld hl,WORDS+(hl)
>>
>>ld is the leading byte where to start loading the string. Of course, I
>>can't load the leading byte and WORDS both into hl at the same time. Any
>>help?
>>
>>From: Chris
>>mecad@scv.net
>>
>