Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

helpCreate a flowchart based on this questions: Create a program in MIPS assembly language which allows user to input a char and convert into binary

helpCreate a flowchart based on this questions:
Create a program in MIPS assembly language which allows user to input a char and convert into
binary equivalent and calculate the parity bit. Attached the parity bit as the LSB. Allow the program
to receive a string of bit including the parity bit and conduct parity check. If you are using even parity
checker, the program will display appropriate message if the string of bit is even or odd.
Create a main menu that chooses between transmitter and receiver.
Program will prompt the user to choose to use even or odd parity (optional). The program will
prompt the user to choose between transmitter and receiver.
Under transmitter option, convert the char to 8-bit binary equivalent.
The program will prompt the user to enter a char. The program should read the char and display the
binary representation to the display. (Tip: characters pressed from the keyboard will be recognized
as ASCII code.)
Calculate the parity bit using even or odd parity and attach the parity bit as bit 0.(Note: Total bits
are 9 bit)
Then the program will calculate the parity bit for the 8-bit binary data and attach the parity bit as the
LSB (bit 0). Display the data bit and parity bit. The program should end the transmitter menu here
and return to main menu.
Under receiver menu, request user to enter 9-bit binary and compare the bit using even/odd
parity.
The program should request the user to enter the data bit and parity bit and check if it is a 9-bit
binary. Compare the bit using the parity chosen. Display the original data (in binary and ASCII char).
Display appropriate message if the bit is odd or even.
Optional: You may add other features such as requesting the user to choose between even/odd
parity. You can increase the complexity by repeating this process for 5 characters. You may add
other features like storing the transmitting data and receiving data in the memory, compare the
content if it is the same char before send and after receive.
Bonus: Change to 2D parity.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions