Implemented RTI instruction