| |||||
Technical Support Support Resources
Product Information | C166: ERROR 155 (INVALID BASE ADDRESS)QUESTIONWhen I include the REG164.H header file in my C programs and compile, I get the following error message from the compiler: *** ERROR 155 IN LINE 14 OF C:\C166\INC\REG164.H: 'ADDAT2': invalid base address What's the problem? ANSWERThe Siemens C165, C164, C163, and C161 are all derivatives of the C167. For this reason, you must use the MOD167 switch when you compile programs for these chips. You may do this from the command line by including the MOD167 directive. You may set this option in µVision by selecting the C166 Compiler Options from the Options menu. Then, under the Object tab, select Enable 80C167 Instructions. FORUM THREADSThe following Discussion Forum threads may provide information related to this topic. Last Reviewed: Sunday, May 16, 2004 | ||||
| |||||