diff options
| author | Xavier ASUS <xavi92psx@gmail.com> | 2019-10-23 03:38:32 +0200 |
|---|---|---|
| committer | Xavier ASUS <xavi92psx@gmail.com> | 2019-10-23 03:38:32 +0200 |
| commit | 2cece67cb5af0339e4ab1f18b0bce2f0b4e6ebdd (patch) | |
| tree | b2fbf4e99f194213527304c9189abe65c163ac0b /device/lib/stm8/_fs2slong.asm | |
| parent | ed26eb00026800d1d2ff6289627216c7d1f0d459 (diff) | |
| download | sdcc-gas-2cece67cb5af0339e4ab1f18b0bce2f0b4e6ebdd.tar.gz | |
Removed intermediate files
Diffstat (limited to 'device/lib/stm8/_fs2slong.asm')
| -rw-r--r-- | device/lib/stm8/_fs2slong.asm | 115 |
1 files changed, 0 insertions, 115 deletions
diff --git a/device/lib/stm8/_fs2slong.asm b/device/lib/stm8/_fs2slong.asm deleted file mode 100644 index 36e2d4d..0000000 --- a/device/lib/stm8/_fs2slong.asm +++ /dev/null @@ -1,115 +0,0 @@ -;-------------------------------------------------------- -; File Created by SDCC : free open source ANSI-C Compiler -; Version 3.9.3 #11345 (Linux) -;-------------------------------------------------------- - .module _fs2slong - .optsdcc -mstm8 - -;-------------------------------------------------------- -; Public variables in this module -;-------------------------------------------------------- - .globl ___fs2ulong - .globl ___fs2slong -;-------------------------------------------------------- -; 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 -; ../_fs2slong.c: 108: signed long __fs2slong (float f) -; ----------------------------------------- -; function __fs2slong -; ----------------------------------------- -___fs2slong: - sub sp, #4 -; ../_fs2slong.c: 111: if (!f) - ldw x, (0x09, sp) - jrne 00102$ - ldw x, (0x07, sp) - sllw x - jrne 00102$ -; ../_fs2slong.c: 112: return 0; - clrw x - clrw y - jra 00106$ -00102$: -; ../_fs2slong.c: 114: if (f<0) { - clrw x - pushw x - clrw x - pushw x - ldw x, (0x0d, sp) - pushw x - ldw x, (0x0d, sp) - pushw x - call ___fslt - addw sp, #8 - tnz a - jreq 00104$ -; ../_fs2slong.c: 115: return -__fs2ulong(-f); - ldw y, (0x09, sp) - ldw x, (0x07, sp) - sllw x - ccf - rrcw x - pushw y - pushw x - call ___fs2ulong - addw sp, #4 - ldw (0x03, sp), x - ldw (0x01, sp), y - ldw x, (0x03, sp) - negw x - ldw y, (0x01, sp) - jrnc 00121$ - incw y -00121$: - negw y - jra 00106$ -00104$: -; ../_fs2slong.c: 117: return __fs2ulong(f); - ldw x, (0x09, sp) - pushw x - ldw x, (0x09, sp) - pushw x - call ___fs2ulong - addw sp, #4 -00106$: -; ../_fs2slong.c: 119: } - addw sp, #4 - ret - .area CODE - .area CONST - .area INITIALIZER - .area CABS (ABS) |
