Using MIPS assembly code,

Q4 (40 points) A left rotation operation on an array shifts each of the array's elements unit to the left. For example, if two left rotations are performed on array [1,2,3,4,5], then the array would become [3,4,5,1,2]. Given an array of n integers and a number, d, perform d left rotations on the array. - Write a function to read two integers n,d. - Read the following n integers into an array. - Perform the rotation operation on the array. - Then print the updated array as a single line of space-separated integers. Value of n:5 value of d:3 Enter value of array one by one: 1 2 3 4 5 Final array: 454123 -- program is finished running -.