Microprocessor simulator