// end get type of instruction() function // ------------------------------------ // function implementation that creates an r-type instruction // based on the integer given (see instructions.h) // // arguments: an unsigned 32-bit integer // // return: a pointer to an r instruction (see instructions.h). // this consists of the following structure members // you will have to set: rs, rt, rd, shamt, func //