[A83] Re: _pointhlind


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

[A83] Re: _pointhlind





-----Original Message-----
From: Tijl Coosemans <tijlc@hotmail.com>
To: assembly-83@lists.ticalc.org <assembly-83@lists.ticalc.org>
Date: dinsdag 26 juni 2001 13:40
Subject: [A83] Re: _pointhlind


>
>> > > > Are there on the 83+ equivalents for _pointHLind
>> > > > and _A2pointHLind on the 83? It seems not but
>> > > > just wanted to make sure.
>> > > >
>> > > > Tijl Coosemans
>
>> > > What do they do?
>> > > I can't find "pointh"
>> > >
>> > > Ronald
>
>> > _A2pointHLind:
>> >    add   a,a
>> > _pointHLind:
>> >    ld    d,0
>> >    ld    e,a
>> >    add   hl,de
>> >    jp    _loadHLind
>> >
>> > As you see it adds A or twice A to HL and
>> > then loads L (and A) with (HL) and H with
>> > (HL+1). It's easy to use with a pointer
>> > table. You just load HL with the start of the
>> > table and A with which pointer you want. Call
>> > the routine and voilą, you got the pointer.
>> > But it seems these routines don't exist on
>> > the +.
>
>>Why don't just add them at the end of your program?
>
>Sure, but that would be stupid if they existed. And that's why I asked.

Ah. I get it :-)
I didn't find them in my ti83plus.inc, so probably not.

>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
>




Follow-Ups: