diff options
Diffstat (limited to 'device/lib/stm8/sinf.asm')
| -rw-r--r-- | device/lib/stm8/sinf.asm | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/device/lib/stm8/sinf.asm b/device/lib/stm8/sinf.asm deleted file mode 100644 index a7969ca..0000000 --- a/device/lib/stm8/sinf.asm +++ /dev/null @@ -1,78 +0,0 @@ -;-------------------------------------------------------- -; File Created by SDCC : free open source ANSI-C Compiler -; Version 3.9.3 #11345 (Linux) -;-------------------------------------------------------- - .module sinf - .optsdcc -mstm8 - -;-------------------------------------------------------- -; Public variables in this module -;-------------------------------------------------------- - .globl _sincosf - .globl _sinf -;-------------------------------------------------------- -; 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 -; ../sinf.c: 36: float sinf(float x) _FLOAT_FUNC_REENTRANT -; ----------------------------------------- -; function sinf -; ----------------------------------------- -_sinf: -; ../sinf.c: 38: if (x==0.0) return 0.0; - ldw x, (0x05, sp) - jrne 00102$ - ldw x, (0x03, sp) - sllw x - jrne 00102$ - clrw x - clrw y - ret -00102$: -; ../sinf.c: 39: return sincosf(x, 0); - push #0x00 - ldw x, (0x06, sp) - pushw x - ldw x, (0x06, sp) - pushw x - call _sincosf - addw sp, #5 -; ../sinf.c: 40: } - ret - .area CODE - .area CONST - .area INITIALIZER - .area CABS (ABS) |
