home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-386-Vol-2of3.iso
/
b
/
bootp.zip
/
READDS.ASM
< prev
next >
Wrap
Assembly Source File
|
1992-02-08
|
640b
|
43 lines
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