implemented stack and stack modify instructions