From db0654fa48ddc07e6bcaaaeddfa301a32806dadc Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 8 Nov 2020 16:38:30 +0100 Subject: Prepare encoding and linking --- asm/encode.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 asm/encode.h (limited to 'asm/encode.h') diff --git a/asm/encode.h b/asm/encode.h new file mode 100644 index 0000000..d9e5674 --- /dev/null +++ b/asm/encode.h @@ -0,0 +1,14 @@ +// Convert: Abstract FlowGraph to Machine dependent Code + +#pragma once + +#include "flowgraph/graph.h" +#include "segment.h" + +namespace Asm { + +// in: graph +// out: segment +void toMachineCode(const FlowGraph::Graph& graph, Segment& segment); + +} // namespace Asm -- cgit v1.2.3