diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-11-08 16:38:30 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-11-08 16:38:30 +0100 |
commit | db0654fa48ddc07e6bcaaaeddfa301a32806dadc (patch) | |
tree | ea611c24a41ea8d9dc1e2116b64b9760f26708e0 /asm/encode.h | |
parent | dd2a994fbbe946fa751b689e92c85696469e5e5c (diff) |
Prepare encoding and linking
Diffstat (limited to 'asm/encode.h')
-rw-r--r-- | asm/encode.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 |