added and,or operators

This commit is contained in:
Francesco Cozzuto
2022-03-07 19:50:18 +01:00
parent 3c2c68dfe5
commit de7479c7db
7 changed files with 80 additions and 4 deletions
+2
View File
@@ -55,6 +55,8 @@ static const InstrInfo instr_table[] = {
[OPCODE_GRT] = {"GRT", 0, NULL},
[OPCODE_LEQ] = {"LEQ", 0, NULL},
[OPCODE_GEQ] = {"GEQ", 0, NULL},
[OPCODE_AND] = {"AND", 0, NULL},
[OPCODE_OR] = {"AND", 0, NULL},
[OPCODE_ASS] = {"ASS", 1, (OperandType[]) {OPTP_STRING}},
[OPCODE_POP] = {"POP", 1, (OperandType[]) {OPTP_INT}},