Implement stack instructions