*The output:

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
correctanswer
Posts: 43759
Joined: Sat Aug 07, 2021 7:38 am

*The output:

Post by correctanswer »

The Output 1
The Output 1 (53.03 KiB) Viewed 64 times
*The output:
The Output 2
The Output 2 (61.34 KiB) Viewed 64 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
Register for solutions, replies, and use board search function. Answer Happy Forum is an archive of questions covering all technical subjects across the Internet.
Post Reply