summaryrefslogtreecommitdiff
path: root/device/lib/stm8/_fsneq.asm
diff options
context:
space:
mode:
Diffstat (limited to 'device/lib/stm8/_fsneq.asm')
-rw-r--r--device/lib/stm8/_fsneq.asm118
1 files changed, 0 insertions, 118 deletions
diff --git a/device/lib/stm8/_fsneq.asm b/device/lib/stm8/_fsneq.asm
deleted file mode 100644
index db511cb..0000000
--- a/device/lib/stm8/_fsneq.asm
+++ /dev/null
@@ -1,118 +0,0 @@
-;--------------------------------------------------------
-; File Created by SDCC : free open source ANSI-C Compiler
-; Version 3.9.3 #11345 (Linux)
-;--------------------------------------------------------
- .module _fsneq
- .optsdcc -mstm8
-
-;--------------------------------------------------------
-; Public variables in this module
-;--------------------------------------------------------
- .globl ___fsneq
-;--------------------------------------------------------
-; ram data
-;--------------------------------------------------------
- .area DATA
-;--------------------------------------------------------
-; ram data
-;--------------------------------------------------------
- .area INITIALIZED
-;--------------------------------------------------------
-; absolute external ram data
-;--------------------------------------------------------
- .area DABS (ABS)
-
-; default segment ordering for linker
- .area HOME
- .area GSINIT
- .area GSFINAL
- .area CONST
- .area INITIALIZER
- .area CODE
-
-;--------------------------------------------------------
-; global & static initialisations
-;--------------------------------------------------------
- .area HOME
- .area GSINIT
- .area GSFINAL
- .area GSINIT
-;--------------------------------------------------------
-; Home
-;--------------------------------------------------------
- .area HOME
- .area HOME
-;--------------------------------------------------------
-; code
-;--------------------------------------------------------
- .area CODE
-; ../_fsneq.c: 80: char __fsneq (float a1, float a2)
-; -----------------------------------------
-; function __fsneq
-; -----------------------------------------
-___fsneq:
- sub sp, #16
-; ../_fsneq.c: 84: fl1.f = a1;
- ldw y, (0x15, sp)
- ldw (0x03, sp), y
- ldw y, (0x13, sp)
- ldw (0x01, sp), y
-; ../_fsneq.c: 85: fl2.f = a2;
- ldw y, (0x19, sp)
- ldw (0x07, sp), y
- ldw y, (0x17, sp)
- ldw (0x05, sp), y
-; ../_fsneq.c: 87: if (fl1.l == fl2.l)
- ldw y, (0x03, sp)
- ldw (0x0b, sp), y
- ldw y, (0x01, sp)
- ldw (0x09, sp), y
- ldw y, (0x07, sp)
- ldw (0x0f, sp), y
- ldw y, (0x05, sp)
- ldw x, (0x0b, sp)
- cpw x, (0x0f, sp)
- jrne 00102$
- ldw x, y
- cpw x, (0x09, sp)
- jrne 00102$
-; ../_fsneq.c: 88: return (0);
- clr a
- jra 00105$
-00102$:
-; ../_fsneq.c: 89: if (((fl1.l | fl2.l) & 0x7FFFFFFF) == 0)
- ldw y, (0x03, sp)
- ldw (0x0f, sp), y
- ldw y, (0x01, sp)
- ldw (0x0d, sp), y
- ldw x, (0x07, sp)
- ldw y, (0x05, sp)
- ld a, xl
- or a, (0x10, sp)
- rlwa x
- or a, (0x0f, sp)
- ld xh, a
- ld a, yl
- or a, (0x0e, sp)
- rlwa y
- or a, (0x0d, sp)
- and a, #0x7f
- ld yh, a
- tnzw x
- jrne 00104$
- tnzw y
- jrne 00104$
-; ../_fsneq.c: 90: return (0);
- clr a
-; ../_fsneq.c: 91: return (1);
- .byte 0xc5
-00104$:
- ld a, #0x01
-00105$:
-; ../_fsneq.c: 92: }
- addw sp, #16
- ret
- .area CODE
- .area CONST
- .area INITIALIZER
- .area CABS (ABS)