summaryrefslogtreecommitdiff
path: root/arch/null/arch_inst.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/null/arch_inst.h')
-rw-r--r--arch/null/arch_inst.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/null/arch_inst.h b/arch/null/arch_inst.h
new file mode 100644
index 0000000..f9d85ff
--- /dev/null
+++ b/arch/null/arch_inst.h
@@ -0,0 +1,21 @@
+// file : arch/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_CAP 0x80
+
+// ----------------------------------------------------------------------------
+// [section] definitions
+// ----------------------------------------------------------------------------
+int arch_inst_cap(void);
+wchar_t arch_inst_symbol(uint8_t inst);
+const char *arch_inst_mnemonic(uint8_t inst);