gnupic: SDCC #pragma memory declarations


Previous by date: 5 Jul 2002 12:17:24 -0000 SDCC #pragma memory declarations, Scott Dattalo
Next by date: 5 Jul 2002 12:17:24 -0000 Re: SDCC #pragma memory declarations, Kevin L. Pauba
Previous in thread: 5 Jul 2002 12:17:24 -0000 SDCC #pragma memory declarations, Scott Dattalo
Next in thread: 5 Jul 2002 12:17:24 -0000 Re: SDCC #pragma memory declarations, Kevin L. Pauba

Subject: Re: SDCC #pragma memory declarations
From: "Ricardo Amezquita Orozco" ####@####.####
Date: 5 Jul 2002 12:17:24 -0000
Message-Id: <LMBPBELKGHCDDAAA@mailcity.com>

 
--Scott

This means this is usefull yet??

What is the pragma syntax??

Ricardo

On Thu, 4 Jul 2002 23:55:47   
 Scott Dattalo wrote:
>
> -- now work, thanks to Kevin L. Pauba. I've applied a patch Kevin has 
>created that will:
>
>  o  extract the PIC device-specific memory map from a Microchip
>     .INC file (all of which are distributed with gpasm, btw) and 
>     create a C .h file that can be included in an SDCC compiled
>     C program. The memory map is defined as a series of compiler
>     pragmas.
>
>  o  process the #pragmas so that SDCC understands the memory map
>     
>This is slick! It means that SDCC instantly now supports all mid-range PIC
>devices (I haven't tested this out, of course). If a new (mid-range PIC)
>device comes along, then you can create your own device-specific include
>file without having to modify SDCC's source.
>
>
>In addition to Kevin's patch, I fixed some bugs with the over-zealous 
>register optimizer. It turns out that some registers like PCLATH really 
>are important :).
>
>Scott
>
>ps. Linas, your a2d.c program has been a quite useful real-life example
>application. I've mentioned it to Kevin, but in case you're interested, 
>all of the manual bank manipulation stuff can probably be removed now (if 
>not, then I'll fix it).
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ####@####.####
>For additional commands, e-mail: ####@####.####
>
>


_____________________________________________________
Supercharge your e-mail with a 25MB Inbox, POP3 Access, No Ads
and NoTaglines --> LYCOS MAIL PLUS.
http://www.mail.lycos.com/brandPage.shtml?pageId=plus 

Previous by date: 5 Jul 2002 12:17:24 -0000 SDCC #pragma memory declarations, Scott Dattalo
Next by date: 5 Jul 2002 12:17:24 -0000 Re: SDCC #pragma memory declarations, Kevin L. Pauba
Previous in thread: 5 Jul 2002 12:17:24 -0000 SDCC #pragma memory declarations, Scott Dattalo
Next in thread: 5 Jul 2002 12:17:24 -0000 Re: SDCC #pragma memory declarations, Kevin L. Pauba


Powered by ezmlm-browse 0.20.