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

    Oct 9, 2007
    Likes Received:
    Trophy Points:
    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.
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice