Added POP, finished implementing saving of all instructions