Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

- Become familiar with program control instructions. Write an assembly program which is able to get a text input and find the characters that the

image text in transcribed

- Become familiar with program control instructions. Write an assembly program which is able to get a text input and find the characters that the indices in the given text and alphabet match. (You can use English alphabet). Program must be able to run infinitely until user enters "EXIT" as input. For example, for the given text "ANTHEM", the result is " A,E>2 : ' A ' index in text: 1 , index in alphabet: 1 match ' N ' index in text:2, index in alphabet: 14 no match ' T ' index in text:3, index in alphabet: 20 no match ' H ' index in text:4, index in alphabet: 8 no match ' E index in text:5, index in alphabet:5 match M index in text:6, index in alphabet: 13 no match 1. Get a text as an input using Emulator Screen. The program must only accept capital letters. The program must check whether the entered character is a capital letter and if it is not, it can be neither processed nor printed. For example, if user enters "C1E?N +G" then the program must not print ' 1 ', ' ? ', ' + ' and print only "CENG". When the Enter key is pressed, the program must get the printed text as input and start processing. 2. When the program gets the input from user, it must check each character if the required match occurs and store the matched characters. 3. Finally, the program prints the matched characters and the count of matched characters on Emulator Screen and waits for the new text until the new text is "EXIT

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_2

Step: 3

blur-text-image_3

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

The Power Of Numbers In Health Care A Students Journey In Data Analysis

Authors: Kaiden

1st Edition

8119747887, 978-8119747887

More Books

Students also viewed these Databases questions

Question

Describe social factors that affect marketing AppendixLO1

Answered: 1 week ago

Question

Connect with your audience

Answered: 1 week ago