projects
/
calu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sim: added branchreg and stackop
[calu.git]
/
3c_disasm
/
instr
/
branch.cpp
diff --git
a/3c_disasm/instr/branch.cpp
b/3c_disasm/instr/branch.cpp
index 405acc0854acaa53e6e7581a828390c4b935b519..28ff4ebaee30acec0097030c1b3e95db4be2dfe6 100644
(file)
--- a/
3c_disasm/instr/branch.cpp
+++ b/
3c_disasm/instr/branch.cpp
@@
-88,8
+88,8
@@
void Cbranch::execInstr()
case 1:
{
CDat sp = this->m_cpu->getStack();
- this->m_cpu->setRAM(sp, pc);
sp -= 4;
+ this->m_cpu->setRAM(sp, pc);
this->m_cpu->setStack(sp);
}
case 0: