-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPch.h
74 lines (63 loc) · 1.13 KB
/
Pch.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#pragma once
#include <iostream>
#include <queue>
#include <vector>
#include <map>
#include <tuple>
#include <string>
#include <algorithm>
#include<tuple>
#include <unordered_map>
#include <iostream>
#include <sstream>
#include <iomanip>
#include <conio.h>
using std::oct;
using std::istringstream;
using std::reverse;
using std::stoul;
using std::setw;
using std::setfill;
using std::hex;
using std::make_tuple;
using std::stringstream;
using std::tuple;
using std::string;
using std::cin;
using std::vector;
using std::queue;
using std::exception;
using std::unordered_map;
using std::map;
using std::tuple;
using std::cout;
using std::replace;
using std::cerr;
using std::endl;
using std::stoi;
using std::get;
#define OPCODES 100
#define OPERATORS 200
#define END_OF_LINE ';'
#define TOKEN 0
#define OPCODE 1
#define OPERATOR 2
#define EAX "EAX"
#define EBX "EBX"
#define ECX "ECX"
#define EDX "EDX"
#define AX "AX"
#define BX "BX"
#define CX "CX"
#define DX "DX"
#define AL "AL"
#define BL "BL"
#define CL "CL"
#define DL "DL"
#define AH "AH"
#define BH "BH"
#define CH "CH"
#define DH "DH"
#define ESP "ESP"
#define EBP "EBP"
#define EIP "EIP"