Re: Porting questions

Samuel Tardieu <[email protected]> 16 Jun 2004 18:08:01 +0200
Newsgroups gmane.comp.lang.forth.picforth
Organization Avian Carrier & Friends
Message-ID <[email protected]>
>>>>> "JC" == J C Wren <[email protected]> writes:

JC> So I will again restate the question a little more clearly: Is
JC> porting PicForth to an 18x part a massive undertaking requiring 6
JC> months of people with only the deepest understanding of PicForth
JC> internals, or can a reasonably competent programmer with 20 years
JC> experience, little experience with gforth and some experience with
JC> PICs hope to port from a 16F88 to a PIC18F8620 in less than 6
JC> months with only questions to the principle architects?

I'd say that you could adapt PicForth for the PIC18Fxxx in a
reasonable amount of time if you keep the same internal
logic. However, if you want to take the full benefits of the PIC18Fxxx
instruction set, you will have to rewrite parts of the code generator
as there are new conditional and jump instructions that may lead to
smaller and faster code.

  Sam
-- 
Samuel Tardieu -- [email protected] -- http://www.rfc1149.net/sam