dcompar.asm
bitfixer_bitfixer/dg/z88dk/libsrc/math/genmath/dcompar.asm
;
;       Z88dk Generic Floating Point Math Library
;
;       common routine for double precision comparisons
;
;       $Id: dcompar.asm,v 1.2 2015/01/19 01:32:56 pauloscustodio Exp $:


		PUBLIC	dcompar

		EXTERN	compare

.dcompar
	POP    HL      ;save 1st return addr
        POP     AF      ;save 2nd return addr
        POP     DE      ;get number to compare
        POP     IX 
        POP     BC
        PUSH    AF      ;replace 2nd addr
        PUSH    HL      ;replace 1st addr, fall into...
	jp	compare
