CSC 222         Lab 7
Fall 2000

Note: Lab must done during lab period on Nov 7, if not you have to have it
done by Nov 14 to recieve 3 points - after that 0 points

Topic: Working with arrays

Create a program that will find the sum of the columns in
an array. Print the sums when done. Using Code View trace
the code.

Given:
A	DW	15 dup(?)	; 3 columns by 5 rows
Ans	DW	 3 dup(?)	; sum of each column







Sample

.model small
.stack 100H
.data

.code
Sample  proc
	mov	ax, @data
	mov 	ds,	ax

;;	program goes here

	mov	al, 	0	; exit to DOS
	mov 	ah,	4ch	
	int	21h
	Sample	endp

Fact	PROC

;;	procedure goes here

	ret
Fact	ENDP

	end	Sample