summaryrefslogtreecommitdiff
path: root/core/arch_inst.h
blob: bca92bdb2f6ce6313842fc0e18b044fa3503d822 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);