diff options
Diffstat (limited to 'device/lib/stm8/_ulong2fs.lst')
| -rw-r--r-- | device/lib/stm8/_ulong2fs.lst | 152 |
1 files changed, 0 insertions, 152 deletions
diff --git a/device/lib/stm8/_ulong2fs.lst b/device/lib/stm8/_ulong2fs.lst deleted file mode 100644 index dd891db..0000000 --- a/device/lib/stm8/_ulong2fs.lst +++ /dev/null @@ -1,152 +0,0 @@ - 1 ;-------------------------------------------------------- - 2 ; File Created by SDCC : free open source ANSI-C Compiler - 3 ; Version 3.9.3 #11345 (Linux) - 4 ;-------------------------------------------------------- - 5 .module _ulong2fs - 6 .optsdcc -mstm8 - 7 - 8 ;-------------------------------------------------------- - 9 ; Public variables in this module - 10 ;-------------------------------------------------------- - 11 .globl ___ulong2fs - 12 ;-------------------------------------------------------- - 13 ; ram data - 14 ;-------------------------------------------------------- - 15 .area DATA - 16 ;-------------------------------------------------------- - 17 ; ram data - 18 ;-------------------------------------------------------- - 19 .area INITIALIZED - 20 ;-------------------------------------------------------- - 21 ; absolute external ram data - 22 ;-------------------------------------------------------- - 23 .area DABS (ABS) - 24 - 25 ; default segment ordering for linker - 26 .area HOME - 27 .area GSINIT - 28 .area GSFINAL - 29 .area CONST - 30 .area INITIALIZER - 31 .area CODE - 32 - 33 ;-------------------------------------------------------- - 34 ; global & static initialisations - 35 ;-------------------------------------------------------- - 36 .area HOME - 37 .area GSINIT - 38 .area GSFINAL - 39 .area GSINIT - 40 ;-------------------------------------------------------- - 41 ; Home - 42 ;-------------------------------------------------------- - 43 .area HOME - 44 .area HOME - 45 ;-------------------------------------------------------- - 46 ; code - 47 ;-------------------------------------------------------- - 48 .area CODE - 49 ; ../_ulong2fs.c: 83: float __ulong2fs (unsigned long a ) - 50 ; ----------------------------------------- - 51 ; function __ulong2fs - 52 ; ----------------------------------------- - 000000 53 ___ulong2fs: - 000000 52 08 [ 2] 54 sub sp, #8 - 55 ; ../_ulong2fs.c: 88: if (!a) - 000002 1E 0D [ 2] 56 ldw x, (0x0d, sp) - 000004 26 08 [ 1] 57 jrne 00115$ - 58 ; ../_ulong2fs.c: 90: return 0.0; - 000006 1E 0B [ 2] 59 ldw x, (0x0b, sp) - 000008 26 04 [ 1] 60 jrne 00115$ - 00000A 90 5F [ 1] 61 clrw y - 00000C 20 70 [ 2] 62 jra 00111$ - 63 ; ../_ulong2fs.c: 93: while (a < HIDDEN) - 00000E 64 00115$: - 00000E A6 96 [ 1] 65 ld a, #0x96 - 000010 66 00103$: - 000010 1E 0B [ 2] 67 ldw x, (0x0b, sp) - 000012 A3 00 80 [ 2] 68 cpw x, #0x0080 - 000015 24 0B [ 1] 69 jrnc 00118$ - 70 ; ../_ulong2fs.c: 95: a <<= 1; - 000017 08 0E [ 1] 71 sll (0x0e, sp) - 000019 09 0D [ 1] 72 rlc (0x0d, sp) - 00001B 09 0C [ 1] 73 rlc (0x0c, sp) - 00001D 09 0B [ 1] 74 rlc (0x0b, sp) - 75 ; ../_ulong2fs.c: 96: exp--; - 00001F 4A [ 1] 76 dec a - 000020 20 EE [ 2] 77 jra 00103$ - 78 ; ../_ulong2fs.c: 99: while (a & NORM) - 000022 79 00118$: - 000022 80 00108$: - 000022 0D 0B [ 1] 81 tnz (0x0b, sp) - 000024 27 21 [ 1] 82 jreq 00110$ - 83 ; ../_ulong2fs.c: 102: if (a & 1) - 000026 88 [ 1] 84 push a - 000027 7B 0F [ 1] 85 ld a, (0x0f, sp) - 000029 44 [ 1] 86 srl a - 00002A 84 [ 1] 87 pop a - 00002B 24 0F [ 1] 88 jrnc 00107$ - 89 ; ../_ulong2fs.c: 103: a += 2; - 00002D 1E 0D [ 2] 90 ldw x, (0x0d, sp) - 00002F 1C 00 02 [ 2] 91 addw x, #0x0002 - 000032 16 0B [ 2] 92 ldw y, (0x0b, sp) - 000034 24 02 [ 1] 93 jrnc 00150$ - 000036 90 5C [ 1] 94 incw y - 000038 95 00150$: - 000038 1F 0D [ 2] 96 ldw (0x0d, sp), x - 00003A 17 0B [ 2] 97 ldw (0x0b, sp), y - 00003C 98 00107$: - 99 ; ../_ulong2fs.c: 104: a >>= 1; - 00003C 04 0B [ 1] 100 srl (0x0b, sp) - 00003E 06 0C [ 1] 101 rrc (0x0c, sp) - 000040 06 0D [ 1] 102 rrc (0x0d, sp) - 000042 06 0E [ 1] 103 rrc (0x0e, sp) - 104 ; ../_ulong2fs.c: 105: exp++; - 000044 4C [ 1] 105 inc a - 000045 20 DB [ 2] 106 jra 00108$ - 000047 107 00110$: - 108 ; ../_ulong2fs.c: 108: a &= ~HIDDEN ; - 000047 88 [ 1] 109 push a - 000048 16 0E [ 2] 110 ldw y, (0x0e, sp) - 00004A 7B 0D [ 1] 111 ld a, (0x0d, sp) - 00004C A4 7F [ 1] 112 and a, #0x7f - 00004E 97 [ 1] 113 ld xl, a - 00004F 7B 0C [ 1] 114 ld a, (0x0c, sp) - 000051 95 [ 1] 115 ld xh, a - 000052 84 [ 1] 116 pop a - 000053 17 0D [ 2] 117 ldw (0x0d, sp), y - 000055 1F 0B [ 2] 118 ldw (0x0b, sp), x - 119 ; ../_ulong2fs.c: 110: fl.l = PACK(0,(unsigned long)exp, a); - 000057 5F [ 1] 120 clrw x - 000058 97 [ 1] 121 ld xl, a - 000059 0F 08 [ 1] 122 clr (0x08, sp) - 00005B 0F 07 [ 1] 123 clr (0x07, sp) - 00005D A6 07 [ 1] 124 ld a, #0x07 - 00005F 125 00151$: - 00005F 58 [ 2] 126 sllw x - 000060 4A [ 1] 127 dec a - 000061 26 FC [ 1] 128 jrne 00151$ - 000063 7B 08 [ 1] 129 ld a, (0x08, sp) - 000065 1A 0E [ 1] 130 or a, (0x0e, sp) - 000067 90 97 [ 1] 131 ld yl, a - 000069 7B 07 [ 1] 132 ld a, (0x07, sp) - 00006B 1A 0D [ 1] 133 or a, (0x0d, sp) - 00006D 90 95 [ 1] 134 ld yh, a - 00006F 9F [ 1] 135 ld a, xl - 000070 1A 0C [ 1] 136 or a, (0x0c, sp) - 000072 02 [ 1] 137 rlwa x - 000073 1A 0B [ 1] 138 or a, (0x0b, sp) - 000075 95 [ 1] 139 ld xh, a - 000076 17 03 [ 2] 140 ldw (0x03, sp), y - 000078 1F 01 [ 2] 141 ldw (0x01, sp), x - 142 ; ../_ulong2fs.c: 112: return (fl.f); - 00007A 1E 03 [ 2] 143 ldw x, (0x03, sp) - 00007C 16 01 [ 2] 144 ldw y, (0x01, sp) - 00007E 145 00111$: - 146 ; ../_ulong2fs.c: 113: } - 00007E 5B 08 [ 2] 147 addw sp, #8 - 000080 81 [ 4] 148 ret - 149 .area CODE - 150 .area CONST - 151 .area INITIALIZER - 152 .area CABS (ABS) |
