[PicForth] Re: question - recycling GPR variables

Jamie Lawson jlawson at ces.uoguelph.ca
Sat Nov 20 02:42:11 CET 2004



On Fri, 19 Nov 2004, Samuel Tardieu wrote:

> If I do a compiler for the PIC18f, I think I'll do a full blown
> register allocator, as the multiple FSR can be of some use
> there.
>
>   Sam
> --

Oooo...a PIC18 version; that would be nice.

I dearly miss the use of the single indirection register in the PIC16x
chips. The alternative I use is to disable interrupts, resort to
assembler, save the current FSR and not use any Forth words.
Particularly when using the higher banks (2 and 3) to manipulate
chunks of data.

Regards,
Jamie Lawson


More information about the PicForth mailing list