gnupic: Quick port of Janusz J. Mlodzianowski's MediumC to linux


Previous by date: 9 Sep 2000 12:29:01 -0000 Re: Quick port of Janusz J. Mlodzianowski's MediumC to linux, Scott Dattalo
Next by date: 9 Sep 2000 12:29:01 -0000 Re: programming PICs using PROMATE II and dosemu, Glen W. Mabey
Previous in thread: 9 Sep 2000 12:29:01 -0000 Re: Quick port of Janusz J. Mlodzianowski's MediumC to linux, Scott Dattalo
Next in thread:

Subject: Re: Quick port of Janusz J. Mlodzianowski's MediumC to linux
From: "w. v. ooijen / f. hanneman" ####@####.####
Date: 9 Sep 2000 12:29:01 -0000
Message-Id: <200009091231.OAA00674@smtp8.xs4all.nl>

> However, if one
> were to preclude recursion then I don't see why stack based variables are
> necessary.

Only when one wants to re-target gcc: because that is the way gcc sees its
target: (more or less) stack based.

> Perhaps a
> call tree could be created to help determine which variables need to be
mapped
> to which functions (and thus allowing to reuse some variables). I suppose
these
> are some of the tricks you and other compiler writers play, but I
wouldn't
> know...

That is exactly how it is done in Jal (and I assume in all other PIC
compilers). Not very difficult in itself, but hard to add to an existing
compiler that does not think that way. BTW in Jal recursion is not
possible, I don't known for other PIC compilers.

Wouter

Previous by date: 9 Sep 2000 12:29:01 -0000 Re: Quick port of Janusz J. Mlodzianowski's MediumC to linux, Scott Dattalo
Next by date: 9 Sep 2000 12:29:01 -0000 Re: programming PICs using PROMATE II and dosemu, Glen W. Mabey
Previous in thread: 9 Sep 2000 12:29:01 -0000 Re: Quick port of Janusz J. Mlodzianowski's MediumC to linux, Scott Dattalo
Next in thread:


Powered by ezmlm-browse 0.20.