On 2010-7-17 18:49, Maarten Brock wrote:
Lenik,
Now I want to move these AJMP functions in a separate segment which
starts a 0x800 page.
Then place that segment at that address. See the chapter
about bankswitching in the manual, esp. -Wl-b.
Maarten
Thanks, I have already tried with -Wl-b, which still errors:
?ASlink-Warning-No definition of area PAGE1
According to what you said before:
#pragma codeseg cannot be saved and restored. It is
global for the whole source file. So is #pragma
constseg.
I removed the #pragma save/restore from the specific source file, now the
result is correct.
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