diff options
Diffstat (limited to 'device/lib/stm8/_fs2slong.lst')
| -rw-r--r-- | device/lib/stm8/_fs2slong.lst | 115 |
1 files changed, 0 insertions, 115 deletions
diff --git a/device/lib/stm8/_fs2slong.lst b/device/lib/stm8/_fs2slong.lst deleted file mode 100644 index 5c01bf9..0000000 --- a/device/lib/stm8/_fs2slong.lst +++ /dev/null @@ -1,115 +0,0 @@ - 1 ;-------------------------------------------------------- - 2 ; File Created by SDCC : free open source ANSI-C Compiler - 3 ; Version 3.9.3 #11345 (Linux) - 4 ;-------------------------------------------------------- - 5 .module _fs2slong - 6 .optsdcc -mstm8 - 7 - 8 ;-------------------------------------------------------- - 9 ; Public variables in this module - 10 ;-------------------------------------------------------- - 11 .globl ___fs2ulong - 12 .globl ___fs2slong - 13 ;-------------------------------------------------------- - 14 ; ram data - 15 ;-------------------------------------------------------- - 16 .area DATA - 17 ;-------------------------------------------------------- - 18 ; ram data - 19 ;-------------------------------------------------------- - 20 .area INITIALIZED - 21 ;-------------------------------------------------------- - 22 ; absolute external ram data - 23 ;-------------------------------------------------------- - 24 .area DABS (ABS) - 25 - 26 ; default segment ordering for linker - 27 .area HOME - 28 .area GSINIT - 29 .area GSFINAL - 30 .area CONST - 31 .area INITIALIZER - 32 .area CODE - 33 - 34 ;-------------------------------------------------------- - 35 ; global & static initialisations - 36 ;-------------------------------------------------------- - 37 .area HOME - 38 .area GSINIT - 39 .area GSFINAL - 40 .area GSINIT - 41 ;-------------------------------------------------------- - 42 ; Home - 43 ;-------------------------------------------------------- - 44 .area HOME - 45 .area HOME - 46 ;-------------------------------------------------------- - 47 ; code - 48 ;-------------------------------------------------------- - 49 .area CODE - 50 ; ../_fs2slong.c: 108: signed long __fs2slong (float f) - 51 ; ----------------------------------------- - 52 ; function __fs2slong - 53 ; ----------------------------------------- - 000000 54 ___fs2slong: - 000000 52 04 [ 2] 55 sub sp, #4 - 56 ; ../_fs2slong.c: 111: if (!f) - 000002 1E 09 [ 2] 57 ldw x, (0x09, sp) - 000004 26 0A [ 1] 58 jrne 00102$ - 000006 1E 07 [ 2] 59 ldw x, (0x07, sp) - 000008 58 [ 2] 60 sllw x - 000009 26 05 [ 1] 61 jrne 00102$ - 62 ; ../_fs2slong.c: 112: return 0; - 00000B 5F [ 1] 63 clrw x - 00000C 90 5F [ 1] 64 clrw y - 00000E 20 3D [ 2] 65 jra 00106$ - 000010 66 00102$: - 67 ; ../_fs2slong.c: 114: if (f<0) { - 000010 5F [ 1] 68 clrw x - 000011 89 [ 2] 69 pushw x - 000012 5F [ 1] 70 clrw x - 000013 89 [ 2] 71 pushw x - 000014 1E 0D [ 2] 72 ldw x, (0x0d, sp) - 000016 89 [ 2] 73 pushw x - 000017 1E 0D [ 2] 74 ldw x, (0x0d, sp) - 000019 89 [ 2] 75 pushw x - 00001A CDr00r00 [ 4] 76 call ___fslt - 00001D 5B 08 [ 2] 77 addw sp, #8 - 00001F 4D [ 1] 78 tnz a - 000020 27 20 [ 1] 79 jreq 00104$ - 80 ; ../_fs2slong.c: 115: return -__fs2ulong(-f); - 000022 16 09 [ 2] 81 ldw y, (0x09, sp) - 000024 1E 07 [ 2] 82 ldw x, (0x07, sp) - 000026 58 [ 2] 83 sllw x - 000027 8C [ 1] 84 ccf - 000028 56 [ 2] 85 rrcw x - 000029 90 89 [ 2] 86 pushw y - 00002B 89 [ 2] 87 pushw x - 00002C CDr00r00 [ 4] 88 call ___fs2ulong - 00002F 5B 04 [ 2] 89 addw sp, #4 - 000031 1F 03 [ 2] 90 ldw (0x03, sp), x - 000033 17 01 [ 2] 91 ldw (0x01, sp), y - 000035 1E 03 [ 2] 92 ldw x, (0x03, sp) - 000037 50 [ 2] 93 negw x - 000038 16 01 [ 2] 94 ldw y, (0x01, sp) - 00003A 24 02 [ 1] 95 jrnc 00121$ - 00003C 90 5C [ 1] 96 incw y - 00003E 97 00121$: - 00003E 90 50 [ 2] 98 negw y - 000040 20 0B [ 2] 99 jra 00106$ - 000042 100 00104$: - 101 ; ../_fs2slong.c: 117: return __fs2ulong(f); - 000042 1E 09 [ 2] 102 ldw x, (0x09, sp) - 000044 89 [ 2] 103 pushw x - 000045 1E 09 [ 2] 104 ldw x, (0x09, sp) - 000047 89 [ 2] 105 pushw x - 000048 CDr00r00 [ 4] 106 call ___fs2ulong - 00004B 5B 04 [ 2] 107 addw sp, #4 - 00004D 108 00106$: - 109 ; ../_fs2slong.c: 119: } - 00004D 5B 04 [ 2] 110 addw sp, #4 - 00004F 81 [ 4] 111 ret - 112 .area CODE - 113 .area CONST - 114 .area INITIALIZER - 115 .area CABS (ABS) |
