Searching \ for 'PIC C Compiler, REENTRANT?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=c
Search entire site for: 'PIC C Compiler, REENTRANT?'.

Truncated match.
PICList Thread
'PIC C Compiler, REENTRANT?'
1999\03\11@070611 by Victor Prieto

flavicon
face
I'm looking for a PIC C Compiler full ANSI Compatible (included re-entrant capab
ilities).
I now HI-TECH but is not reentrant. Also, I now CCS compiler but I don't now abo
ut re-entrant capabilities.
Any recommendations?

Regards!
Victor (spam_OUTvprietoTakeThisOuTspamlgcirsa.com)

1999\03\11@080847 by Clyde Smith-Stubbs

flavicon
face
On Thu, Mar 11, 1999 at 12:55:22PM +0100, Victor Prieto wrote:
> I'm looking for a PIC C Compiler full ANSI Compatible (included re-entrant cap
abilities).

There's no such animal. The PIC has a stack that is totally inaccessible,
which makes it useless for argument passing. While it would be possible
to emulate a stack in RAM the cost in code size of doing that would be
horrendous. Bottom line is, if you want reentrancy, you should use some
other micro.

--
Clyde Smith-Stubbs               |            HI-TECH Software
Email: .....clydeKILLspamspam@spam@htsoft.com          |          Phone            Fax
WWW:   http://www.htsoft.com/    | USA: (408) 490 2885  (408) 490 2885
PGP:   finger clydespamKILLspamhtsoft.com   | AUS: +61 7 3355 8333 +61 7 3355 8334
---------------------------------------------------------------------------
HI-TECH C: compiling the real world.

1999\03\11@081507 by Darrel Johansen

picon face
Victor Prieto wrote:
>
> I'm looking for a PIC C Compiler full ANSI Compatible (included re-entrant cap
abilities).
> I now HI-TECH but is not reentrant. Also, I now CCS compiler but I don't now a
bout re-entrant capabilities.
> Any recommendations?

I believe the only re-entrant compiler is MPLAB-C17, since it can use a
software stack.  Now,
just before I'm flamed here, note that MPLAB-C17 has no relationship to MPLAB-C
or to any
other third party compiler.  It's just for the 17Cxxx family of PICmicros.
MPLAB-C18 will
also be re-entrant, supporting the 18Cxxx parts.

--
___________________________
|     Darrel Johansen     |
|     tempe,  arizona     |
|   .....darreljKILLspamspam.....primenet.com  |
|_________________________|

1999\03\11@122036 by w. v. ooijen / f. hanneman

picon face
Re-entrancy and PICs implies that
- you yourself must make sure that you don't overflow the hardware return
stack
- a software stack must be simulated at run time (size & timing penalty)
If your application really needs reentrancy then the PIC is probably not a
good target....

Wouter.

----------
> From: Victor Prieto <EraseMEvprietospam_OUTspamTakeThisOuTLGCIRSA.COM>
> To: PICLISTspamspam_OUTMITVMA.MIT.EDU
> Subject: PIC C Compiler, REENTRANT?
> Date: Thursday, March 11, 1999 12:55
>
> I'm looking for a PIC C Compiler full ANSI Compatible (included
re-entrant capabilities).
> I now HI-TECH but is not reentrant. Also, I now CCS compiler but I don't
now about re-entrant capabilities.
> Any recommendations?
>
> Regards!
> Victor (@spam@vprietoKILLspamspamlgcirsa.com)

1999\03\12@124211 by Roland Andrag

flavicon
face
Hello Victor!

I suspect you will not find a re-entrant compiler for the pic, mainly as a
result of its limited stack etc.  This means that even variables local to a
procedure are implemented as static variables in all compilers I've heard
of.  If you re-enter a procedure the same memory location is used, meaning
that the previous value is overwritten. This means a procedure can't call
itself or call a procedure that calls itself etc. Out of interest, what are
you trying to do - why do you require re-entrancy?

Cheers
Roland
>I'm looking for a PIC C Compiler full ANSI Compatible (included re-entrant
capabilities).
>I now HI-TECH but is not reentrant. Also, I now CCS compiler but I don't
now about re-entrant capabilities.
>Any recommendations?
>
>Regards!
>Victor (KILLspamvprietoKILLspamspamlgcirsa.com)
>

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...