A low-voltage, high-performance CMOS 8-bit microcontroller with 4KB of flash programmable and erasable read-only memory (PEROM). The device uses Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set. This versatile 8-bit CPU with flash provides a highly-flexible and cost-effective solution for many embedded control applications.