420-424 in your text. The program is to request the user to enter a 12-bit Hamming code and determine if it is
Please write the code in MIPS assembly Language
Create a MIPS program that corrects bad data using Hamming codes. ECC Hamming codes are explained on pages 420-424 in your text.
The program is to request the user to enter a 12-bit Hamming code and determine if it is correct or not. If correct, it is to display a message to that effect. If incorrect, it is to display a message saying it was incorrect and what the correct data is (the 12-bit Hamming code) again in hex. I will be testing only with single bit errors, so the program should be able to correct my tests just fine. You do not need to worry about multiple bit errors.
Make certain that you have lots of comments in your code as this is in MIPS. Also make the code neat: line up the command field, the register fields, and the comment fields
For this assignment, turn in your code, a screenshot showing a working test case
Trending now
This is a popular solution!
Step by step
Solved in 3 steps