Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #ifndef SYMBOLS_H
- #define SYMBOLS_H
- #include <string>
- static const std::string INSTRUCTIONS[] = {"ADD", "NOT", "AND", "OR", "MOV", "LOD", "STO", "PIO", "B", "BEQ",
- "SLL", "SLR", "MPY", "DIV", "CHHP", "CLHP", "CALL", "RET", "DAB", "CMS",
- "ADDEQ", "NOTEQ", "ANDEQ", "OREQ", "MOVEQ", "PIOEQ", "SLLEQ", "SLREQ", "MPYEQ", "DIVEQ", "STOEQ", "LODEQ",
- "CHHPEQ", "CLHPEQ", "RETEQ",
- "ADDCY", "NOTCY", "ANDCY", "ORCY", "MOVCY", "PIOCY", "SLLCY", "SLRCY", "MPYCY", "DIVCY", "STOCY", "LODCY",
- "CHHPCY", "CLHPCY", "RETCY"};
- static const std::string KEYWORDS[] = {"CONSTANT"};
- static const int INSTRUCTIONS_SIZE = sizeof(INSTRUCTIONS);
- static const int KEYWORDS_SIZE = sizeof(KEYWORDS);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement