projects
/
calu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sim: brr fix, interrupt
[calu.git]
/
3c_disasm
/
instr
/
branchreg.cpp
diff --git
a/3c_disasm/instr/branchreg.cpp
b/3c_disasm/instr/branchreg.cpp
index 2bd92358c821357573c2c55072945da3b74f0c25..1fbedbf4685272f4bc0eb071a817fd395e7436ee 100644
(file)
--- a/
3c_disasm/instr/branchreg.cpp
+++ b/
3c_disasm/instr/branchreg.cpp
@@
-71,6
+71,7
@@
void Cbranchreg::execInstr()
{
//cout << "should exec " << this->toString() << endl;
CDat pc = this->m_cpu->getRegister(this->m_rd);
+ pc *= 4; //komisch fix?
if(this->m_typ == 1) {
CDat sp = this->m_cpu->getStack();