Add a call stack and handle "Prog" instruction