2. Use CCSv7 to complete Problems 7.18, and 7.19 in assembly. Using MSP430 Assem
ID: 3737578 • Letter: 2
Question
2. Use CCSv7 to complete Problems 7.18, and 7.19 in assembly. Using MSP430 Assembly language. Use the CCSv7 debugger functions that you know about in order to examine what the code does when it executes. Comment each line of code (instructions, labels, and directives) describing it's purpose in the program.7.18 Write an assembly program to calculate the sum of the four numbers given in Prob. 7.14 7.19 Add a subroutine to your assembly program in Prob. 7.18 to calculate the average of the four numbers.
Explanation / Answer
For a 4 digit number addition: