1. A method comprising: receiving at least one source code file associated with a legacy hardware platform, the at least one source code file being part of a software migration from the legacy hardware platform to a target hardware platform; identifying one or more absolute memory addresses of the legacy hardware platform included in the at least one source code file; and for each of the one or more absolute memory addresses, including an address remapping function in an assembly language instruction block associated with the target hardware platform.