home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
libcvers.zip
/
article_appendix
/
wat16thk.asm
< prev
next >
Wrap
Assembly Source File
|
2001-11-09
|
700b
|
30 lines
; $Id: wat16thk.asm,v 1.1 2001/11/08 21:30:09 root Exp $
.386
extrn DosFlatToSel:near
extrn DosSelToFlat:near
public __FlatToFar16, __Far16ToFlat
cseg01 segment byte use32 public 'CODE'
assume cs:cseg01
assume es:nothing, ss:nothing, ds:nothing, fs:nothing, gs:nothing
__FlatToFar16 proc near
or eax, eax
jnz DosFlatToSel
retn
__FlatToFar16 endp
__Far16ToFlat proc near
or eax, eax
jnz DosSelToFlat
retn
__Far16ToFlat endp
cseg01 ends
end