|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
When trying to compile a C source file, I get the following diagnostic:
WARNING 196: MSPACE PROBABLY INVALID
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.
Article last edited on: 2005-07-15 12:38:13
Did you find this article helpful? Yes No
How can we improve this article?