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.
Why not, but how much that pays ?
I think it should not be confused the arm community and software free engineer for free
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.
Sorry Alban I was only joking a little
Who gave you this assignment ?
Anyway, you can find the Cortex-M3 instruction set at the ARM infocenter.
The instruction set explains itself, but if there are any instructions you do not understand, please use "Ask a question" on this site (in the "Processors Place"), and we'll be happy to answer it.