A processor emulator for a new processor design