Write an ARM assembly language program to determine whether a string of characters with an odd length

Question:

Write an ARM assembly language program to determine whether a string of characters with an odd length is a palindrome (for example, mom) under the following constraints. 

a. The string of ASIC-encoded characters is stored in memory. 

b. At the start of the program, register rl contains the address of the first character in the string, and r2 contains the address of the last character. On exit from the program, register r0 contains a 0 if the string is not a palindrome, and 1 if it is.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: