about summary refs log tree commit diff
path: root/include/instructions.h
blob: adada870189a7d589e163a9f905d1fc1039e4289 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __CCL_INSTRUCTIONS_H__
#define __CCL_INSTRUCTIONS_H__

#include "3cl.h"


#define INST(NAME) \
    struct CCLFrame *ccl_instruction_##NAME(struct CCL *ccl, struct CCLFrame *frame)

INST(nop);
INST(pushzero);
INST(increment);
INST(decrement);
INST(add);
INST(subtract);
INST(reverse);

#undef INST
#define INST(NAME) ccl_instruction_##NAME

#endif /* __CCL_INSTRUCTIONS_H__ */