Logo 
Search:

Assembly Language Forum

Ask Question   UnAnswered
Home » Forum » Assembly Language       RSS Feeds

Write a program that will read an array of a mix upper and lower case string

  Asked By: Maddy    Date: Jun 04    Category: Assembly Language    Views: 2441
  

Write a program that will read an array of a mix upper and lower case string and save it to two different array which is
OnlyUpper –contain uppercase only
OnlyLower – contain lower case only
Example :
SourceString “Don’t cry for me ARGENTINA, the TRUTH is I never left you”
After executing the program:
OnlyUpper “DON’T CRY FOR ME ARGENTINA, THE TRUTH IS I NEVER LEFT YOU”
OnlyLower “dont’t cry for me argentina, the truth is i never left you’
Your main program will call 2 procedure
ToUpper – to convert all lower case to upper case and save it in OnlyUpper array
ToLower – to convert all upper case to lower case and save it in OnlyLower array
Your program shouldn’t convert any char other than a..z or A..Z.
You can use Conditional Control Flow - .IF, .WHILE etc
Instructions:
Submit hardcopy of source code (.asm) with a screen capture of the output during debugging that shows the content of memory of all arrays. and save it to two different array which is
OnlyUpper –contain uppercase only
OnlyLower – contain lower case only
Example :
SourceString “Don’t cry for me ARGENTINA, the TRUTH is I never left you”
After executing the program:
OnlyUpper “DON’T CRY FOR ME ARGENTINA, THE TRUTH IS I NEVER LEFT YOU”
OnlyLower “dont’t cry for me argentina, the truth is i never left you’
Your main program will call 2 procedure
ToUpper – to convert all lower case to upper case and save it in OnlyUpper array
ToLower – to convert all upper case to lower case and save it in OnlyLower array
Your program shouldn’t convert any char other than a..z or A..Z.
You can use Conditional Control Flow - .IF, .WHILE etc
Instructions:
Submit hardcopy of source code (.asm) with a screen capture of the output during debugging that shows the content of memory of all arrays.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 




Tagged: