Reduction of energy consumption using SPM and optimal code layout in embedded systems | IEEE Conference Publication | IEEE Xplore