El mié, 14-10-2009 a las 14:13 +0200, Michel Bouissou escribió:
[...]
> sdcc -mpic14 -p16f886 -V --debug -I/mydirectory/ -c myprog.c
> 
> myprog.asm:11063: message : Crossing page boundary -- ensure page bits are 
> set.
> myprog.asm:11077: message : Crossing page boundary -- ensure page bits are 
> set.
> myprog.asm:11091: message : Crossing page boundary -- ensure page bits are 
> set.
> myprog.asm:11107: message : Crossing page boundary -- ensure page bits are 
> set.
> 

I think that you'll need 2 C-files for your code. From the SDCC Manual,
section 4.5:

"For devices that have multiple code pages it is more efficient to use
the same number of files as pages: Use
up to 4 separate .c files for the 16F877, but only 2 files for the
16F874. This way the linker can put the code
for each file into different code pages and there will be less page
selection overhead."

Check the PIC manual to get the quantity of code pages.

Greetings.

-- 
Pablo Carmona A.
Ingeniero Civil Electrónico
Linux User #213192 - Ubuntu User #23616


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to