Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

assembly pls asap Write an assembly program makes the following: 1- Gives the following output when it starts (a menu for choosing 1 of the

assembly pls asap
image text in transcribed
image text in transcribed
image text in transcribed
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- MA is chosen, then the prograrh acts this way: Enter an English small letter character (0-2): The letter is: 8 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 ext the program 3. IfB 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... N For example: enter my name in the following order.. Enter a character: N Enter a character: A Enter a character: 5 Enter a characters Enter a character: E Enter a character: R The output will be: R E A N RESSAN After finishing execution as shown above the program waits for key press from the user. When a key is pressed, control returns back to the main menu to allow the sem more choices or exit the program - 68% + I O 4. 8C 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 biser 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 4 Enter a digit between 0 and 4: 6 Wrong entry Enter a digit between 0 and 4: 3 What number do you want to count: 3 Number of uppearance 2 Aerinishing the section as shown above the program wat for any press from the se When key is pressed control returned to them to wow the user make more choices or exit the program 5 # la chosen, then the program terminates and returns control to operatorem

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

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions