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.
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.