Sedang Disiapkan

MIPS Assembler Assignment

MIPS Assembler assignment completed using software called MARS:

Link to software ([url removed, login to view])

Produce the menu below:

Assembler Program Specification

The program will be a piece of software that is a menu based number manipulation system.

The program will display a menu and wait for an option to be selected. Once an option is selected

the program will process that option which may involve requesting more input and/or producing

output. After the option has been processed the program will again display the menu. The user

should be able to exit the program by choosing the last option.

Program Details

Task One

Produce a menu such as the one below (remember to keep to this specification).

M E N U

1,Enter Number 1

2,Enter Number 2

3,Display num1 and num2

4,Display sum of num1 and num2

5,Display product of num1 and num2

6,Divide num 1 by num 2

7,Exchange numbers 1 and 2

8,Display Numbers between num 1 and num 2

9,Sum numbers between num1 and num2

10,Raise num 1 to the power of num2

11,Display prime numbers between num1 and num2

12,Quit

Choose an Option:

Task Two – Input and Output

The first two options allow the user to enter two integer numbers (num1 and num2) that should be

stored by the program. The third option should print the numbers previously entered.

Please enter menu option 3

Number 1 is 100

Number 2 is 200

Task Three – Arithmetic

Options 3,4,5 and 6 should display the results of adding, multiplying, and dividing num1 and num2.

Division should display both the quotient and the remainder.

Num 1 divided by num 2 = 5 remainder

Task Four – Exchange

Option 7 should exchange the values of num1 and num2.

Task Five – Ranges

The eighth option should display all the numbers between num1 and num2 inclusive.

Numbers between num 1 and num 2 = 10 11 12 13 14 15

The ninth option should display the sum of all the numbers between num1 and num2 inclusive

Sum of numbers between num 1 and num 2 = 75

Task Six – Power

Option 10 will raise one num1 to the power of num2 (num1num2 ) and display the result.

Task Seven - Primes

Option 11 will display only the prime numbers between num1 and num2.

All code written MUST be writtten by the freelancer themselves.

Kemahiran: PHP, Kejuruteraan Perisian

Lihat lebih lanjut: num1 power num2 mips, divide num1 num2 mips, mips display prime numbers, prime numbers mips, using prime numbers, two prime numbers, division freelancer, task five, product two prime numbers, product primes, product prime number, primes numbers, prime number one, prime num, prime integer, power freelancer, number primes, number prime numbers, no primes, two prime number, number one prime, number prime

Tentang Majikan:
( 8 ulasan ) Bolton, United Kingdom

ID Projek: #4072928

Dianugerahkan kepada:

lispnik

I wrote many MIPS programs before.

£100 GBP dalam 5 hari
(6 Ulasan)
3.7

7 pekerja bebas membida secara purata £180 untuk pekerjaan ini

bksriharsha

Hi , I am interested in taking this project. Please check my PMB for more details.

£250 GBP dalam 3 hari
(12 Ulasan)
5.6
Churaliya

I'm ready.....

£212 GBP dalam 5 hari
(16 Ulasan)
4.7
nani01029x

Let me help you

£250 GBP dalam 5 hari
(14 Ulasan)
2.8
vladang

Hello sir. I am interested for your job. I have experience with MIPS programming. Regards vladang

£150 GBP dalam 8 hari
(3 Ulasan)
2.1
MicroBrainCenter

Hi, Please check your PMB. regards

£220 GBP dalam 4 hari
(2 Ulasan)
1.9
HaoPX

I'm ready for this project

£80 GBP dalam 5 hari
(0 Ulasan)
0.0