Question: ( MSP 4 3 0 - assembly ) Write the ORD subroutine that receives the starting address of a vector of bytes ( unsigned )

(MSP430-assembly) Write the ORD subroutine that receives the starting address of a vector of bytes (unsigned) in R5 and sorts it. Organize the registers as follows:
For this program, declare a vector of bytes formed by concatenating the ASCII code of each team member's full names. Note that the assembler already converts the letters to the corresponding ASCII code as shown below. Use capital letters and omit spaces and do not use accents. Pay attention to the type of quotation marks.
Attention! Do not use the swpb (swap bytes) instruction as it operates on 16-bit words and is always aligned on even addresses, that is, it will not work on odd addresses.
( MSP 4 3 0 - assembly ) Write the ORD subroutine

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!