More than just costing energy, there was something very weird going on.
Basically, dec and inc worked like this:
1. Read the top value on the stack. This is the memory location.
2. Place two values on the stack that correspond to memory location and *memory location +/- 1.
3. Make a call as if a store command had been used.
I have no idea where this came from. I fixed it though.