Energy simulation of embedded XScale systems with XEEMU