Chris Carr email (remove spam text)
> Jeethu Rao wrote:
> >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
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
> >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
http://www.piclist.com hint: To leave the PICList
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the