Added support for passing in load and exec addresses

Change-Id: I3489a4609092daf9d6f6ddccf11d6fe1a32f8465