projects
/
calu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disasm/sim: changed interface, added readline to sim
[calu.git]
/
3c_disasm
/
instr
/
addi.cpp
diff --git
a/3c_disasm/instr/addi.cpp
b/3c_disasm/instr/addi.cpp
index bb10a08af3f47476786339779967533f7eb5df41..2bcab659797840cbf4ce6373a1f0bec2254fc0b5 100644
(file)
--- a/
3c_disasm/instr/addi.cpp
+++ b/
3c_disasm/instr/addi.cpp
@@
-62,7
+62,7
@@
void Caddi::evalInstr()
void Caddi::execInstr()
{
void Caddi::execInstr()
{
- cout << "should exec " << this->toString() << endl;
+
//
cout << "should exec " << this->toString() << endl;
CDat reg = this->m_cpu->getRegister(m_ra) + this->m_imm;
this->m_cpu->setRegister(m_rd, reg);
this->m_cpu->updateFlags(reg);
CDat reg = this->m_cpu->getRegister(m_ra) + this->m_imm;
this->m_cpu->setRegister(m_rd, reg);
this->m_cpu->updateFlags(reg);