Alan Carvalho de Assis wrote:
> pro_man.asm:1185: error: Symbol not previously defined (INTCON).
> pro_man.asm:1185: error: Symbol not previously defined (INTCON).
> pro_man.asm:1188: error: Symbol not previously defined (BSR).
> pro_man.asm:1190: error: Symbol not previously defined (FSR2H).
> pro_man.asm:1193: error: Symbol not previously defined (TBLPTRU).
> pro_man.asm:1194: error: Symbol not previously defined (TBLPTRH).
> ...
>
> Reading the manual I think I found why it is not happening:
>
> "The compiler does not do any validation of the code within the _asm
> ... _endasm; keyword pair. Specifically it will not know which
> registers are used and thus register pushing/popping has to be done
> manually."
>
> Maybe the compiler don't define the registers because they are used
> just into asm ... endadm pair.
>
You can define externs for each symbol, for example:
extern INTCON;
extern BSR;
extern FSR2H;
extern TBLPTRU;
extern TBLPTRH;
this should eliminate your problems.
By the way, I've managed to compile a previous version of FreeRTOS. I
also have send it to the
FreeRTOS development team, but unfortunately it has been turned down.
regards,
Vangelis Rokas
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user