gnupic: relocation of 16 bit addresses
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: ####@####.####
>
>