gnupic: relocation of 16 bit addresses


Previous by date: 20 Sep 2004 05:49:45 +0100 Re: relocation of 16 bit addresses, Craig Franklin
Next by date: 20 Sep 2004 05:49:45 +0100 gputils linker/assembler integration in higher level language, nisma.gmx.net
Previous in thread: 20 Sep 2004 05:49:45 +0100 Re: relocation of 16 bit addresses, Craig Franklin
Next in thread:

Subject: Re: relocation of 16 bit addresses
From: "George M. Gallant" ####@####.####
Date: 20 Sep 2004 05:49:45 +0100
Message-Id: <414E6173.4020002@comcast.net>

Craig,

After further digging, the problem with #define is in an include file 
that include the p18f252 again.
No problem with just equates, but apparently #define get treated 
differently. I encased the
file with typical C include protection:

     #ifndef __P18F252__
     #define __P18F252__  1
                       .
                       .               original inc file
                       .
     #endif

and things work better.

Regards,
    George


Craig Franklin wrote:

> George M. Gallant wrote:
>
>> I updated gputils via snapshot of sep17th and encountered errors in 
>> assembling
>> for the pic18f252. The header file includes "#define  DDRA  TRISA" for
>> compatibly purposes which the assembler "gpasm-0.12.3 beta" errors.
>>
> Can't duplicate this problem.  Is it in your modifications?
>
> Need more information.  Please include the specific errors.  An 
> example would also be good.
>
>> I have also modified gputils to support local symbols and provide 
>> 16-bit relocation.
>> What is the procedure to get the mods into the source tree?
>>
> Send me the patch.  I review it.  Then we will talk.
>
>> Regards,
>>    George
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ####@####.####
>> For additional commands, e-mail: ####@####.####
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>



Previous by date: 20 Sep 2004 05:49:45 +0100 Re: relocation of 16 bit addresses, Craig Franklin
Next by date: 20 Sep 2004 05:49:45 +0100 gputils linker/assembler integration in higher level language, nisma.gmx.net
Previous in thread: 20 Sep 2004 05:49:45 +0100 Re: relocation of 16 bit addresses, Craig Franklin
Next in thread:


Powered by ezmlm-browse 0.20.