Make useful macro's and functions found in the PowerPC simulator