[A83] Re: ChkFindSym and DispHL


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

[A83] Re: ChkFindSym and DispHL




That's what I did in about the same circumstance, and it crashed because of the disphl, try to push hl and de before the bcall, and pop them after it, just to be sure...
> 
> I don't think that is the problem....here's what I did
> 
> 
> <code to find variable>
> ex hl,de
> B_CALL DispHL
> 
> Also, when I check the two different memory locations, I see the same data!!
> Why does it look like there are two copies of the variable in the calc?
> Could garbage collecting have something to do with it?
> 
> 
> 
> 
> 
> ----- Original Message -----
> From: "Peter-Martijn Kuipers" <hyper@hysoft-automation.com>
> To: <assembly-83@lists.ticalc.org>
> Sent: Friday, November 02, 2001 1:09 PM
> Subject: [A83] Re: ChkFindSym and DispHL
> 
> 
> >
> > _disphl screws up de too, that might be your problem...
> > >
> > > I came across something interesting while trying to write a program. I
> > > searched for a variable then used DispHL to display DE, the pointer to
> the
> > > variable's data. When I went into CalcSys, however, the Data location is
> > > listed in a completely different location. Any idea why? I do use error
> > > checking if it is not found by ChkFindSym.
> > >
> > >
> > >
> >
> >
> >
> >
> 
> 
> 





References: