summaryrefslogtreecommitdiff
path: root/src/compiler/code-generator.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-07 21:14:11 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-07 21:14:11 +0330
commit6bd439f35c1184f04488ee4f0db21632e1301b51 (patch)
tree369766b11ef80c33dfca262deae0051e5343aaa5 /src/compiler/code-generator.h
parentb89bec88a56b81d3524ed082db9796ef3169b060 (diff)
add plus
trying to add return
Diffstat (limited to 'src/compiler/code-generator.h')
-rw-r--r--src/compiler/code-generator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/code-generator.h b/src/compiler/code-generator.h
index e4d9cac..3c3222a 100644
--- a/src/compiler/code-generator.h
+++ b/src/compiler/code-generator.h
@@ -9,6 +9,7 @@ typedef enum CodeGeneratorInstruction : uint8_t {
CODE_GENERATOR_INSTRUCTION_CALL,
CODE_GENERATOR_INSTRUCTION_RET,
CODE_GENERATOR_INSTRUCTION_MOV,
+ CODE_GENERATOR_INSTRUCTION_ADD,
CODE_GENERATOR_INSTRUCTION_FUNCTION_BEGIN,
CODE_GENERATOR_INSTRUCTION_FUNCTION_END,
} CodeGeneratorInstruction;