summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-09 10:40:16 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-09 10:40:16 +0100
commit414953eba1b1cc3570da1e59dc2392ce1b1ae5ef (patch)
tree3b4ab9ebefd57e847b99195887d5b221be2423ae
parent6ab3715ee2622e293f7c4924511f31347b327e6e (diff)
Move encode.h|cpp to intel specific
-rw-r--r--Makefile2
-rw-r--r--asm/intel64/encode.cpp (renamed from asm/encode.cpp)0
-rw-r--r--asm/intel64/encode.h (renamed from asm/encode.h)2
-rw-r--r--cpp.cpp2
4 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index de84081..db3c1bb 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,6 @@ endif
PROGSRC=\
asm/assembler.cpp \
asm/chunk.cpp \
- asm/encode.cpp \
asm/intel64/add.cpp \
asm/intel64/inc.cpp \
asm/intel64/int.cpp \
@@ -57,6 +56,7 @@ PROGSRC=\
asm/intel64/ret.cpp \
asm/intel64/xor.cpp \
asm/intel64/codes.cpp \
+ asm/intel64/encode.cpp \
asm/operators.cpp \
asm/segment.cpp \
bnf.cpp \
diff --git a/asm/encode.cpp b/asm/intel64/encode.cpp
index 8bf33c0..8bf33c0 100644
--- a/asm/encode.cpp
+++ b/asm/intel64/encode.cpp
diff --git a/asm/encode.h b/asm/intel64/encode.h
index d9e5674..7fd23d6 100644
--- a/asm/encode.h
+++ b/asm/intel64/encode.h
@@ -2,8 +2,8 @@
#pragma once
+#include "asm/segment.h"
#include "flowgraph/graph.h"
-#include "segment.h"
namespace Asm {
diff --git a/cpp.cpp b/cpp.cpp
index c8de4c8..e4d935a 100644
--- a/cpp.cpp
+++ b/cpp.cpp
@@ -1,6 +1,6 @@
#include "cpp.h"
-#include "asm/encode.h"
+#include "asm/intel64/encode.h"
#include "asm/operators.h"
#include "bnf.h"
#include "cppbnf.h"