Question: Assembly language Assignment Boolean Calculator Create a program that functions as a simple Boolean calculator for 32 bit integers. It should display a menu that

Assembly language Assignment 

Boolean Calculator

Create a program that functions as a simple Boolean calculator for 32

bit integers. It should display a menu that asks the user to make a

selection from the following list:

1.x AND y

2.x OR y

3.NOT x

4.x XOR y

5.Exit the program

The program should run in a loop. When the user makes a choice, call

a procedure called ChooseProcedure which invokes the appropriate

procedure to perform the logical operation as outlined below:

AND_op : Prompt the user for two hexadecimal integers . AND them

together and displays the result in hexadecimal.

OR_op : Prompt the user for two hexadecimal integers . OR them

together and displays the result in hexadecimal.

NOT_op : Prompt the user for a hexadecimal integer . NOT the integer

and displays the result in hexadecimal.

XOR_op : Prompt the user for two hexadecimal integers . XOR them

together and displays the result in hexadecimal.

Error checking : Your program should check for valid menu selection.

In case of invalid selection, it will do nothing but will continue waiting

for input.

Implement the program with case table for 100 percent (20 points)

Without case tableyour assignment will receive 13 points maximum

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 Databases Questions!