From 27061e4c4e723e16797453f473cff7148beecad3 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Fri, 31 Jul 2026 04:04:37 +0200 Subject: Adds curses UI --- core/arch_inst.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 core/arch_inst.h (limited to 'core/arch_inst.h') diff --git a/core/arch_inst.h b/core/arch_inst.h new file mode 100644 index 0000000..e4c80b5 --- /dev/null +++ b/core/arch_inst.h @@ -0,0 +1,14 @@ +// file : core/null/arch_inst.h +// project : Salis-VM +// author : Paul Oliver + +#pragma once + +#if ARCH_INST_COUNT != 0x80 +#error "Value ARCH_INST_COUNT is incorrect" +#endif + +#define ARCH_INST_MASK 0x7f + +wchar_t arch_inst_symbol(uint8_t inst); +const char *arch_inst_mnemonic(uint8_t inst); -- cgit v1.2.1