First cut at handling multiple emulation modes for some MIPS targets.