Memory Organization for Low-Energy Embedded Systems