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:
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.
User Input: The program should allow the user to input sensor values. Prompt the user for input values for each sensor
Data Processing: Implement logic to process the sensor data. For example:
Temperature in deg F :
o Warn if or
Speed in mph:
o Warn if mph
Fuel Level :
o Range: empty to gallon Ask about the gallon then convert to
o Warn if gallon
Output: Display the sensor readings, any processed information eg temperature in Fahrenheit and warnings for values outside expected ranges.
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
