A83: Re: ld string


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

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
>