Convert the character in r0 from upper-case to lower-case


In the program below. Convert the character in R0 from upper-case to lower-case by operating on it, NOT replacing it. The lower-case converted character should stay in R0.

Hint: See ASCII table and the difference between ‘A' and ‘a'

AREA Upper2LowerCase, CODE, READONLY

ENTRY

EXPORT __main

__main

MOV R0, #'A'

; write your code here

stop B stop

END

Please write a code

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Convert the character in r0 from upper-case to lower-case
Reference No:- TGS02899781

Expected delivery within 24 Hours