From 2fc4f728643f78577c26e548619bc7db90a7c6ae Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 28 Jun 2024 18:32:56 +0300 Subject: implement enough for fibonacci --- src/common.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/common.h') 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, -- cgit v1.2.3