throw string("Out of Instructions!");
}
if(this->conditionMet(instr->getCondition())) {
- cout << "Executing: " << instr->toString() << endl;
+ cout << color(green,black) << "Executing: " << color(white,black) << instr->toString() << endl;
instr->execInstr();
this->incPerfBy(instr->getClockCount());
}
else {
- cout << "Didn't Execute " << instr->toString() << "; condition wasn't met" << endl;
+ cout << color(red,black) << "Didn't Execute " << color(white,black) << instr->toString() << "; condition wasn't met" << endl;
this->incPerf();
}