HW C program

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 5
    • 6 7 8 9 10
    • 11 12 13 14 15
  • inputs a row and column number from the user
  • main 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 appropriate
  • print the address and the value of the chosen array element
  • The 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 file

2) Your .c source file

3) A brief report document file in .pdf .doc or .docx including:

  • a description of the program
  • 2 screen shots showing each one working
  • the .c and .asm source code MUST be pasted into the end of the documentn
Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.