2024-03-18 17:20:40 +00:00
|
|
|
#ifndef CCM_BYTECODE_H
|
|
|
|
#define CCM_BYTECODE_H
|
|
|
|
|
|
|
|
#include "commons.h"
|
|
|
|
|
|
|
|
#define OPCODES(G) \
|
|
|
|
G(OP_PUSH), G(OP_POP), \
|
|
|
|
G(OP_ADD), G(OP_SUB), G(OP_USUB), G(OP_MUL), \
|
|
|
|
G(OP_DIV), G(OP_POW), G(OP_MOD), G(OP_MK_TUPLE), \
|
2024-03-19 06:11:28 +00:00
|
|
|
G(OP_ASSERT_EQ), G(OP_ASSERT_NE), G(OP_BRF), G(OP_BR), \
|
2024-03-19 07:56:41 +00:00
|
|
|
G(OP_NOT), G(OP_IN), G(OP_INDEX)
|
2024-03-18 17:20:40 +00:00
|
|
|
|
|
|
|
CCM_ENUM_H(Opcode, OPCODES);
|
|
|
|
|
|
|
|
#endif
|