Keil™, An ARM® Company

Technical Support

C51: WARNING 196 (MSPACE PROBABLY INVALID)


Information in this article applies to:

  • C51 Version 5.50

QUESTION

When trying to compile a C source file, I get the following diagnostic:

WARNING 196: MSPACE PROBABLY INVALID

ANSWER

This warning is caused by the assignment of an invalid constant value to a pointer. Valid pointer constants are long or unsigned long. The compiler uses 24 bits (3 bytes) for pointer objects. The low-order 16 bits represent the offset. The high-order 8 bits represent the memoryspace selector.

MORE INFORMATION

Last Reviewed: Friday, July 15, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure