deepjit/sim: keep to element in r6 / print current pc at exec
[calu.git] / 3b_sim / ccpu.cpp
index 06461d603fd498b733eb6d015df83ca447701754..d314b5ef8b2c19961e2670492401f8aaf82f141f 100644 (file)
@@ -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());
        }