Re: A83: inc (HL) on the TI83
[Prev][Next][Index][Thread]
Re: A83: inc (HL) on the TI83
How can you be certain that it's not working properly? are you displaying
address or using a debugger?
From: Chris
e-mail: apparatus@mediaone.net
----- Original Message -----
From: <ComAsYuAre@aol.com>
To: <assembly-83@lists.ticalc.org>
Sent: Tuesday, August 08, 2000 5:56 AM
Subject: Re: A83: inc (HL) on the TI83
>
> My guess is that you are using hl for something else and the second bit of
code is trashing it. Test it with a push hl \ pop hl around the two lines
of code and see if that fixes it.
>
>
> In a message dated Tue, 8 Aug 2000 8:17:14 AM Eastern Daylight Time,
"Frank Schoep" <dsfs98@concepts.nl> writes:
>
> > Can anybody help me with this problem: (I think the solution is easy)
> >
> > I have written this piece of code:
> >
> > ld a,(address)
> > inc a
> > ld (address),a
> >
> > I tried replacing it with:
> >
> > ld hl,address
> > inc (hl)
> >
> > But it does not seem to work properly. What am I doing wrong?
> >
> > Yours sincerely,
> > Frank Schoep
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> Can
anybody help me with this problem: (I think the solution is easy) I
have written this piece of code: ld a,(address) inc a ld (address),a
I tried replacing it with: ld hl,address inc (hl) But it does not
seem to work properly. What am I doing wrong? Yours sincerely, Frank
Schoep
>
>
>
References: