Question: 1. Implement a x86 MASM calculator program with the following requirements: Use the following menu: [x] Exit [#] Enter new two ints [&] Bit-wise and
1. Implement a x86 MASM calculator program with the following requirements: Use the following menu:
[x] Exit
[#] Enter new two ints
[&] Bit-wise and
[+] Addition
[|] Bit-wise or
[-] Subtraction
[!] Bit-wise not
[*] Multiplication
[~] Bit-wise xor
[/] Division
[<] Left shift
[%] Modulus
[>] Right shift
[^] Exponentiation
[.] Bit at pos
[$] Factorial
[?] Compare
- Implement switch-case structure to handle the menu
- Use a while loop to read user options and other needed inputs per case
- Assume all positive ints
- Display results each iteration
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
