Hello to all!
I am designing a project for my semester. It is very simplest and a part of it is to indicate which grade a student get. For example, if student's percentage is below 60% then it is "E" grade and P1.0 should go high. If student's percentage is in between 60% and 70% then it is "D" grade and P1.1 should go high. If student's percentage is in between 70% and 80% then it is "C" grade and P1.2 should go high. If student's percentage is in between 80% and 90% then it is "B" grade and P1.3 should go high and finally if student's percentage is above than 90% then it is "A" grade and P1.4 should go high.
I am stuck how to use code in assembly in order to declare the range, for example, for percentage between 60% and 70%? Means any value in between this will be the grade "D" and P1.1 will go high and and LED will show this as an indicator. So how to write this range in the assembly?
Thank you very much.