C programming question

  

Learning Goal: I’m working on a c programming question and need an explanation and answer to help me learn. Write a program in C and in MIPS assembly language program that: Initializes an integer array with 3 rows and 5 columns: 1 2 3 4 56 7 8 9 1011 12 13 14 15inputs a row and column number from the usermain calls a child function that calculates the memory address of the chosen row & column like this:int arrayAddress( int row, int col, int ncolumns, array); //returns address of array[row][col]use shift instead of multiply where appropriateprint the address and the value of the chosen array elementThe homework .asm file prompt is in the shared google folder here (Links to an external site.)You must submit THREE files:1) Your .asm MIPS assembly file2) Your .c source file3) A brief report document file in .pdf .doc or .docx including:a description of the program2 screen shots showing each one workingthe .c and .asm source code MUST be pasted into the end of the documentRequirements: 3 pages

Don’t use plagiarized sources. Get Your Custom Essay on
C programming question
Just from $13/Page