An machine-code emulator