From 9fe8ccf4ae09018fdde01a9d83f9db10ad354221 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 29 Jun 2024 20:11:34 +0300 Subject: work through branching instructions --- src/common.h | 43 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index 37332aa..1f21c74 100644 --- a/src/common.h +++ b/src/common.h @@ -71,15 +71,52 @@ enum ejit_opcode { ANDI, EQR, - LTR, - - BLTR, + NER, + GTR, + GTR_U, + GER, + GER_U, + + EQR_F, + NER_F, + GTR_F, + GER_F, + + BNER, BNEI, + BNER_F, + BEQR, BEQI, + BEQR_F, + + BGER, + BGER_U, + BGEI, + BGEI_U, + BGER_F, + + BLEI, + BLEI_U, + + BGTR, + BGTR_U, BGTI, + BGTI_U, + BGTR_F, + + BLTI, + BLTI_U, + + BLTGTR_F, + JMP, + BMCI, + BMCR, + BMSI, + BMSR, + PARAM, PARAM_F, -- cgit v1.2.3