aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/core.cpp
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-03-06 22:08:53 +0100
committerKarel Kočí <cynerd@email.cz>2018-03-06 22:08:53 +0100
commite6c3d5bdc7a4763bd6816d52b0d1b42a7e4b08f1 (patch)
tree643443e929f6e9e66b444cb1b4f6634fefdbec46 /qtmips_machine/core.cpp
parente869534670e1e1cb3b68c1e60205c36dff2dcb16 (diff)
downloadqtmips-e6c3d5bdc7a4763bd6816d52b0d1b42a7e4b08f1.tar.gz
qtmips-e6c3d5bdc7a4763bd6816d52b0d1b42a7e4b08f1.tar.bz2
qtmips-e6c3d5bdc7a4763bd6816d52b0d1b42a7e4b08f1.zip
WIP: simplify memory viewsimple-memory-view
This removes problematic buffer zone of memory view. Instead we will use no buffer zone and load needed elements as soon as possible.
Diffstat (limited to 'qtmips_machine/core.cpp')
-rw-r--r--qtmips_machine/core.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_machine/core.cpp b/qtmips_machine/core.cpp
index 273842d..039f287 100644
--- a/qtmips_machine/core.cpp
+++ b/qtmips_machine/core.cpp
@@ -177,6 +177,7 @@ void Core::handle_pc(const struct dtDecode &dt) {
bool link = false;
// TODO implement link
+ // TODO move this decode to decode stage
switch (dt.inst.opcode()) {
case 0: // JR (JALR)
if (dt.inst.funct() == ALU_OP_JR || dt.inst.funct() == ALU_OP_JALR) {