headers added

This commit is contained in:
avinal
2020-08-08 11:55:34 +05:30
parent 93994df022
commit 8d7a6832f4
3 changed files with 67 additions and 0 deletions

20
include/code.hpp Normal file
View File

@@ -0,0 +1,20 @@
#pragma once
#ifdef CODE_HPP
#define CODE_HPP
#include <array>
class code
{
private:
const std::string mnemonic;
public:
code(std::string mno) : mnemonic(mno) {}
~code();
std::array<char, 3> dest();
std::array<char, 7> comp();
std::array<char, 3> jump();
};
#endif