lab5: add assembler and dynamic pipeline system emulator

This commit is contained in:
2026-11-07 20:44:35 +02:00
parent 79a96aea77
commit 36b4596bd4
12 changed files with 401 additions and 7 deletions
+16
View File
@@ -0,0 +1,16 @@
#pragma once
#include <vector>
#include "expression.hpp"
#include "dyn-pipeline.hpp"
namespace Assembler {
void assemble(
const Expression::TreeNode& root,
std::vector<DynamicPipeline::Command>& program,
std::array<double, DYN_PIPELINE_MEM_SIZE>& memory,
int& mem_used);
}