diff options
Diffstat (limited to 'device/lib/stm8/_fs2sint.lst')
| -rw-r--r-- | device/lib/stm8/_fs2sint.lst | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/device/lib/stm8/_fs2sint.lst b/device/lib/stm8/_fs2sint.lst deleted file mode 100644 index 90d3dee..0000000 --- a/device/lib/stm8/_fs2sint.lst +++ /dev/null @@ -1,98 +0,0 @@ - 1 ;-------------------------------------------------------- - 2 ; File Created by SDCC : free open source ANSI-C Compiler - 3 ; Version 3.9.3 #11345 (Linux) - 4 ;-------------------------------------------------------- - 5 .module _fs2sint - 6 .optsdcc -mstm8 - 7 - 8 ;-------------------------------------------------------- - 9 ; Public variables in this module - 10 ;-------------------------------------------------------- - 11 .globl ___fs2slong - 12 .globl ___fs2sint - 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 ; ../_fs2sint.c: 81: signed int __fs2sint (float f) - 51 ; ----------------------------------------- - 52 ; function __fs2sint - 53 ; ----------------------------------------- - 000000 54 ___fs2sint: - 000000 52 04 [ 2] 55 sub sp, #4 - 56 ; ../_fs2sint.c: 83: signed long sl=__fs2slong(f); - 000002 1E 09 [ 2] 57 ldw x, (0x09, sp) - 000004 89 [ 2] 58 pushw x - 000005 1E 09 [ 2] 59 ldw x, (0x09, sp) - 000007 89 [ 2] 60 pushw x - 000008 CDr00r00 [ 4] 61 call ___fs2slong - 00000B 5B 04 [ 2] 62 addw sp, #4 - 00000D 1F 03 [ 2] 63 ldw (0x03, sp), x - 00000F 17 01 [ 2] 64 ldw (0x01, sp), y - 65 ; ../_fs2sint.c: 84: if (sl>=INT_MAX) - 000011 1E 03 [ 2] 66 ldw x, (0x03, sp) - 000013 A3 7F FF [ 2] 67 cpw x, #0x7fff - 000016 7B 02 [ 1] 68 ld a, (0x02, sp) - 000018 A2 00 [ 1] 69 sbc a, #0x00 - 00001A 7B 01 [ 1] 70 ld a, (0x01, sp) - 00001C A2 00 [ 1] 71 sbc a, #0x00 - 00001E 2F 05 [ 1] 72 jrslt 00102$ - 73 ; ../_fs2sint.c: 85: return INT_MAX; - 000020 AE 7F FF [ 2] 74 ldw x, #0x7fff - 000023 20 15 [ 2] 75 jra 00105$ - 000025 76 00102$: - 77 ; ../_fs2sint.c: 86: if (sl<=INT_MIN) - 000025 AE 80 00 [ 2] 78 ldw x, #0x8000 - 000028 13 03 [ 2] 79 cpw x, (0x03, sp) - 00002A A6 FF [ 1] 80 ld a, #0xff - 00002C 12 02 [ 1] 81 sbc a, (0x02, sp) - 00002E A6 FF [ 1] 82 ld a, #0xff - 000030 12 01 [ 1] 83 sbc a, (0x01, sp) - 000032 2F 04 [ 1] 84 jrslt 00104$ - 85 ; ../_fs2sint.c: 87: return -INT_MIN; - 000034 AE 80 00 [ 2] 86 ldw x, #0x8000 - 87 ; ../_fs2sint.c: 88: return sl; - 000037 C5 88 .byte 0xc5 - 000038 89 00104$: - 000038 1E 03 [ 2] 90 ldw x, (0x03, sp) - 00003A 91 00105$: - 92 ; ../_fs2sint.c: 89: } - 00003A 5B 04 [ 2] 93 addw sp, #4 - 00003C 81 [ 4] 94 ret - 95 .area CODE - 96 .area CONST - 97 .area INITIALIZER - 98 .area CABS (ABS) |
