diff options
author | Karel Kočí <cynerd@email.cz> | 2018-01-03 12:41:16 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-01-03 12:41:16 +0100 |
commit | 76876d39ba4a9c842786304b8ccf0249fab2999c (patch) | |
tree | 05d580a18b6b74840613e2f2e6ae10f6ef074193 /qtmips_machine/alu.cpp | |
parent | e9a4f6a805c25334e2014869f262ee946f698bbf (diff) | |
download | qtmips-76876d39ba4a9c842786304b8ccf0249fab2999c.tar.gz qtmips-76876d39ba4a9c842786304b8ccf0249fab2999c.tar.bz2 qtmips-76876d39ba4a9c842786304b8ccf0249fab2999c.zip |
Initial implementation of reverse instruction conversion
This is rude implementation. We always print all fields. In future we
should add flags to set what fields should be hidden on per instruction
bases.
Diffstat (limited to 'qtmips_machine/alu.cpp')
-rw-r--r-- | qtmips_machine/alu.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/qtmips_machine/alu.cpp b/qtmips_machine/alu.cpp index f8b919b..2d5783d 100644 --- a/qtmips_machine/alu.cpp +++ b/qtmips_machine/alu.cpp @@ -68,8 +68,3 @@ std::uint32_t machine::alu_operate(enum AluOp operation, std::uint32_t s, std::u throw QTMIPS_EXCEPTION(UnsupportedAluOperation, "Unknown ALU operation", QString::number(operation, 16)); } } - -QString machine::alu_str(enum AluOp operation, std::uint32_t s, std::uint32_t t, std::uint8_t sa) { - // TODO - return QString(""); -} |