Simple MIPS program

Closed

Only 24 hours!!! Due to a coder not finishing this project I am in Big Trouble! It is due at midnight on October 22.

Write a MIPS assembly language program using SPIM which converts numbers between bases.

Inputs:

1 -- Old base

2 -- Number to be converted.

3 -- New base.

NOTE: Bases are entered in decimal.

Outputs:

Number in new base.

Error messages for illegal values or bases.

Specificions:

Use uppercase letters to represent digits above 9.

Ex. A = 10

B = 11

....

Z = 35

For the old and new base accept any value from 2 through 36.

Assume that only positive numbers will be entered.

Assume numbers are limited to 32 bits.

Design the program so that multiple conversions can be done with a single run.

atUse procedures to help organize your program.

I have some pseudo code that will make this program alot easier for you:

dec = 0

while (more char)

dec = dec * old base

digit = Ch - 48

dec = dec + digit

if (ch > 57 )

then subtract 55 // because you want A = 10

while (dec > 0 )

digit = dec % newbase // % = mod

dec = dec / newbase

// I think you need here if (digit > 9), then add 55 but I am not sure

*p = digit + 48

increment p

The only problem with this is it puts the new number in the array backwards so you have to turn it around.

Well documented listing of your source program.

## 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) Complete ownership and distribution copyrights to all work purchased.

## Platform

Must compile on PCSPIM

Skills: Engineering, MySQL, PHP, Software Architecture, Software Testing

See more: coder program, backwards design, software dec, simple c# program, simple c program, simple assembly language, pseudo code, php program language, old letters, mips ASSEMBLY, assembly language, mips assembly program, mips array, pseudo code code, simple array program, engineering program source code, numbers array program, value engineering, mips simple assembly language, complete simple project program, simple array project, design software program, write mips code software, program language, simple software program

About the Employer:
( 17 reviews ) United States

Project ID: #2878129

3 freelancers are bidding on average $35 for this job

DenKar

See private message.

$42.5 USD in 14 days
(90 Reviews)
6.4
rozarus

See private message.

$38.25 USD in 14 days
(53 Reviews)
3.3
JavaProSolutions

See private message.

$24.65 USD in 14 days
(2 Reviews)
0.4