diff options
| author | Paul Oliver <contact@pauloliver.dev> | 2026-07-31 04:04:37 +0200 |
|---|---|---|
| committer | Paul Oliver <contact@pauloliver.dev> | 2026-08-04 22:47:57 +0200 |
| commit | a67ce91a02887639bfb69e1cbb74e789816a4de9 (patch) | |
| tree | 6ee5f396fc855c0d6b6d3aa8fae5072893f95119 /core/arch_inst.h | |
| parent | 8a4563d6d0c9e81fdaa42f6f760cae2b49cad431 (diff) | |
Adds curses UI (WIP)
Diffstat (limited to 'core/arch_inst.h')
| -rw-r--r-- | core/arch_inst.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/core/arch_inst.h b/core/arch_inst.h new file mode 100644 index 0000000..bca92bd --- /dev/null +++ b/core/arch_inst.h @@ -0,0 +1,21 @@ +// file : core/null/arch_inst.h +// project : Salis-VM +// author : Paul Oliver <contact@pauloliver.dev> + +#pragma once + +// index: +// [section] macros +// [section] definitions + +// ---------------------------------------------------------------------------- +// [section] macros +// ---------------------------------------------------------------------------- +#define ARCH_INST_COUNT 0x80 +#define ARCH_INST_MASK 0x7f + +// ---------------------------------------------------------------------------- +// [section] definitions +// ---------------------------------------------------------------------------- +wchar_t arch_inst_symbol(uint8_t inst); +const char *arch_inst_mnemonic(uint8_t inst); |
