Click here to Skip to main content
15,445,641 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
write this program in MSP430 language :

a- there is an array containing the average grades of 32 students which starts at the address 0x200 write a main program that converts the average grades to the letter grades using a LETTER function(subprogram) at the same source memory locations. You decide the method of input/output parameter passing. Then the main program will find the total of "F" grades afther the conversion in R12

b- Write the LETTER function. Conversion table is listed below:
100-85 - 'A'
84-65 - 'B'
64-50 - 'C'
49-0 - 'F'

What I have tried:

i wanna ask a question for answer
Updated 12-Jul-21 2:10am
Patrice T 12-Jul-21 8:07am    
What is your question ?

While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.

So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.

If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]
Share this answer
i wanna ask a question for answer
What question do you want to ask? If you are waiting for someone here to complete your assignment for you, I am afraid that you will be disappointed. People here will help you to fix errors in the code that you write, but no one is going to do your work for you.
Share this answer
Start reading the MSP430 family documentation, with particular focus on the instruction set reference and assembler manual. Once you know the details of the chip assembly then the task becomes pretty trivial.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900