about summary refs log tree commit diff
path: root/src/include/instructionhandler.hpp
blob: c61d3e265e27fd384b37a410f7c5cad2c5ab85b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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];
};