Power optimization of an 8051-compliant IP microcontroller