piclist 2001\06\30\025515a >
Thread: Compiler
www.piclist.com/techref/microchip/devices.htm?key=pic
flavicon
face BY : Chris Carr email (remove spam text)



> Jeethu Rao wrote:
> >Hey,
> >I believe a PIC can have a stack. This is especially true for 16f877.
> >On a 16f877, the RAM on bank 3 is used rarely and the 80 bytes of ram in
> >bank 4 is used very very rarely. So, if we could write a piece of code
which
> >could.....
>
Dan Michaels wrote
>
> You can certainly simulate a stack in s.w., but I think you
> might lose too much performance by trying to execute a language
> like Forth, which is so heavily stack-dependent, on a stock PIC.
> My guess is you would end up with something that would give a
> Basic Stamp a good run for its money.
>
> OTOH, maybe some of the newer PICs with better stack access
> and multiple FSRs would make a more suitable platform for Forth.
>
Hmm, I must revisit the Datasheets. Hardware Stack and 16 bits
are the main requirements if I remember correctly.

> [BTW, I am probably one of few piclisters who still uses Forth
> regularly - any others ???].
>
Own a set of reference books (all out of print), 4 Jupiter Aces, and still
wear the Kaftan. 8-)

2 projects under way at the moment using Forth

Chris Carr

> >Mike Hardwick wrote:
> >
> >>Well, if I had my 'druthers, I'druther have a first-class PIC Forth
> >>compiler. Compiled Forth seems more suited to small embedded systems
than
{Quote hidden}

--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestspamspam_OUTmitvma.mit.edu


<003e01c10131$1c0e2980$f9797ad5@dougal> 7bit

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Compiler

month overview.

new search...