|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
I have problems using signed bit fields. Are signed bit fields not supported by Keil C51?
Per ANSI standard, the behavior on bit fields is implementation specific. In Keil C51, bit fields are always unsigned. There is no way to define signed bit fields.
Bit fields are inefficient on an 8051. With an 8051, you should use bdata addressable objects.
Article last edited on: 2005-08-30 14:56:33
Did you find this article helpful? Yes No
How can we improve this article?