diff options
Diffstat (limited to 'src/include/instructionhandler.hpp')
-rw-r--r-- | src/include/instructionhandler.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/instructionhandler.hpp b/src/include/instructionhandler.hpp new file mode 100644 index 0000000..c61d3e2 --- /dev/null +++ b/src/include/instructionhandler.hpp @@ -0,0 +1,14 @@ +#pragma once + +#include <tuple> +#include "instructions.hpp" + +class InstructionHanlder +{ +public: + static InstructionType getInstruction(Instruction* instr); + static std::string getInstructionString(Instruction* instr); +private: + static std::tuple<std::string, std::string, InstructionType> getTpl(Instruction* instr); + static std::tuple<std::string, std::string, InstructionType> array[6]; +}; |