lab5: add assembler and dynamic pipeline system emulator
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user