SlideShare a Scribd company logo
Write a MIPS program using MARS platform that takes numbers from input by user : for
example, user inputs 1 then program determines it is a positive integer. Next, you run the
program and enter - 2 and program determines it is a negative number. then enter 5 and again
report negative number. So, your program accepts integer inputs and reports the number is
positive or negative. NOTE: you must show your source code(assembly code) copied into a
WORD file as well as output of MARS that reports positive or negative number. You can take a
snapshot of the MARS output and paste it into the WORD file along with the source code.

More Related Content

More from Jonathan5GxRossk

Write brief and clear notes on the following subsets of DCs under the (1).docx
Write brief and clear notes on the following subsets of DCs under the (1).docxWrite brief and clear notes on the following subsets of DCs under the (1).docx
Write brief and clear notes on the following subsets of DCs under the (1).docx
Jonathan5GxRossk
 
You are looking under a microscope at a cell from an organism that has.docx
You are looking under a microscope at a cell from an organism that has.docxYou are looking under a microscope at a cell from an organism that has.docx
You are looking under a microscope at a cell from an organism that has.docx
Jonathan5GxRossk
 
Write an interactive C++ program that reads in 2 whole numbers- The pr.docx
Write an interactive C++ program that reads in 2 whole numbers- The pr.docxWrite an interactive C++ program that reads in 2 whole numbers- The pr.docx
Write an interactive C++ program that reads in 2 whole numbers- The pr.docx
Jonathan5GxRossk
 
Years Financed 4-00- 4-25- 4-50- 4-75- 5-00- 5-25- 5-50- 5-75- 6-00- 6.docx
Years Financed 4-00- 4-25- 4-50- 4-75- 5-00- 5-25- 5-50- 5-75- 6-00- 6.docxYears Financed 4-00- 4-25- 4-50- 4-75- 5-00- 5-25- 5-50- 5-75- 6-00- 6.docx
Years Financed 4-00- 4-25- 4-50- 4-75- 5-00- 5-25- 5-50- 5-75- 6-00- 6.docx
Jonathan5GxRossk
 
x2-T2+e2.docx
x2-T2+e2.docxx2-T2+e2.docx
x2-T2+e2.docx
Jonathan5GxRossk
 
x1-x2 be the onder statistics of a randome sample from a distribartion.docx
x1-x2 be the onder statistics of a randome sample from a distribartion.docxx1-x2 be the onder statistics of a randome sample from a distribartion.docx
x1-x2 be the onder statistics of a randome sample from a distribartion.docx
Jonathan5GxRossk
 
Write brief notes on these- Fluids and Electrolytes-Acid-Base Balance.docx
Write brief notes on these- Fluids and Electrolytes-Acid-Base Balance.docxWrite brief notes on these- Fluids and Electrolytes-Acid-Base Balance.docx
Write brief notes on these- Fluids and Electrolytes-Acid-Base Balance.docx
Jonathan5GxRossk
 
X - Y plot - different Y axes- An ecologist is interested in the effec.docx
X - Y plot - different Y axes- An ecologist is interested in the effec.docxX - Y plot - different Y axes- An ecologist is interested in the effec.docx
X - Y plot - different Y axes- An ecologist is interested in the effec.docx
Jonathan5GxRossk
 
Wruch of the lollowng z scores is bctow the mean- 0-4 001 12 ( ) Click.docx
Wruch of the lollowng z scores is bctow the mean- 0-4 001 12 ( ) Click.docxWruch of the lollowng z scores is bctow the mean- 0-4 001 12 ( ) Click.docx
Wruch of the lollowng z scores is bctow the mean- 0-4 001 12 ( ) Click.docx
Jonathan5GxRossk
 
Write- compile- and test a program called StudentInfo that displays a.docx
Write- compile- and test a program called StudentInfo that displays a.docxWrite- compile- and test a program called StudentInfo that displays a.docx
Write- compile- and test a program called StudentInfo that displays a.docx
Jonathan5GxRossk
 
write the MIPS assembly code implementing the following C-C++ statemen.docx
write the MIPS assembly code implementing the following C-C++ statemen.docxwrite the MIPS assembly code implementing the following C-C++ statemen.docx
write the MIPS assembly code implementing the following C-C++ statemen.docx
Jonathan5GxRossk
 
Write the following mathematical expressions in Python- Assume- x- y-.docx
Write the following mathematical expressions in Python- Assume- x- y-.docxWrite the following mathematical expressions in Python- Assume- x- y-.docx
Write the following mathematical expressions in Python- Assume- x- y-.docx
Jonathan5GxRossk
 
Write python code which prompts the user to enter one of the following.docx
Write python code which prompts the user to enter one of the following.docxWrite python code which prompts the user to enter one of the following.docx
Write python code which prompts the user to enter one of the following.docx
Jonathan5GxRossk
 
Write the SQL commands from staffs table to display department name (d.docx
Write the SQL commands from staffs table to display department name (d.docxWrite the SQL commands from staffs table to display department name (d.docx
Write the SQL commands from staffs table to display department name (d.docx
Jonathan5GxRossk
 
write program using tinkercard - 2 LED connected to pin 7 and pin 8 -.docx
write program using tinkercard - 2 LED connected to pin 7 and pin 8 -.docxwrite program using tinkercard - 2 LED connected to pin 7 and pin 8 -.docx
write program using tinkercard - 2 LED connected to pin 7 and pin 8 -.docx
Jonathan5GxRossk
 
write for this Database Conceptual Design (ERD) - Populate Database P.docx
write for this  Database Conceptual Design (ERD) - Populate Database P.docxwrite for this  Database Conceptual Design (ERD) - Populate Database P.docx
write for this Database Conceptual Design (ERD) - Populate Database P.docx
Jonathan5GxRossk
 

More from Jonathan5GxRossk (16)

Write brief and clear notes on the following subsets of DCs under the (1).docx
Write brief and clear notes on the following subsets of DCs under the (1).docxWrite brief and clear notes on the following subsets of DCs under the (1).docx
Write brief and clear notes on the following subsets of DCs under the (1).docx
 
You are looking under a microscope at a cell from an organism that has.docx
You are looking under a microscope at a cell from an organism that has.docxYou are looking under a microscope at a cell from an organism that has.docx
You are looking under a microscope at a cell from an organism that has.docx
 
Write an interactive C++ program that reads in 2 whole numbers- The pr.docx
Write an interactive C++ program that reads in 2 whole numbers- The pr.docxWrite an interactive C++ program that reads in 2 whole numbers- The pr.docx
Write an interactive C++ program that reads in 2 whole numbers- The pr.docx
 
Years Financed 4-00- 4-25- 4-50- 4-75- 5-00- 5-25- 5-50- 5-75- 6-00- 6.docx
Years Financed 4-00- 4-25- 4-50- 4-75- 5-00- 5-25- 5-50- 5-75- 6-00- 6.docxYears Financed 4-00- 4-25- 4-50- 4-75- 5-00- 5-25- 5-50- 5-75- 6-00- 6.docx
Years Financed 4-00- 4-25- 4-50- 4-75- 5-00- 5-25- 5-50- 5-75- 6-00- 6.docx
 
x2-T2+e2.docx
x2-T2+e2.docxx2-T2+e2.docx
x2-T2+e2.docx
 
x1-x2 be the onder statistics of a randome sample from a distribartion.docx
x1-x2 be the onder statistics of a randome sample from a distribartion.docxx1-x2 be the onder statistics of a randome sample from a distribartion.docx
x1-x2 be the onder statistics of a randome sample from a distribartion.docx
 
Write brief notes on these- Fluids and Electrolytes-Acid-Base Balance.docx
Write brief notes on these- Fluids and Electrolytes-Acid-Base Balance.docxWrite brief notes on these- Fluids and Electrolytes-Acid-Base Balance.docx
Write brief notes on these- Fluids and Electrolytes-Acid-Base Balance.docx
 
X - Y plot - different Y axes- An ecologist is interested in the effec.docx
X - Y plot - different Y axes- An ecologist is interested in the effec.docxX - Y plot - different Y axes- An ecologist is interested in the effec.docx
X - Y plot - different Y axes- An ecologist is interested in the effec.docx
 
Wruch of the lollowng z scores is bctow the mean- 0-4 001 12 ( ) Click.docx
Wruch of the lollowng z scores is bctow the mean- 0-4 001 12 ( ) Click.docxWruch of the lollowng z scores is bctow the mean- 0-4 001 12 ( ) Click.docx
Wruch of the lollowng z scores is bctow the mean- 0-4 001 12 ( ) Click.docx
 
Write- compile- and test a program called StudentInfo that displays a.docx
Write- compile- and test a program called StudentInfo that displays a.docxWrite- compile- and test a program called StudentInfo that displays a.docx
Write- compile- and test a program called StudentInfo that displays a.docx
 
write the MIPS assembly code implementing the following C-C++ statemen.docx
write the MIPS assembly code implementing the following C-C++ statemen.docxwrite the MIPS assembly code implementing the following C-C++ statemen.docx
write the MIPS assembly code implementing the following C-C++ statemen.docx
 
Write the following mathematical expressions in Python- Assume- x- y-.docx
Write the following mathematical expressions in Python- Assume- x- y-.docxWrite the following mathematical expressions in Python- Assume- x- y-.docx
Write the following mathematical expressions in Python- Assume- x- y-.docx
 
Write python code which prompts the user to enter one of the following.docx
Write python code which prompts the user to enter one of the following.docxWrite python code which prompts the user to enter one of the following.docx
Write python code which prompts the user to enter one of the following.docx
 
Write the SQL commands from staffs table to display department name (d.docx
Write the SQL commands from staffs table to display department name (d.docxWrite the SQL commands from staffs table to display department name (d.docx
Write the SQL commands from staffs table to display department name (d.docx
 
write program using tinkercard - 2 LED connected to pin 7 and pin 8 -.docx
write program using tinkercard - 2 LED connected to pin 7 and pin 8 -.docxwrite program using tinkercard - 2 LED connected to pin 7 and pin 8 -.docx
write program using tinkercard - 2 LED connected to pin 7 and pin 8 -.docx
 
write for this Database Conceptual Design (ERD) - Populate Database P.docx
write for this  Database Conceptual Design (ERD) - Populate Database P.docxwrite for this  Database Conceptual Design (ERD) - Populate Database P.docx
write for this Database Conceptual Design (ERD) - Populate Database P.docx
 

Recently uploaded

How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 

Recently uploaded (20)

How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 

Write a MIPS program using MARS platform that takes numbers from input.docx

  • 1. Write a MIPS program using MARS platform that takes numbers from input by user : for example, user inputs 1 then program determines it is a positive integer. Next, you run the program and enter - 2 and program determines it is a negative number. then enter 5 and again report negative number. So, your program accepts integer inputs and reports the number is positive or negative. NOTE: you must show your source code(assembly code) copied into a WORD file as well as output of MARS that reports positive or negative number. You can take a snapshot of the MARS output and paste it into the WORD file along with the source code.