Perhaps this is a stupid question, perhaps not...but does Keil have or considered writing a C++ compiler for the 8051? I have had numerous cases where a peripheral (be it internal or external), the associated API functions I create for it, and xdata/data it requires would fit neatly into a C++ class. This would also simplify software design when integrating/reusing the same peripherals in new designs as well as designs where you have more than one of the same peripheral class...such as in a card rack. Comments?
to correct my last reply: there are some other EC++ compilers available on the market: eg. GNU C/C++ ,Version: 3.2 HighTec EDV-Systeme GmbH http://www.spacetools.com/tools3/space/90.htm Supported Controller: C161O-L16M, C165-LM, C165-L25M, C165-LF, C165-L25F, SAB80C166-M, SAB80C166-M25, SAB83C166-5M, SAB83C166-5M25, C167CR-LM, C167CR-L25M, C167CR-4RM, C167CR-16RM I fount >2500 hits at google.de serching "EC++" ...Leo