Re: A86: Add hl,a


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

Re: A86: Add hl,a




ComAsYuAre@aol.com wrote:
> 
> In a message dated 10/29/98 16:27:21 Eastern Standard Time, zoneti@home.com
> writes:
> 
> > How could I add a to hl? Is it a call? I actually need to use it to add
> >  hl by $10 or 122. It's for a super small putsprite.
> >
> >  -InFuZeD
> 
> you can use add hl,de
> 
>         push de                 ;if you want to save de
>         ld de,$10               ;or ld de,122
>         add hl,de
>         pop de

Yeah, I know. I thought there might be a faster / smaller way.


References: