X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=3b_sim%2Fccpu.cpp;fp=3b_sim%2Fccpu.cpp;h=d314b5ef8b2c19961e2670492401f8aaf82f141f;hb=b819c6be9396aac52fc9cf787286580ef19b01e4;hp=06461d603fd498b733eb6d015df83ca447701754;hpb=0b3367ce6428a2e3e553fae6a7098b6f9d2ab93f;p=calu.git diff --git a/3b_sim/ccpu.cpp b/3b_sim/ccpu.cpp index 06461d6..d314b5e 100644 --- a/3b_sim/ccpu.cpp +++ b/3b_sim/ccpu.cpp @@ -68,7 +68,7 @@ void CCpu::tick() } if(this->conditionMet(instr->getCondition())) { - cout << color(green,black) << "Executing: " << color(white,black) << colorifyInstr(instr->toString()) << endl; + cout << color(green,black) << "Executing: " << color(white,black) << colorifyInstr(instr->toString()) << " (0x" << std::hex << m_pc << std::dec << ")" << endl; instr->execInstr(); this->incPerfBy(instr->getClockCount()); }