Hi I do have a header file with lines similar to this. __sbit __at (0x8F) TCON_7; #define TF1 TCON_7 However the the problem arises when I use inline assembler. Then I get the following error: ?ASlink-Warning-Undefined Global 'TCON_7' referenced by module 'write_01'
If I change the assembler code to using _TCON_7 instead of TF1 everything works charmingly. Since I am going to send my header file to the project, should I not change lines similar to __sbit __at (0x8F) TCON_7; #define TF1 TCON_7 to __sbit __at (0x8F) TF1 ? Regards Gudjon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user