Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write assembly code Using emu8086 asap pls Write an assembly program makes the following: 1. Gives the following output when it starts (a menu for

write assembly code Using emu8086
image text in transcribed
image text in transcribed
image text in transcribed
asap pls
Write an assembly program makes the following: 1. Gives the following output when it starts (a menu for choosing 1 of the given options): A: Convert a small English letter character (a-z) to capital letter (A-2) B: Enter your name into an array and print it vertically and Horizontally in the opposite order: C. Enter 10 array elements (numbers from 0 to 4) then find how many times an element of your choice exists in the array D: Exit the program. 2. If A is chosen, then the program acts this way: Enter an English small letter character (a-z): b The letter is: B After program execution as shown above the program waits for a key press from the user. When a key is pressed, control returns back to the main menu to allow the user make more choices or exit the program 3. If is chosen, then the program acts this way: Reads the characters of your name (character by character). stores them in an array. Changes the order of entered characters by using the stack. Then prints the name in an inverted order... For example: ifIenter my name in the following order.. Enter a character: N Enter a character: A Enter a character: S Enter a character: 5 Enter a character: E Enter a character: R The output will be: E A RESSAN After finishing execution as shown above the program waits for a key press from the user. When a key is pressed, control returns back to the main menu to allow the user make more choices or exit the program 4- IFC is chosen, then the program acts this way: The program should ask the user to enter 6 digits and stores the entered digits in an array. Digits to be stored in the array are limited to values from 0 to 4 only. If other values (rather than from 0 to 4) are entered, an error message should appear and asks for inputting another correct value. The wrong entered value will not be stored in the array. After finishing the right entry of the elements, the program will ask the user for inputting a digit between 0 and 4 to give an input how many times this digit has been entered by the user Example: Enter a digit between 0 and 4: 3 Enter a digit between 0 and 4: 4 Enter a digit between 0 and 4: 2 Enter a digit between 0 and 4: 3 Enter a digit between 0 and 4: Enter a digit between 0 and 4: Wrong entry Enter a digit between 0 and 4: 3 What number do you want to count: 3 Number of appearance: 2 After finishing the execution as shown above the program waits for a key press from the user. When a key is pressed, control returns back to the main menu to allow the user make more choices or exit the program. 5. IfD is chosen, then the program terminates and returns control to operating system

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

Handbook Of Relational Database Design

Authors: Candace C. Fleming, Barbara Von Halle

1st Edition

0201114348, 978-0201114348

More Books

Students also viewed these Databases questions

Question

What is employee requisition?

Answered: 1 week ago