summaryrefslogtreecommitdiff
path: root/frontends/calculator/CEdev/lib/shared/fpsub.src
blob: cefa0e3f05b6f3c6db0004f7b2f968c4961819d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
;--------------------------------------------------------------
;
;			Code Generation Helper
;		    For the Zilog eZ80 C Compiler
;	        Copyright 1992-2008 Zilog, Inc. 
;
;--------------------------------------------------------------
;--------------------------------------------------------------
;
;	  	IEEE Single precision sub
; Input:
;	Operand1: 
;		  abc : 32 bit IEEE single precision
;
;	Operand2: 
;		  ehl : 32 bit IEEE single precision
;
; Output:
;	Result:   abc : 32 bit IEEE single precision (abc - ehl)
; Registers Used:

;-------------------------------------------------------------------------
	.def __fsub
	.ref __fadd
	.assume adl=1

__fsub		equ 000290h