home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
C
/
JAZLIB
/
GETDS.ASM
< prev
next >
Wrap
Assembly Source File
|
1993-12-01
|
1KB
|
27 lines
Comment *
┌────────────────────────────────────────────────────────────────────────────┐
│getds.asm │
│Return the Code segment value │
│ │
│Usage: │
│ unsigned int ds; │
│ │
│ ds = getds(); │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*
title get ds value
name getds
assume cs:_text
_text segment public byte 'code'
public _getds
_getds proc near
mov ax,ds
ret
_getds endp
_text ends
end