Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Assembly Language Programming (ALP) Forum (http://www.go4expert.com/forumdisplay.php?f=23)
-   -   How to average a series of integers using assembly language? (http://www.go4expert.com/showthread.php?t=6745)

smithyluke 9Oct2007 11:16

How to average a series of integers using assembly language?
 
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++!


All times are GMT +5.5. The time now is 07:16.