gnupic: Help needed


Previous by date: 13 Sep 2004 17:56:44 +0100 Re: Help needed, Greg Hill
Next by date: 13 Sep 2004 17:56:44 +0100 Re: Help needed, Craig Franklin
Previous in thread: 13 Sep 2004 17:56:44 +0100 Re: Help needed, Greg Hill
Next in thread: 13 Sep 2004 17:56:44 +0100 Re: Help needed, Craig Franklin

Subject: Re: Help needed
From: Scott Dattalo ####@####.####
Date: 13 Sep 2004 17:56:44 +0100
Message-Id: <Pine.LNX.4.60.0409130952550.25147@ruckus.brouhaha.com>

On Mon, 13 Sep 2004, Julian Green wrote:

> Im doing a project with the PIC16F871, and I am using a number of lookup
> tables that uses computed goto.  Is there a way of getting the linker to
> chose an address for the table that does not cross page boundaries?

Rather than answer your question, I'll suggest an alternative. If you need 
to implement a CRC algorithm, you may wish to check out:

http://www.dattalo.com/technical/software/pic/crc.php

And in particularly:

http://www.dattalo.com/technical/software/pic/crc_1021.asm

There's an inline assembly routine there that implements the polynomial 
you have in your look up table. This routine only takes 18 instructions.

Scott

Previous by date: 13 Sep 2004 17:56:44 +0100 Re: Help needed, Greg Hill
Next by date: 13 Sep 2004 17:56:44 +0100 Re: Help needed, Craig Franklin
Previous in thread: 13 Sep 2004 17:56:44 +0100 Re: Help needed, Greg Hill
Next in thread: 13 Sep 2004 17:56:44 +0100 Re: Help needed, Craig Franklin


Powered by ezmlm-browse 0.20.