Question
Write an assembly program (Include coments for the code and a flow chart) that will examine an input string. Assume that a string does not
Write an assembly program (Include coments for the code and a flow chart) that will examine an input string. Assume that a string does not include more than one line. Assume the input string is Welcome to Assembly Programming @ MSP430! . Your program should count the number of total characters, number of uppercase vowels , and number of special characters ( other than characters and digits). Set the port P1 to display the number of special characters , and port P2 to display the number of vowels . Storethe total number of characters in register R10.If you are using the sample string given above for testing, the correct results are shown below (in decimal):
Total Characters:40
Total Uppercase Vowels:1
Total Special Characters:6
What is the starting address of theprogram? How many clock cycles does each instruction take to execute? Observe the contents of memory location and registers as you step through the program. Whatis the content of the memory location at the address 0xFFFE? What are the addresses of the special-purpose registers P1DIR and P1OUT? Monitor the contents of these locations as you walk through your program. Set breakpoints to move easier through your program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started