Semiconductor company Micrel Inc., which said in January it would explore alternatives, has signed a deal to be sold to Microchip Technology Inc. in a cash-and-stock deal with an equity value of about $839 million.

The $14-a-share deal has an enterprise value of about $744 million, after excluding Micrel’s cash and investments on its balance sheet.

The...