This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

'Sort and Count' program using Cortex-M3 Assembly (or less preferably in C language)

Construct the following null terminated string in code area (i. e. in ROM)

str         DCB       “p1er3fec6tst1r2an5ge7rs8”.0

Write an assembly program that will count and separate alphabetic and numerical values in str.Store the separated alphabets in a string named string1 and numerals in the string string2 both in data segment i.e. in RAM. The count of alphabets should be stored in string1count and string2count byte variables. Design the program so that it should work even if the contents of the string str are changed.

Parents
  • Let's not be too rough on new members... That's not really what we want to be perceived as!

    Vickey, if you wish people to help you, you would need to explain what you have done, and what you met issues on.

    I wouldn't expect anyone here (or any other community or forum) to reply with a detailed answer to what looks like a homework question without you showing you tried something.

Reply
  • Let's not be too rough on new members... That's not really what we want to be perceived as!

    Vickey, if you wish people to help you, you would need to explain what you have done, and what you met issues on.

    I wouldn't expect anyone here (or any other community or forum) to reply with a detailed answer to what looks like a homework question without you showing you tried something.

Children