summaryrefslogtreecommitdiff
path: root/core/arch_inst.h
blob: e4c80b531b16b04c1a7e65277b64c8d340f7eac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);