17 lines
442 B
C
17 lines
442 B
C
#ifndef RZ_OPCODES_H
|
|
#define RZ_OPCODES_H
|
|
|
|
#include "commons.h"
|
|
|
|
#define OPCODES(G) \
|
|
G(OP_ASSERT), \
|
|
G(OP_PUSH), G(OP_POP), \
|
|
G(OP_EQ), G(OP_NE), \
|
|
G(OP_LT), G(OP_LE), G(OP_GT), G(OP_GE), \
|
|
G(OP_ADD), G(OP_SUB), G(OP_MUL), G(OP_DIV), \
|
|
G(OP_MODULO), G(OP_POW), G(OP_USUB)
|
|
|
|
RZ_ENUM_H(Opcode, OPCODES);
|
|
|
|
#endif
|