On 2010-7-17 18:01, Maarten Brock wrote:
> Hi,
>
> #pragma codeseg cannot be saved and restored. It is
> global for the whole source file. So is #pragma
> constseg.
>
> SDCC does not try to replace LCALL with ACALL as it does
> not know where the code will end up after linking. There
> is a command line option to do this but it will replace
> *all* jumps and calls.
>    
Yes, it's not SDCC generated AJMP, but I'm using AJMP explicitly in some 
special size-aware functions.

Now I want to move these AJMP functions in a separate segment which 
starts a 0x800 page.

I've posted another message in this list.


Thanks,
Lenik


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to