add P and R for pause and resume into instructions