| |||||
Technical Support Support Resources
Product Information | A166: ERROR A44 (NO CURRENTLY ACTIVE SECTION)Information in this article applies to:
QUESTIONI have a project that uses the Generate and Assemble SRC file feature. When it assembles the SRC file generated from my .C source, it generates the following error: error A44: No currently Active Section I'm using the REG164.H in my .C source file and when I double click in the error message it goes to the following line of code in the SRC file: BCMP BIT CC6MCON.15 What is wrong with the SRC file generation? ANSWERThis error is being generated because there's a invalid sbit declaration in the REG164.H file. The following declaration is wrong: sbit BCMP = CC6MCON^15; BCMP is the mnemonic for the bit compare instruction and it can't be used in an sbit definition. To correct this problem, you must change the bit name to something that's not a reserved word, for example: sbit _BCMP = CC6MCON^15; // BCMP is not allowed since it is also a mnemonic REG164.INC has the correct declaration for ASM file: _BCMP BIT CC6MCON.15 // BCMP is not allowed since it is also a mnemonic RESOLUTIONChange the BCMP sbit declaration in REG164.H, REG164CI.H, and REG164CM.H from: sbit BCMP = CC6MCON^15; to: sbit _BCMP = CC6MCON^15; // BCMP is not allowed since it is also a mnemonic STATUSThese include files will be corrected in the next C166 release. MORE INFORMATION
Last Reviewed: Monday, September 26, 2005 | ||||
| |||||