	page	,132

;----------------------------------------------------------
;
; FUNCTION: This program initializes memory from
;	    544k to 576k.
;
; Author: Malcolm McCorquodale III
;	  3470 Locke Lane
;	  Houston, Texas 77027
;	  713 - 626 -4979
;
;----------------------------------------------------------
cseg	segment 'code'
	assume	cs:cseg
initmem proc	far
	push	ds	; Linkage.
	xor	ax,ax
	push	ax

	cld		; Set auto incr for string ops.
	mov	cx,544*1024/16
	mov	es,cx		; ES = 544kb.
	mov	cx,32*1024	; Initialize 32kb.
	xor	di,di		; Offset into ES at which to start.
	rep	stosb		; Init memory.

	ret			; Return to caller.
initmem endp
cseg	ends
	end
