MIPS Array Programs

Avg Bid (USD)
Project Budget (USD)
$30 - $45

Project Description:
1. What is the address of element 36 (assuming you start counting at 1) of a 45-element array that starts at memory location 40 if the elements are:

a. characters b. integers c. 7-byte structs d. 10 character strings

2. A 12 by 11, 2-dimensional array, has its first row and column numbered 0,0. The base address is 1000, and each element is a word. What is the byte address of element [8,10] assuming row-major form? What is the byte address of element [8,10] assuming column-major form?

3. Using an array to implement a stack, write a SPIM program that reads a string and prints out its value if executed in postfix notation. Make sure to report if the input is not in correct postfic form. For example: 897*6-+, should return 65, (i.e. 8+ (63-6)), but 7**78+ is not in correct postfix form and should return a message rather than a value. The stack should make it easy to check whether or not the input is correct. You may assume that all numbers are single integers between 0 and 9, and that operations are either *, ??" or +. We will review the algorithm for this in class.

4. Write a SPIM program that takes a 6 by 8 two dimensional array of integers, stored in row-major form, and copies it to a 6 by 8 array stored in column-major form. Print the array in 6 rows separated by linefeeds, with each row containing 8 integers separated by spaces. Then print each array in the order it is linearly stored.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

Windows, PCSpim

Skills required:
Assembly, Engineering, MySQL, PHP, Software Architecture, Software Testing
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

Hire makshe
$ 25.5
in 7 days
Hire bullsora
$ 34
in 7 days
Hire kidronvw
$ 25.5
in 7 days