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
+3 -2
View File
@@ -24,7 +24,8 @@ public:
SUB,
MUL,
DIV,
POW
POW,
NOP // not an operator
};
union TokenValue {
@@ -358,7 +359,7 @@ public:
// if value, left and right hands should be null
explicit TreeNode(void)
: l(nullptr), r(nullptr), o()
: l(nullptr), r(nullptr), o(Token::NOP)
{
}