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