;--------------------------------------------------------
; File Created by SDCC : FreeWare ANSI-C Compiler
; Version 2.6.1 #4330 (Oct 18 2006)
; This file generated Wed Oct 18 23:31:06 2006
;--------------------------------------------------------
	.module _fsgt
	.optsdcc -mhc08
	
	.area HOME (CODE)
	.area GSINIT0 (CODE)
	.area GSINIT (CODE)
	.area GSFINAL (CODE)
	.area CSEG (CODE)
	.area XINIT
	.area CONST   (CODE)
	.area DSEG
	.area OSEG    (OVR)
	.area BSEG
	.area XSEG
	.area XISEG
;--------------------------------------------------------
; Public variables in this module
;--------------------------------------------------------
	.globl ___fsgt_PARM_2
	.globl ___fsgt_PARM_1
	.globl ___fsgt
;--------------------------------------------------------
;  ram data
;--------------------------------------------------------
	.area DSEG
;--------------------------------------------------------
; overlayable items in  ram 
;--------------------------------------------------------
	.area	OSEG    (OVR)
___fsgt_sloc0_1_0::
	.ds 4
___fsgt_sloc1_1_0::
	.ds 4
;--------------------------------------------------------
; external initialized ram data
;--------------------------------------------------------
	.area XISEG
;--------------------------------------------------------
; extended address mode data
;--------------------------------------------------------
	.area XSEG
___fsgt_PARM_1:
	.ds 4
___fsgt_PARM_2:
	.ds 4
___fsgt_fl1_1_1:
	.ds 4
___fsgt_fl2_1_1:
	.ds 4
;--------------------------------------------------------
; global & static initialisations
;--------------------------------------------------------
	.area HOME (CODE)
	.area GSINIT (CODE)
	.area GSFINAL (CODE)
	.area GSINIT (CODE)
;--------------------------------------------------------
; Home
;--------------------------------------------------------
	.area HOME (CODE)
	.area CSEG (CODE)
;--------------------------------------------------------
; code
;--------------------------------------------------------
	.area CSEG (CODE)
;------------------------------------------------------------
;Allocation info for local variables in function '__fsgt'
;------------------------------------------------------------
;a1                        Allocated with name '___fsgt_PARM_1'
;a2                        Allocated with name '___fsgt_PARM_2'
;fl1                       Allocated with name '___fsgt_fl1_1_1'
;fl2                       Allocated with name '___fsgt_fl2_1_1'
;sloc0                     Allocated with name '___fsgt_sloc0_1_0'
;sloc1                     Allocated with name '___fsgt_sloc1_1_0'
;------------------------------------------------------------
;_fsgt.c:101: char __fsgt (float a1, float a2)
;	-----------------------------------------
;	 function __fsgt
;	-----------------------------------------
___fsgt:
;_fsgt.c:105: fl1.f = a1;
;     genPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD(___fsgt_fl1_1_1))
;     loadRegFromAop (a, EXT(___fsgt_PARM_1), 3)
	lda	___fsgt_PARM_1
;     storeRegToAop (a, EXT(___fsgt_fl1_1_1), 3), stacked=0, isaddr=0
	sta	___fsgt_fl1_1_1
;     loadRegFromAop (a, EXT(___fsgt_PARM_1), 2)
	lda	(___fsgt_PARM_1 + 1)
;     storeRegToAop (a, EXT(___fsgt_fl1_1_1), 2), stacked=0, isaddr=0
	sta	(___fsgt_fl1_1_1 + 1)
;     loadRegFromAop (a, EXT(___fsgt_PARM_1), 1)
	lda	(___fsgt_PARM_1 + 2)
;     storeRegToAop (a, EXT(___fsgt_fl1_1_1), 1), stacked=0, isaddr=0
	sta	(___fsgt_fl1_1_1 + 2)
;     loadRegFromAop (a, EXT(___fsgt_PARM_1), 0)
	lda	(___fsgt_PARM_1 + 3)
;     storeRegToAop (a, EXT(___fsgt_fl1_1_1), 0), stacked=0, isaddr=0
	sta	(___fsgt_fl1_1_1 + 3)
;_fsgt.c:106: fl2.f = a2;
;     genPointerSet
;     genDataPointerSet
;     aopDerefAop(IMMD(___fsgt_fl2_1_1))
;     loadRegFromAop (a, EXT(___fsgt_PARM_2), 3)
	lda	___fsgt_PARM_2
;     storeRegToAop (a, EXT(___fsgt_fl2_1_1), 3), stacked=0, isaddr=0
	sta	___fsgt_fl2_1_1
;     loadRegFromAop (a, EXT(___fsgt_PARM_2), 2)
	lda	(___fsgt_PARM_2 + 1)
;     storeRegToAop (a, EXT(___fsgt_fl2_1_1), 2), stacked=0, isaddr=0
	sta	(___fsgt_fl2_1_1 + 1)
;     loadRegFromAop (a, EXT(___fsgt_PARM_2), 1)
	lda	(___fsgt_PARM_2 + 2)
;     storeRegToAop (a, EXT(___fsgt_fl2_1_1), 1), stacked=0, isaddr=0
	sta	(___fsgt_fl2_1_1 + 2)
;     loadRegFromAop (a, EXT(___fsgt_PARM_2), 0)
	lda	(___fsgt_PARM_2 + 3)
;     storeRegToAop (a, EXT(___fsgt_fl2_1_1), 0), stacked=0, isaddr=0
	sta	(___fsgt_fl2_1_1 + 3)
;_fsgt.c:108: if (fl1.l<0 && fl2.l<0) {
;     genPointerGet
;     genDataPointerGet
;     aopDerefAop(IMMD(___fsgt_fl1_1_1))
;     loadRegFromAop (a, EXT(___fsgt_fl1_1_1), 3)
	lda	___fsgt_fl1_1_1
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 3), stacked=0, isaddr=0
	sta	*___fsgt_sloc0_1_0
;     loadRegFromAop (a, EXT(___fsgt_fl1_1_1), 2)
	lda	(___fsgt_fl1_1_1 + 1)
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 2), stacked=0, isaddr=0
	sta	*(___fsgt_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(___fsgt_fl1_1_1), 1)
	lda	(___fsgt_fl1_1_1 + 2)
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*(___fsgt_sloc0_1_0 + 2)
;     loadRegFromAop (a, EXT(___fsgt_fl1_1_1), 0)
	lda	(___fsgt_fl1_1_1 + 3)
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(___fsgt_sloc0_1_0 + 3)
;     genCmp	(<)
;     loadRegFromAop (a, DIR(___fsgt_sloc0_1_0), 3)
	lda	*___fsgt_sloc0_1_0
	sub	#0x00
	blt	00114$
; Peephole 3	- shortened jmp to bra
	bra	00104$
00114$:
;     genPointerGet
;     genDataPointerGet
;     aopDerefAop(IMMD(___fsgt_fl2_1_1))
;     loadRegFromAop (a, EXT(___fsgt_fl2_1_1), 3)
	lda	___fsgt_fl2_1_1
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 3), stacked=0, isaddr=0
	sta	*___fsgt_sloc0_1_0
;     loadRegFromAop (a, EXT(___fsgt_fl2_1_1), 2)
	lda	(___fsgt_fl2_1_1 + 1)
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 2), stacked=0, isaddr=0
	sta	*(___fsgt_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(___fsgt_fl2_1_1), 1)
	lda	(___fsgt_fl2_1_1 + 2)
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*(___fsgt_sloc0_1_0 + 2)
;     loadRegFromAop (a, EXT(___fsgt_fl2_1_1), 0)
	lda	(___fsgt_fl2_1_1 + 3)
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(___fsgt_sloc0_1_0 + 3)
;     genCmp	(<)
;     loadRegFromAop (a, DIR(___fsgt_sloc0_1_0), 3)
	lda	*___fsgt_sloc0_1_0
	sub	#0x00
; Peephole 2l	- eliminated bra
	bge	00104$
00115$:
;_fsgt.c:109: if (fl2.l > fl1.l)
;     genPointerGet
;     genDataPointerGet
;     aopDerefAop(IMMD(___fsgt_fl2_1_1))
;     loadRegFromAop (a, EXT(___fsgt_fl2_1_1), 3)
	lda	___fsgt_fl2_1_1
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 3), stacked=0, isaddr=0
	sta	*___fsgt_sloc0_1_0
;     loadRegFromAop (a, EXT(___fsgt_fl2_1_1), 2)
	lda	(___fsgt_fl2_1_1 + 1)
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 2), stacked=0, isaddr=0
	sta	*(___fsgt_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(___fsgt_fl2_1_1), 1)
	lda	(___fsgt_fl2_1_1 + 2)
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*(___fsgt_sloc0_1_0 + 2)
;     loadRegFromAop (a, EXT(___fsgt_fl2_1_1), 0)
	lda	(___fsgt_fl2_1_1 + 3)
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(___fsgt_sloc0_1_0 + 3)
;     genPointerGet
;     genDataPointerGet
;     aopDerefAop(IMMD(___fsgt_fl1_1_1))
;     loadRegFromAop (a, EXT(___fsgt_fl1_1_1), 3)
	lda	___fsgt_fl1_1_1
;     storeRegToAop (a, DIR(___fsgt_sloc1_1_0), 3), stacked=0, isaddr=0
	sta	*___fsgt_sloc1_1_0
;     loadRegFromAop (a, EXT(___fsgt_fl1_1_1), 2)
	lda	(___fsgt_fl1_1_1 + 1)
;     storeRegToAop (a, DIR(___fsgt_sloc1_1_0), 2), stacked=0, isaddr=0
	sta	*(___fsgt_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(___fsgt_fl1_1_1), 1)
	lda	(___fsgt_fl1_1_1 + 2)
;     storeRegToAop (a, DIR(___fsgt_sloc1_1_0), 1), stacked=0, isaddr=0
	sta	*(___fsgt_sloc1_1_0 + 2)
;     loadRegFromAop (a, EXT(___fsgt_fl1_1_1), 0)
	lda	(___fsgt_fl1_1_1 + 3)
;     storeRegToAop (a, DIR(___fsgt_sloc1_1_0), 0), stacked=0, isaddr=0
	sta	*(___fsgt_sloc1_1_0 + 3)
;     genCmp	(>)
;     loadRegFromAop (a, DIR(___fsgt_sloc1_1_0), 0)
	lda	*(___fsgt_sloc1_1_0 + 3)
	sub	*(___fsgt_sloc0_1_0 + 3)
;     loadRegFromAop (a, DIR(___fsgt_sloc1_1_0), 1)
	lda	*(___fsgt_sloc1_1_0 + 2)
	sbc	*(___fsgt_sloc0_1_0 + 2)
;     loadRegFromAop (a, DIR(___fsgt_sloc1_1_0), 2)
	lda	*(___fsgt_sloc1_1_0 + 1)
	sbc	*(___fsgt_sloc0_1_0 + 1)
;     loadRegFromAop (a, DIR(___fsgt_sloc1_1_0), 3)
	lda	*___fsgt_sloc1_1_0
	sbc	*___fsgt_sloc0_1_0
; Peephole 2l	- eliminated bra
	bge	00102$
00116$:
;_fsgt.c:110: return (1);
;     genRet
;     loadRegFromAop (a, LIT(#0x01), 0)
	lda	#0x01
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
; Peephole 3	- shortened jmp to bra
; Peephole 6b  - replaced jmp to rts with rts
	rts
00102$:
;_fsgt.c:111: return (0);
;     genRet
;     loadRegFromAop (a, LIT(#0x00), 0)
	clra
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
; Peephole 3	- shortened jmp to bra
; Peephole 6b  - replaced jmp to rts with rts
	rts
00104$:
;_fsgt.c:114: if (fl1.l > fl2.l)
;     genPointerGet
;     genDataPointerGet
;     aopDerefAop(IMMD(___fsgt_fl1_1_1))
;     loadRegFromAop (a, EXT(___fsgt_fl1_1_1), 3)
	lda	___fsgt_fl1_1_1
;     storeRegToAop (a, DIR(___fsgt_sloc1_1_0), 3), stacked=0, isaddr=0
	sta	*___fsgt_sloc1_1_0
;     loadRegFromAop (a, EXT(___fsgt_fl1_1_1), 2)
	lda	(___fsgt_fl1_1_1 + 1)
;     storeRegToAop (a, DIR(___fsgt_sloc1_1_0), 2), stacked=0, isaddr=0
	sta	*(___fsgt_sloc1_1_0 + 1)
;     loadRegFromAop (a, EXT(___fsgt_fl1_1_1), 1)
	lda	(___fsgt_fl1_1_1 + 2)
;     storeRegToAop (a, DIR(___fsgt_sloc1_1_0), 1), stacked=0, isaddr=0
	sta	*(___fsgt_sloc1_1_0 + 2)
;     loadRegFromAop (a, EXT(___fsgt_fl1_1_1), 0)
	lda	(___fsgt_fl1_1_1 + 3)
;     storeRegToAop (a, DIR(___fsgt_sloc1_1_0), 0), stacked=0, isaddr=0
	sta	*(___fsgt_sloc1_1_0 + 3)
;     genPointerGet
;     genDataPointerGet
;     aopDerefAop(IMMD(___fsgt_fl2_1_1))
;     loadRegFromAop (a, EXT(___fsgt_fl2_1_1), 3)
	lda	___fsgt_fl2_1_1
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 3), stacked=0, isaddr=0
	sta	*___fsgt_sloc0_1_0
;     loadRegFromAop (a, EXT(___fsgt_fl2_1_1), 2)
	lda	(___fsgt_fl2_1_1 + 1)
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 2), stacked=0, isaddr=0
	sta	*(___fsgt_sloc0_1_0 + 1)
;     loadRegFromAop (a, EXT(___fsgt_fl2_1_1), 1)
	lda	(___fsgt_fl2_1_1 + 2)
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 1), stacked=0, isaddr=0
	sta	*(___fsgt_sloc0_1_0 + 2)
;     loadRegFromAop (a, EXT(___fsgt_fl2_1_1), 0)
	lda	(___fsgt_fl2_1_1 + 3)
;     storeRegToAop (a, DIR(___fsgt_sloc0_1_0), 0), stacked=0, isaddr=0
	sta	*(___fsgt_sloc0_1_0 + 3)
;     genCmp	(>)
;     loadRegFromAop (a, DIR(___fsgt_sloc0_1_0), 0)
	lda	*(___fsgt_sloc0_1_0 + 3)
	sub	*(___fsgt_sloc1_1_0 + 3)
;     loadRegFromAop (a, DIR(___fsgt_sloc0_1_0), 1)
	lda	*(___fsgt_sloc0_1_0 + 2)
	sbc	*(___fsgt_sloc1_1_0 + 2)
;     loadRegFromAop (a, DIR(___fsgt_sloc0_1_0), 2)
	lda	*(___fsgt_sloc0_1_0 + 1)
	sbc	*(___fsgt_sloc1_1_0 + 1)
;     loadRegFromAop (a, DIR(___fsgt_sloc0_1_0), 3)
	lda	*___fsgt_sloc0_1_0
	sbc	*___fsgt_sloc1_1_0
; Peephole 2l	- eliminated bra
	bge	00107$
00117$:
;_fsgt.c:115: return (1);
;     genRet
;     loadRegFromAop (a, LIT(#0x01), 0)
	lda	#0x01
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
; Peephole 3	- shortened jmp to bra
; Peephole 6b  - replaced jmp to rts with rts
	rts
00107$:
;_fsgt.c:116: return (0);
;     genRet
;     loadRegFromAop (a, LIT(#0x00), 0)
	clra
;     storeRegToAop (a, REG(-,-,-,a), 0), stacked=0, isaddr=0
; transferRegReg(a,a)
00108$:
	rts
	.area CSEG (CODE)
	.area CONST   (CODE)
	.area XINIT
