Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can some one help me with this please? Part 1 (15 pts): Write an assembly program to sort the letters in a string from Z

image text in transcribed

can some one help me with this please?

Part 1 (15 pts): Write an assembly program to sort the letters in a string from Z to A. You may use any sorting algorithm you wish, but using a bubble sort is highly recommended. (See http:len.wikipedia.org/wikiBubble_sort for information on how it works.) Use DC.B (or similar) to allocate memory for the letters: z, A, C, E. B, S. L. Your program must also find the MIDDLE letter and the MAXIMUM letter (i.e. the last letter in the string following sorting). As an example, if you are given the string ckEkge, your sort algorithm should return Egkkec, sorting capital lelters first, then lower-case letters. Part 2 (S pts): List the bits of the CCR following the completion of your program As a tip, write your program in Motorola 68K assembly, and test it in your Easy68K simulator. This can assist you in making sure that your program works cormectly

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

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions

Question

=+ 6. A Case Study in this chapter concludes that if

Answered: 1 week ago