A processor emulator for a new architecture