1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

8085 Programming Help

Discussion in 'Assembly Language Programming (ALP) Forum' started by StudentProgrammer, Mar 3, 2008.

  1. StudentProgrammer

    StudentProgrammer New Member

    Joined:
    Mar 3, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi there,

    I need help with my assignment. This is the question :

    Suppose 100 students' test scores are stored in a memory array, write a program to find out how many students received A, B, C, D, or F test scores.

    How do I even start this ? Can someone guide me, please ?
     
  2. sun_kangane

    sun_kangane New Member

    Joined:
    Mar 20, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    0
    hi,

    I have ........

    see you save the data in a memory in array start from say addr.
    then put a loop form no = 0 to 100
    camper score with score for code A
    if mach then
    incriment count_A jump to next
    //do same for all code's B to F

    next :
    add no, 1
    cmp no , 100
    if less then
    jump to loop

    print all count's



    hoop you get ans
     

Share This Page