Program Specifications:
Write a simple MARIE assembly program to allow user to enter array elements, calculate thesum, print each element and sum.Here are some steps for this program:1. Allow user to enter the size of the array.2. Allow user to enter each array element depending on the size.3. Iterate each element and print (output) the element.4. Create a function (Jns) to iterate each array element and calculate the sum.5. Output the sum and program will be halted.6. You can write the code using MARIE simulator or MARIE.js (JavaScript implementationof MARIE). To use MARIE.js, visit the site
https://marie.js.org
Assignment Instructions:1. Create a program using MARIE assembly language to perform the above tasks. Name thefile first_last_assembly.mas where first is your first name, and last is your last name.2. Add comments at top of your program to document the program including your name,assignment description, and date.3. Make sure your program is easier to read by adding comments and spaces, etc.4. Submit your program source file (.mas file) and a screenshot of your output in Canvas forgrading.