Implement Pop and Swap instructions