home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
CASM.ARJ
/
INT.ASM
< prev
next >
Wrap
Assembly Source File
|
1988-04-21
|
1KB
|
79 lines
;_ int.asm Thu Feb 18 1988 Modified by: Walter Bright */
; Copyright (C) 1984-1988 by Northwest Software
; All Rights Reserved
; Written by Walter Bright
_DATA segment word public 'DATA'
public _MAXDOUBLE,_MINDOUBLE,_MAXFLOAT,_MINFLOAT
_MAXDOUBLE label byte
_MINDOUBLE label byte
_MAXFLOAT label byte
_MINFLOAT label byte
nofloat db 0Dh,0Ah,'Floating point not loaded',0Dh,0Ah,'$'
_DATA ends
DGROUP group _DATA
_TEXT segment byte public 'CODE'
assume CS:_TEXT,DS:DGROUP
public __DADD@,__DSUB@,__DMUL@,__DDIV@,__DNEG@,__DTST@,__DCMP@
public __DBLINT@,__INTDBL@,__DBLUNS@,__UNSDBL@,__DBLFLT@,__FLTDBL@
public __DBLLNG@,__LNGDBL@,__DBLULNG@,__ULNGDBL@
public __DTST87@,__87TOPSW@,__DBLTO87@,__FLTTO87@,__DBLINT87@
public __DBLLNG87@
public __INTFLT@,__UNSFLT@,__LNGFLT@,__FLTINT@,__FLTUNS,__FLTLNG@
__DADD@:
__DSUB@:
__DMUL@:
__DDIV@:
__DNEG@:
__DTST@:
__DCMP@:
__DBLINT@:
__INTDBL@:
__DBLUNS@:
__UNSDBL@:
__DBLFLT@:
__FLTDBL@:
__DBLLNG@:
__LNGDBL@:
__DBLULNG@:
__ULNGDBL@:
__DTST87@:
__87TOPSW@:
__DBLTO87@:
__FLTTO87@:
__DBLINT:
__DBLINT87@:
__DBLLNG87@:
__INTFLT@:
__UNSFLT@:
__LNGFLT@:
__FLTINT@:
__FLTUNS:
__FLTLNG@:
public _ecvt,_fcvt,_atof,_frexp,_ldexp,_strtod
_ecvt:
_fcvt:
_atof:
_frexp:
_ldexp:
_strtod:
mov DX,offset DGROUP:nofloat
mov AH,9
int 21h
mov AX,4C01h ;terminate a process
int 21h
_TEXT ends
end