PAGE	66,132
;
;
;
;
;
;
;
;
;  readds.asm
;
;  usage:
;	    unsigned int readds()
;	    segment = readds();
;
;  Function to allow a C program to determine the DS register
;
;  (c) 1984 University of Waterloo,
;           Faculty of Engineering,
;           Engineering Microcomputer Network Development Office
;
;  version
;
;    0.0    01-May-1984   B. T. Campbell 
;
;
	include masmdefs.hsm
	include	model.hsm

codedef READDS
datadef

cstart  READDS
cproc	readds

	mov	AX,DS
	ret

cendp   readds
cend    READDS

        end
