- Timestamp:
- Apr 13, 2000, 8:46:15 PM (25 years ago)
- Location:
- trunk/src/crtdll
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/crtdll/asmhlp.asm
r2177 r3370 1 ; $Id: asmhlp.asm,v 1. 1 1999-12-21 12:27:11sandervl Exp $1 ; $Id: asmhlp.asm,v 1.2 2000-04-13 18:46:15 sandervl Exp $ 2 2 3 3 .586P … … 14 14 _POP_FPU endp 15 15 16 public _SetEDX 17 _SetEDX proc near 18 mov edx, [esp+4]; 19 ret 20 _SetEDX endp 21 16 22 CODE32 ENDS 17 23 -
trunk/src/crtdll/asmhlp.h
r2177 r3370 1 // $Id: asmhlp.h,v 1. 1 1999-12-21 12:27:11sandervl Exp $1 // $Id: asmhlp.h,v 1.2 2000-04-13 18:46:15 sandervl Exp $ 2 2 #ifndef __ASMHLP_H__ 3 3 #define __ASMHLP_H__ … … 5 5 void CDECL POP_FPU(double &fpval); 6 6 7 void CDECL SetEDX(ULONG edx); 8 7 9 #endif -
trunk/src/crtdll/crtdll.cpp
r2855 r3370 1 /* $Id: crtdll.cpp,v 1.2 4 2000-02-21 23:11:30sandervl Exp $ */1 /* $Id: crtdll.cpp,v 1.25 2000-04-13 18:46:15 sandervl Exp $ */ 2 2 3 3 /* … … 2302 2302 * div (CRTDLL.355) 2303 2303 */ 2304 div_t CDECL CRTDLL_div( int numer, int denom ) 2305 { 2304 ULONG CDECL CRTDLL_div( int number, int denom ) 2305 { 2306 div_t divt; 2307 2306 2308 dprintf2(("CRTDLL: div\n")); 2307 return (div(numer, denom)); 2309 divt = (div(number, denom)); 2310 SetEDX(divt.rem); //NOTE: make sure the compiler doesn't overwrite edx! 2311 return divt.quot; 2308 2312 } 2309 2313
Note:
See TracChangeset
for help on using the changeset viewer.