aboutsummaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-06-28 18:32:56 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-06-28 18:38:43 +0300
commit2fc4f728643f78577c26e548619bc7db90a7c6ae (patch)
tree760d2ae310737b0ff39e37aa896d182f7df58c51 /src/common.h
parentd65c2461d26bf485b88276984bbc33054d5bce20 (diff)
downloadejit-2fc4f728643f78577c26e548619bc7db90a7c6ae.tar.gz
ejit-2fc4f728643f78577c26e548619bc7db90a7c6ae.zip
implement enough for fibonacci
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 8f42985..1f52f76 100644
--- a/src/common.h
+++ b/src/common.h
@@ -55,8 +55,12 @@ enum ejit_opcode {
ADDR,
ADDR_F,
+ ADDI,
+
SUBR,
SUBR_F,
+ SUBI,
+
MULR,
DIVR,
NEGR,
@@ -67,6 +71,7 @@ enum ejit_opcode {
BLTR,
BNEI,
BEQI,
+ BGTI,
JMP,
PARAM,