Page 1 of 1

*The output:

Posted: Fri Jun 10, 2022 11:55 am
by correctanswer
The Output 1
The Output 1 (53.03 KiB) Viewed 65 times
*The output:
The Output 2
The Output 2 (61.34 KiB) Viewed 65 times
Boolean_Calculator Write an assembly program that calculates Boolean expressions (OR, AND, NOT, XOR). An implementation of the Boolean calculator is suggested here: Receive a 32-bit hexadecimal operand (8 char Hex digits) Loop through each char digit Get a Hex char digit Execute the selected Boolean expression Output results in 8 char Hex digits
Boolean Calculator 1. x AND Y 2. x OR Y 3. NOT x 4. x XOR Y 5. Exit program Enter your choice: 2 Boolean OR Input the first 32-bit hexadecimal operand: 00008A£2 Input the second 32-bit hexadecimal operand: 0000FF00 The 32-bit hexadecimal result is: 0000FFF2 --- Boolean Calculator 1. x AND Y 2. x OR Y 3. NOT x 4. x XOR Y 5. Exit program ➖➖➖➖➖➖➖➖ Enter your choice: 3 Boolean NOT Input the first 32-bit hexadecimal operand: 002f45bb The 32-bit hexadecimal result is: FFD0BA44 --- Boolean Calculator 1. x AND Y 2. x OR Y 3. NOT x 4. x XORY 5. Exit program Enter your choice: 5 Bye. Press any key to continue