diff options
Diffstat (limited to 'src/instruction/decrement.c')
| -rw-r--r-- | src/instruction/decrement.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/instruction/decrement.c b/src/instruction/decrement.c new file mode 100644 index 0000000..f7f54dd --- /dev/null +++ b/src/instruction/decrement.c @@ -0,0 +1,8 @@ +#include "3cl.h" +#include "instruction.h" + +struct CCLFrame *ccl_instruction_decrement(struct CCL *ccl, struct CCLFrame *frame) +{ + --ccl->stack.stack[ccl->stack.cur]; + return frame; +} |