diff options
| author | Paul Oliver <contact@pauloliver.dev> | 2026-07-31 04:04:37 +0200 |
|---|---|---|
| committer | Paul Oliver <contact@pauloliver.dev> | 2026-08-05 04:31:51 +0200 |
| commit | 27061e4c4e723e16797453f473cff7148beecad3 (patch) | |
| tree | 94b11e2b270939bda4ddc4a53b6a3f345dc92d06 /core/arch_inst.h | |
| parent | 8a4563d6d0c9e81fdaa42f6f760cae2b49cad431 (diff) | |
Diffstat (limited to 'core/arch_inst.h')
| -rw-r--r-- | core/arch_inst.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 <contact@pauloliver.dev> + +#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); |
