|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
Does the Keil compiler support the Philips P89C51RC and P89C51RC2 devices?
Yes. These devices are 8051 compatible and have an 8051 instruction set. So, they are supported by the compiler.
Most chip-specific features are implemented through the addition of special function registers. C header files are included for the most commonly used processor derivatives. The header files define the SFRs for that derivative. I t is easy to create your own header files for new chips. In most, if not all, cases, using the extended features of these chips is as simple as adding a single line of code to this header file. For example, the following line of code declares the SFR for the 8051's port 1.
sfr P1 = 0x90;
Adding register definitions is almost identical in assembly language.
Currently, the debugger does not have support for all of the on-chip peripherals for these devices, but we are working on this and should have an update available soon.
Article last edited on: 2004-05-25 12:45:34
Did you find this article helpful? Yes No
How can we improve this article?