Re: A83: Resize a program...
[Prev][Next][Index][Thread]
Re: A83: Resize a program...
Its the same as _insertmem, obviously
Sebastiaan Roodenburg wrote:
>
> Well... it seems to work!!! THANK YOU PATRICK!!!!
>
> btw. what's the syntax of _deletemem???
>
> grtx,
>
> sebastiaan
>
> > ----------
> > Van: Patrick Milheron[SMTP:pmilheron@ti.com]
> > Antwoord naar: assembly-83@lists.ticalc.org
> > Verzonden: dinsdag 3 augustus 1999 16:51
> > Aan: Sebastiaan Roodenburg
> > Onderwerp: Re: A83: Resize a program...
> >
> >
> >
> > See my comments.
> >
> > inc de
> > inc de
> > add hl,de ; hl = ptr to byte after existing program
> > ex de,hl
> > ld hl,20
> > inc de ; de = 2nd byte after existing prog
> > ; the insert location will now insert
> > ; between the 1st and 2nd byte of whatever
> > ; var data is after the program that you
> > ; wanted to insert 20 bytes into
> > call _insertmem
> >
> >
> >
> >
> >
> > Sebastiaan Roodenburg wrote:
> > >
> > > > Try removing the 'inc de' before the call to
> > > > 'InsertMem'. You are inserting 1 byte into whatever
> > > > data follows your program. If this doesn't work
> > > > I'll look at it on my simulator.
> > >
> > > Why should i remove the inc de??? its there to tell the insertmem
> > to
> > > insert 20 bytes ( 'ld hl,20' ) at the end of the file...
> > >
> > >
> > ----------------------------------------------------------------------
> > ---------
> > >
> > > Part 1.2 Type: application/ms-tnef
> > > Encoding: base64
> >
>
> ------------------------------------------------------------------------
>
> Part 1.2 Type: application/ms-tnef
> Encoding: base64
--
Scott "_Wrath_" Dial
wrath@calc.org
ICQ#3608935
TimeCity Co-Lead Developer, AI - www.timecity.org
Member of TCPA - tcpa.calc.org
References: