Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please note that this question must be written in ASSEMBLY LANGUAGE. Assemble a program menu.exe in MASM6.15 with the following specifications: You should have a

image text in transcribed

please note that this question must be written in ASSEMBLY LANGUAGE.

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: 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 ax + 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL For Data Science Data Cleaning Wrangling And Analytics With Relational Databases

Authors: Antonio Badia

1st Edition

3030575918, 978-3030575915

More Books

Students also viewed these Databases questions

Question

8. Praise the trainees for their success in learning the task.

Answered: 1 week ago