Question: Project Description: In this project, you will simulate a car sensor system using MIPS assembly language. The goal is to create a program that collects

Project Description:
In this project, you will simulate a car sensor system using MIPS assembly language. The goal is to create a program that collects sensor values and displays these sensor readings as output, while also checking if any of the sensor values go above or below expected ranges, and printing warnings accordingly.
Project Requirements:
1. Sensor Simulations: You are required to simulate the following car sensors:
Temperature Sensor: Simulate temperature readings.
Speed Sensor: Simulate the car's speed.
Fuel Level Sensor: Simulate the fuel level in gallon.
2. User Input: The program should allow the user to input sensor values. Prompt the user for input values for each sensor.
3. Data Processing: Implement logic to process the sensor data. For example:
Temperature (in \deg F ):
o Warn if <34 or >100
Speed (in mph):
o Warn if >65 mph
Fuel Level (%):
o Range: 0%(empty) to 100%15 gallon). Ask about the gallon then convert to %.
o Warn if <10% gallon
4. Output: Display the sensor readings, any processed information (e.g., temperature in Fahrenheit), and warnings for values outside expected ranges.
5. Commenting: Provide meaningful comments in your code to explain the purpose and functionality of each section of the program.
Please provide the full MIPS code working in Mars, thanks!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!