Question: MASM 32bit programming assignment: Boolean_Calculator Assembly Language for x86 Processors Hello there, I need help on implementing boolean calculating program using irvine32 library. Here is
MASM 32bit programming assignment: Boolean_Calculator
Assembly Language for x86 Processors
Hello there, I need help on implementing boolean calculating program using irvine32 library.
Here is the assignment:

Advanced discussion is not required but the code should be efficient and well implemented.
Thank you in advance...
EDITED**
Boolean_Calculator (Chapter 6, Pr 5 and Pr 6)
This is a good exercise to use a table-driven selection. You can download the stub file ch06_06stub.asm that provides the main menu code and a table-driven structure. Your programming is to fill out all the blank procedures. Before working, please download and play this ch06_06.exe to make sure that you understand what you are going to create! The following is just an example when you first hit 2 to do OR and then hit 3 to do NOT. Hint: ReadHex and WriteHex are handy.
---- Boolean Calculator ---------- 1. x AND y 2. x OR y 3. NOT x 4. x XOR y 5. Exit program Boolean OR Input the first 32-bit hexadecimal operand: 00008Af2 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 Boolean NOT Input the first 32-bit hexadecimal operand: 002f45bb The 32-bit hexadecimal result is: FFD0BA44 |
Boolean Calculator (Chapter 6, Pr 5 and Pr 6) to fill ot all he arik procedures. Before workin ease download and play ths This is a good exercise to use a a le drven selection You can don oad the s fie 6 6s ubasm ha provides he main menu code and able nven structure Your r cramming h 0 axe to make sure that you understand what you ara going to create! The following is just an example when you first hit 2 to do OR and then hit 3 to do NOT Hint. ReadHex and WriteHex are handy 2. x OR y 4. x XOR y . Exit progran Boolean oR Input the irst 32-bit hexadecinal operand: 00008Afz Iopnt the second 32 bit hexadecimal operand: 00aaFFoo The 32-bit hesxadeo imal result is: 1 x AND y 2. x OR y 5. Exit progran Boolean NOT Input the firat 32-bit hexadecinal operand 002r45bb Advanced discussion (not required): A possible issue is that so much repaated code would be in multiple operation procedures for AND, OR, etc. How to avoid and how to solve this with DRY? top Boolean Calculator (Chapter 6, Pr 5 and Pr 6) to fill ot all he arik procedures. Before workin ease download and play ths This is a good exercise to use a a le drven selection You can don oad the s fie 6 6s ubasm ha provides he main menu code and able nven structure Your r cramming h 0 axe to make sure that you understand what you ara going to create! The following is just an example when you first hit 2 to do OR and then hit 3 to do NOT Hint. ReadHex and WriteHex are handy 2. x OR y 4. x XOR y . Exit progran Boolean oR Input the irst 32-bit hexadecinal operand: 00008Afz Iopnt the second 32 bit hexadecimal operand: 00aaFFoo The 32-bit hesxadeo imal result is: 1 x AND y 2. x OR y 5. Exit progran Boolean NOT Input the firat 32-bit hexadecinal operand 002r45bb Advanced discussion (not required): A possible issue is that so much repaated code would be in multiple operation procedures for AND, OR, etc. How to avoid and how to solve this with DRY? top
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
