Hi,

I'm running on low on code memory  on my PIC18F4450 (still waiting for
the 4550 to arrive) and 
looking at the code I figured there are a lot of bank selections
instructions that look superfluos 
so I decided to have a go with --obanksel but I got:


/usr/local/bin/sdcc -c "-Wl,-m,-s 18f4450.lkr" -mpic16 -p18f4450
--disable-warning 85 --std-sdcc99 --obanksel=3 stepper.c -o
../obj/stepper.o
_steppers + 110)(9) == _steppers + 52)(9)
Assertion failed: (0 && "Could not assign a symbol to a bank!"),
function pic16_OptimizeBanksel, file pcode.c, line 9200.
Caught signal 6: SIGABRT


Any words of wisdom on that?

Any other sort of 'global' solutions that I could use to use less code
memory?

I've tried to use unsigned char as my main variable type and generally
tried to be sensible.

br Kusti


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to