Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assemble a program menu.exe in MASM6.15 by making use of assembly language programming to be mounted in command window with the following specifications: A
Assemble a program menu.exe in MASM6.15 by making use of assembly language programming to be mounted in command window with the following specifications: A menu screen consisting of a bounded box containing 5 options with an input selection line below the box as follows: Main Menu 1. Factorial 2. Prime Numbers 3. Quadratic equation root 4. Binary 5. Exit Program 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: ger and should output the The program should ask the user to enter a positive decimal 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.
Step by Step Solution
★★★★★
3.53 Rating (150 Votes )
There are 3 Steps involved in it
Step: 1
The programming code for the question is written in the c language using th...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