Re: A86: More beginner questions
[Prev][Next][Index][Thread]
Re: A86: More beginner questions
In a message dated 5/11/98 10:23:26 PM Eastern Daylight Time,
BIOSERRORS@aol.com writes:
> As I said before, I'm still a beginner. How do I add the mem address that
HL
> points to with the value in the accumulator, so that HL points to a new
> address?
>
> Like this:
> HL points to $9000
> and A has the value 200
> add them so that HL now points to $90C8
>
> ??
>
ld hl,($9000)
ld a,200
add af,hl
ld hl,af
Follow-Ups: