aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/programmemory.cpp
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-08-31 00:18:53 +0200
committerKarel Kočí <cynerd@email.cz>2017-08-31 00:18:53 +0200
commit82884b3ef726889f837542d2b5e98e2cd8246c00 (patch)
tree4f72237e5361256f2334b29d8b069388899c96ac /qtmips_machine/programmemory.cpp
parentc975257cef23d254b1fa9290474268a61509e954 (diff)
downloadqtmips-82884b3ef726889f837542d2b5e98e2cd8246c00.tar.gz
qtmips-82884b3ef726889f837542d2b5e98e2cd8246c00.tar.bz2
qtmips-82884b3ef726889f837542d2b5e98e2cd8246c00.zip
Handle endianness in memory correctly
Diffstat (limited to 'qtmips_machine/programmemory.cpp')
-rw-r--r--qtmips_machine/programmemory.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qtmips_machine/programmemory.cpp b/qtmips_machine/programmemory.cpp
index 6759842..1ff3bca 100644
--- a/qtmips_machine/programmemory.cpp
+++ b/qtmips_machine/programmemory.cpp
@@ -40,7 +40,6 @@ Instruction *ProgramMemory::at(std::uint32_t address) {
}
}
-// TODO implement
#define I_UNKNOWN(DATA) throw QTMIPS_EXCEPTION(UnsupportedInstruction, "Unknown instruction, can't decode", to_string_hex(DATA))
#define I_UNSUPPORTED(INST) throw QTMIPS_EXCEPTION(UnsupportedInstruction, "Decoded unsupported unstruction", #INST)