Write an assembly language program that contains functions fortaking an integer array from the user as input and printing out thearray elements. Your program should reserve memory for the inputarray. Assume a maximum of 100 integers. Your program shall containtwo separate functions. One for taking an array as input of userdefined size, and one for printing out the array contents.
• GetIntArr: This function asks the user for the number ofelements in the array, and then inputs the array of integers. Thisfunction requires the address of a reserved memory location. Thearray elements are to be stored in this location. You can useGetDec in a loop to get all the integers from the user and thensave it as an array in the reserved location
• PutIntArr: Given the array location and the number of arrayelements, this function prints out the array elements Make sureyour code works for any input, not just the test cases. Your outputshould match the formatting of the test cases. Your code will betested on other test cases not listed here. Please properly commentyour code.
Answer to Write an assembly language program that contains functions for taking an integer array from the user as input and printi…