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

How to average a series of integers using assembly language?

Discussion in 'Assembly Language Programming (ALP) Forum' started by smithyluke, Oct 9, 2007.

  1. smithyluke

    smithyluke New Member

    Joined:
    Oct 9, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Will someone help me on how I should start this?
    I am trying to write a program that will find the average of a series of integers and store the result in the BX and AX registers.
    e.g
    Main array = 4, 1, 28, 11, 2, -28, -7
    The result will be
    (Quotient) BX = 1
    (Remainder) AX = 5

    I am just trying to learn assembly language, so even how to start this...I will appreciate it so much.

    any hints, links...will be very thankful.
    I am using visual studio c++!
     

Share This Page