chiark
/
gitweb
/
~tthurman
/
albert.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7d8f7f0
)
todo
author
Thomas Thurman
<tthurman@gnome.org>
Thu, 25 Mar 2010 23:45:50 +0000 (19:45 -0400)
committer
Thomas Thurman
<tthurman@gnome.org>
Thu, 25 Mar 2010 23:45:50 +0000 (19:45 -0400)
src/Processor.cpp
patch
|
blob
|
history
diff --git
a/src/Processor.cpp
b/src/Processor.cpp
index
43505b0
..
d3d1ef1
100644
(file)
--- a/
src/Processor.cpp
+++ b/
src/Processor.cpp
@@
-166,6
+166,8
@@
void Processor::oneShot() {
break;
case MODE_BRANCH:
+ // todo: get rid of branchDisplacement and instead
+ // return the value, plus the current PC, in "address"
branchDisplacement = m_memory->readByteFrom(m_programCounter);
if (branchDisplacement & 0x80) {
// It's negative; do the sign extension.