/** * Execute the instruction (operational semantics) * * @param c Instructions to execute after this one * @param state Current state (updated in-place) * @param stack Current evaluation stack (updated in-place) * @return Remaining instructions to execute */ public Code reduce(Code c, Stack stack, State state) { state.store(x, stack.popInt()); return c; }