;--------------------------------------------------------
; File Created by SDCC : FreeWare ANSI-C Compiler
; Version 2.4.0 Tue Oct 12 01:21:24 2004

;--------------------------------------------------------
	.module _fssub
	
	.area CSEG
	.area GSINIT
	.area GSFINAL
	.area XINIT
	.area DSEG
	.area OSEG    (OVR)
	.area BSEG
	.area XSEG
	.area XISEG
;--------------------------------------------------------
; Public variables in this module
;--------------------------------------------------------
	.globl ___fssub_PARM_2
	.globl ___fssub_PARM_1
	.globl ___fssub
;--------------------------------------------------------
;  ram data
;--------------------------------------------------------
	.area DSEG
___fssub_sloc0_1_0::
	.ds 4
;--------------------------------------------------------
; overlayable items in  ram 
;--------------------------------------------------------
	.area OSEG    (OVR)
;--------------------------------------------------------
; external initialized ram data
;--------------------------------------------------------
	.area XISEG
;--------------------------------------------------------
; extended address mode data
;--------------------------------------------------------
	.area XSEG
___fssub_PARM_1::
	.ds 4
___fssub_PARM_2::
	.ds 4
___fssub_fl1_1_1::
	.ds 4
___fssub_fl2_1_1::
	.ds 4
;--------------------------------------------------------
; global & static initialisations
;--------------------------------------------------------
	.area GSINIT
	.area GSFINAL
	.area GSINIT
;--------------------------------------------------------
; Home
;--------------------------------------------------------
	.area HOME
	.area CSEG
;--------------------------------------------------------
; code
;--------------------------------------------------------
	.area CSEG
;------------------------------------------------------------
;Allocation info for local variables in function '__fssub'
;------------------------------------------------------------
;sloc0                     Allocated with name '___fssub_sloc0_1_0'
;a1                        Allocated with name '___fssub_PARM_1'
;a2                        Allocated with name '___fssub_PARM_2'
;fl1                       Allocated with name '___fssub_fl1_1_1'
;fl2                       Allocated with name '___fssub_fl2_1_1'
;------------------------------------------------------------
;_fssub.c:28: float __fssub (float a1, float a2)
;	-----------------------------------------
;	 function __fssub
;	-----------------------------------------
___fssub:
;_fssub.c:32: fl1.f = a1;
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD(___fssub_fl1_1_1))
;     loadRegFromAop (a, EXT(___fssub_PARM_1), 0)
	lda	(___fssub_PARM_1 + 3)
;     storeRegToAop (a, EXT(___fssub_fl1_1_1), 0), stacked=0, isaddr=0
	sta	(___fssub_fl1_1_1 + 3)
;     loadRegFromAop (a, EXT(___fssub_PARM_1), 1)
	lda	(___fssub_PARM_1 + 2)
;     storeRegToAop (a, EXT(___fssub_fl1_1_1), 1), stacked=0, isaddr=0
	sta	(___fssub_fl1_1_1 + 2)
;     loadRegFromAop (a, EXT(___fssub_PARM_1), 2)
	lda	(___fssub_PARM_1 + 1)
;     storeRegToAop (a, EXT(___fssub_fl1_1_1), 2), stacked=0, isaddr=0
	sta	(___fssub_fl1_1_1 + 1)
;     loadRegFromAop (a, EXT(___fssub_PARM_1), 3)
	lda	___fssub_PARM_1
;     storeRegToAop (a, EXT(___fssub_fl1_1_1), 3), stacked=0, isaddr=0
	sta	___fssub_fl1_1_1
;_fssub.c:33: fl2.f = a2;
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD(___fssub_fl2_1_1))
;     loadRegFromAop (a, EXT(___fssub_PARM_2), 0)
	lda	(___fssub_PARM_2 + 3)
;     storeRegToAop (a, EXT(___fssub_fl2_1_1), 0), stacked=0, isaddr=0
	sta	(___fssub_fl2_1_1 + 3)
;     loadRegFromAop (a, EXT(___fssub_PARM_2), 1)
	lda	(___fssub_PARM_2 + 2)
;     storeRegToAop (a, EXT(___fssub_fl2_1_1), 1), stacked=0, isaddr=0
	sta	(___fssub_fl2_1_1 + 2)
;     loadRegFromAop (a, EXT(___fssub_PARM_2), 2)
	lda	(___fssub_PARM_2 + 1)
;     storeRegToAop (a, EXT(___fssub_fl2_1_1), 2), stacked=0, isaddr=0
	sta	(___fssub_fl2_1_1 + 1)
;     loadRegFromAop (a, EXT(___fssub_PARM_2), 3)
	lda	___fssub_PARM_2
;     storeRegToAop (a, EXT(___fssub_fl2_1_1), 3), stacked=0, isaddr=0
	sta	___fssub_fl2_1_1
;_fssub.c:36: if (!fl2.l)
;     genPointerGet
;     genFarPointerGet
;     genDataPointerGet
;     aopDerefAop(IMMD(___fssub_fl2_1_1))
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 0)
	lda	(___fssub_fl2_1_1 + 3)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 3)
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 1)
	lda	(___fssub_fl2_1_1 + 2)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 2)
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 2)
	lda	(___fssub_fl2_1_1 + 1)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 2), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 3)
	lda	___fssub_fl2_1_1
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 3), stacked=0, isaddr=0
	sta	*___fssub_sloc0_1_0
;     genIfx
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 0)
	lda	*(___fssub_sloc0_1_0 + 3)
	ora	*(___fssub_sloc0_1_0 + 2)
	ora	*(___fssub_sloc0_1_0 + 1)
	ora	*___fssub_sloc0_1_0
;     genIfxJump
; Peephole 2c	- eliminated jmp
	bne	00102$
00109$:
;_fssub.c:37: return (fl1.f);
;     genPointerGet
;     genFarPointerGet
;     genDataPointerGet
;     aopDerefAop(IMMD(___fssub_fl1_1_1))
;     loadRegFromAop (a, EXT(___fssub_fl1_1_1), 0)
	lda	(___fssub_fl1_1_1 + 3)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 3)
;     loadRegFromAop (a, EXT(___fssub_fl1_1_1), 1)
	lda	(___fssub_fl1_1_1 + 2)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 2)
;     loadRegFromAop (a, EXT(___fssub_fl1_1_1), 2)
	lda	(___fssub_fl1_1_1 + 1)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 2), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(___fssub_fl1_1_1), 3)
	lda	___fssub_fl1_1_1
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 3), stacked=0, isaddr=0
	sta	*___fssub_sloc0_1_0
;     genRet
	mov	*___fssub_sloc0_1_0,*__ret3
	mov	*(___fssub_sloc0_1_0 + 1),*__ret2
;     loadRegFromAop (x, DIR(___fssub_sloc0_1_0), 1)
	ldx	*(___fssub_sloc0_1_0 + 2)
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 0)
	lda	*(___fssub_sloc0_1_0 + 3)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
	jmp	00105$
00102$:
;_fssub.c:38: if (!fl1.l)
;     genPointerGet
;     genFarPointerGet
;     genDataPointerGet
;     aopDerefAop(IMMD(___fssub_fl1_1_1))
;     loadRegFromAop (a, EXT(___fssub_fl1_1_1), 0)
	lda	(___fssub_fl1_1_1 + 3)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 3)
;     loadRegFromAop (a, EXT(___fssub_fl1_1_1), 1)
	lda	(___fssub_fl1_1_1 + 2)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 2)
;     loadRegFromAop (a, EXT(___fssub_fl1_1_1), 2)
	lda	(___fssub_fl1_1_1 + 1)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 2), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(___fssub_fl1_1_1), 3)
	lda	___fssub_fl1_1_1
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 3), stacked=0, isaddr=0
	sta	*___fssub_sloc0_1_0
;     genIfx
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 0)
	lda	*(___fssub_sloc0_1_0 + 3)
	ora	*(___fssub_sloc0_1_0 + 2)
	ora	*(___fssub_sloc0_1_0 + 1)
	ora	*___fssub_sloc0_1_0
;     genIfxJump
; Peephole 2c	- eliminated jmp
	bne	00104$
00110$:
;_fssub.c:39: return (-fl2.f);
;     genPointerGet
;     genFarPointerGet
;     genDataPointerGet
;     aopDerefAop(IMMD(___fssub_fl2_1_1))
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 0)
	lda	(___fssub_fl2_1_1 + 3)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 3)
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 1)
	lda	(___fssub_fl2_1_1 + 2)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 2)
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 2)
	lda	(___fssub_fl2_1_1 + 1)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 2), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 3)
	lda	___fssub_fl2_1_1
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 3), stacked=0, isaddr=0
	sta	*___fssub_sloc0_1_0
;     genUminus
;     genUminusFloat
	mov	*(___fssub_sloc0_1_0 + 3),*(___fssub_sloc0_1_0 + 3)
	mov	*(___fssub_sloc0_1_0 + 2),*(___fssub_sloc0_1_0 + 2)
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 2)
	lda	*(___fssub_sloc0_1_0 + 1)
	eor	#0x80
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 2), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 1)
;     genRet
	mov	*___fssub_sloc0_1_0,*__ret3
	mov	*(___fssub_sloc0_1_0 + 1),*__ret2
;     loadRegFromAop (x, DIR(___fssub_sloc0_1_0), 1)
	ldx	*(___fssub_sloc0_1_0 + 2)
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 0)
	lda	*(___fssub_sloc0_1_0 + 3)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
	jmp	00105$
00104$:
;_fssub.c:42: fl2.l ^= SIGNBIT;
;     genPointerGet
;     genFarPointerGet
;     genDataPointerGet
;     aopDerefAop(IMMD(___fssub_fl2_1_1))
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 0)
	lda	(___fssub_fl2_1_1 + 3)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 3)
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 1)
	lda	(___fssub_fl2_1_1 + 2)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 2)
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 2)
	lda	(___fssub_fl2_1_1 + 1)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 2), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 3)
	lda	___fssub_fl2_1_1
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 3), stacked=0, isaddr=0
	sta	*___fssub_sloc0_1_0
;     genXor
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 0)
	lda	*(___fssub_sloc0_1_0 + 3)
	eor	#0x00
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 3)
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 1)
	lda	*(___fssub_sloc0_1_0 + 2)
	eor	#0x00
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 2)
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 2)
	lda	*(___fssub_sloc0_1_0 + 1)
	eor	#0x00
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 2), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 1)
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 3)
	lda	*___fssub_sloc0_1_0
	eor	#0x80
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 3), stacked=0, isaddr=0
	sta	*___fssub_sloc0_1_0
;     genPointerSet
;     genFarPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD(___fssub_fl2_1_1))
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 0)
	lda	*(___fssub_sloc0_1_0 + 3)
;     storeRegToAop (a, EXT(___fssub_fl2_1_1), 0), stacked=0, isaddr=0
	sta	(___fssub_fl2_1_1 + 3)
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 1)
	lda	*(___fssub_sloc0_1_0 + 2)
;     storeRegToAop (a, EXT(___fssub_fl2_1_1), 1), stacked=0, isaddr=0
	sta	(___fssub_fl2_1_1 + 2)
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 2)
	lda	*(___fssub_sloc0_1_0 + 1)
;     storeRegToAop (a, EXT(___fssub_fl2_1_1), 2), stacked=0, isaddr=0
	sta	(___fssub_fl2_1_1 + 1)
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 3)
	lda	*___fssub_sloc0_1_0
;     storeRegToAop (a, EXT(___fssub_fl2_1_1), 3), stacked=0, isaddr=0
	sta	___fssub_fl2_1_1
;_fssub.c:43: return fl1.f + fl2.f; 
;     genPointerGet
;     genFarPointerGet
;     genDataPointerGet
;     aopDerefAop(IMMD(___fssub_fl1_1_1))
;     loadRegFromAop (a, EXT(___fssub_fl1_1_1), 0)
	lda	(___fssub_fl1_1_1 + 3)
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 3)
;     loadRegFromAop (a, EXT(___fssub_fl1_1_1), 1)
	lda	(___fssub_fl1_1_1 + 2)
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 2)
;     loadRegFromAop (a, EXT(___fssub_fl1_1_1), 2)
	lda	(___fssub_fl1_1_1 + 1)
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_1 + 1)
;     loadRegFromAop (a, EXT(___fssub_fl1_1_1), 3)
	lda	___fssub_fl1_1_1
;     storeRegToAop (a, EXT(___fsadd_PARM_1), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_1
;     genPointerGet
;     genFarPointerGet
;     genDataPointerGet
;     aopDerefAop(IMMD(___fssub_fl2_1_1))
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 0)
	lda	(___fssub_fl2_1_1 + 3)
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 0), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 3)
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 1)
	lda	(___fssub_fl2_1_1 + 2)
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 1), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 2)
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 2)
	lda	(___fssub_fl2_1_1 + 1)
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 2), stacked=0, isaddr=1
	sta	(___fsadd_PARM_2 + 1)
;     loadRegFromAop (a, EXT(___fssub_fl2_1_1), 3)
	lda	___fssub_fl2_1_1
;     storeRegToAop (a, EXT(___fsadd_PARM_2), 3), stacked=0, isaddr=1
	sta	___fsadd_PARM_2
;     genCall
	jsr	___fsadd
;     loadRegFromAop (a, REG(-,-,-,a), 0)
; transferRegReg(a,a)
;     storeRegToAop (a, DIR(___fssub_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(___fssub_sloc0_1_0 + 3)
;     loadRegFromAop (x, REG(-,-,-,x), 0)
; transferRegReg(x,x)
;     storeRegToAop (x, DIR(___fssub_sloc0_1_0), 1), stacked=0, isaddr=0
	stx	*(___fssub_sloc0_1_0 + 2)
	mov	*__ret2,*(___fssub_sloc0_1_0 + 1)
	mov	*__ret3,*___fssub_sloc0_1_0
;     genRet
	mov	*___fssub_sloc0_1_0,*__ret3
	mov	*(___fssub_sloc0_1_0 + 1),*__ret2
;     loadRegFromAop (x, DIR(___fssub_sloc0_1_0), 1)
	ldx	*(___fssub_sloc0_1_0 + 2)
;     storeRegToAop (x, REG(-,-,-,x), 0), stacked=0, isaddr=0
; transferRegReg(x,x)
;     loadRegFromAop (a, DIR(___fssub_sloc0_1_0), 0)
	lda	*(___fssub_sloc0_1_0 + 3)
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
00105$:
	rts
	.area CSEG
	.area XINIT
