CSC 222         Lab 9
Fall 2000

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

Topic: Working with macros

Write and test three macros that you could use with the next assignment.
You should look at the .lst file to see how the the macro is assembled.







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