Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using assembly language (not c++) to be mounted in command window, assemble a program menu.exe in MASM6.15 with the following specifications: You should have a
Using assembly language (not c++) to be mounted in command window, assemble a program menu.exe in MASM6.15 with the following specifications: You should have a menu screen consisting of a bounded box containing 5 options with an input selection line below the box as follows: 1. 2. Main Menu Factorial Prime Numbers Quadratic equation root Binary Exit Program 3. 4. 5. Please choose an option above:_ (The program should only take inputs 1 to 5. Any other entry should return back to the option selection line above) Option 1: This prompts the user to enter a positive integer and should output the factorial of the integer as answer. Option 2: This prompts the user for a positive integer, say n and output the first n consecutive prime numbers. Option 3: The program asks the user to enter 3 integers a, b and c according to the equation ax2 + bx c= 0 and should only give the positive root for x. Option 4: The program should ask the user to enter a positive decimal integer and should output the binary equivalent on screen Option 5: This option exits the program. You should zip your executable file (menu.exe), source file (menu.asm) and object file (menu.obj) in groupX.zip file. Pls take note that the program should be written in assembly language (not C++). Command Prompt Microsoft Windows TUArsion 6.3.96AA (c) 2013 Mic rusufu Curpuraliul. All rights reserved. C:\Uzer\Inzpiron> C. X
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started