diff options
Diffstat (limited to 'include/instructions.h')
| -rw-r--r-- | include/instructions.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/instructions.h b/include/instructions.h new file mode 100644 index 0000000..adada87 --- /dev/null +++ b/include/instructions.h @@ -0,0 +1,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__ */ |