Files
The-Hack-Assembler/include/code.hpp
2020-08-08 11:55:34 +05:30

20 lines
292 B
C++

#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