A class of code compression schemes for reducing power consumption in embedded microprocessor systems