Low-power, high-performance, CMOS 8-bit microcontroller with 12KB of ISP flash program memory and 2KB of EEPROM data memory. The device is manufactured using Microchip high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51?? instruction set and pinout. On-chip downloadable flash allows the program memory to be reprogrammed in-system through an SPI serial interface or by a conventional nonvolatile memory programmer. This versatile 8-bit CPU with downloadable flash provides a highly-flexible and cost-effective solution for many embedded control applications.