From 2b49bb448e0ad9b51faadb534c14638864c966b1 Mon Sep 17 00:00:00 2001 From: bylex Date: Wed, 26 Mar 2025 08:29:49 +0100 Subject: [PATCH] Add missing c file --- common.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 common.c diff --git a/common.c b/common.c new file mode 100644 index 0000000..c44bf23 --- /dev/null +++ b/common.c @@ -0,0 +1,5 @@ +#include "common.h" + +char opcodes_strings[N_INSTRUCTIONS][4] = {"nop", "inc", "dec", "lod", "ldl", "sav", "swp", "jmp", "jez", "hlt", "pts", "pfs", "dpx", "lor", "fdr"}; + +uint8_t opcode_kind[N_INSTRUCTIONS] = {0, 2, 2, 1, 1, 1, 1, 4, 1, 0, 5, 5, 3, 2, 0}; -- 2.25.1