A Processor Simulator