15 lines
284 B
C
15 lines
284 B
C
|
#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), \
|
||
|
G(OP_ASSERT_EQ), G(OP_ASSERT_NE)
|
||
|
|
||
|
CCM_ENUM_H(Opcode, OPCODES);
|
||
|
|
||
|
#endif
|