Answered step by step
Verified Expert Solution
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
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 cormectlyStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started