diff options
Diffstat (limited to 'device/lib/stm8/frexpf.lst')
| -rw-r--r-- | device/lib/stm8/frexpf.lst | 128 |
1 files changed, 0 insertions, 128 deletions
diff --git a/device/lib/stm8/frexpf.lst b/device/lib/stm8/frexpf.lst deleted file mode 100644 index 3c989df..0000000 --- a/device/lib/stm8/frexpf.lst +++ /dev/null @@ -1,128 +0,0 @@ - 1 ;-------------------------------------------------------- - 2 ; File Created by SDCC : free open source ANSI-C Compiler - 3 ; Version 3.9.3 #11345 (Linux) - 4 ;-------------------------------------------------------- - 5 .module frexpf - 6 .optsdcc -mstm8 - 7 - 8 ;-------------------------------------------------------- - 9 ; Public variables in this module - 10 ;-------------------------------------------------------- - 11 .globl _frexpf - 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 ; ../frexpf.c: 34: float frexpf(float x, int *pw2) - 50 ; ----------------------------------------- - 51 ; function frexpf - 52 ; ----------------------------------------- - 000000 53 _frexpf: - 000000 52 08 [ 2] 54 sub sp, #8 - 55 ; ../frexpf.c: 39: fl.f=x; - 000002 16 0D [ 2] 56 ldw y, (0x0d, sp) - 000004 17 03 [ 2] 57 ldw (0x03, sp), y - 000006 16 0B [ 2] 58 ldw y, (0x0b, sp) - 000008 17 01 [ 2] 59 ldw (0x01, sp), y - 60 ; ../frexpf.c: 41: i = ( fl.l >> 23) & 0x000000ff; - 00000A 16 03 [ 2] 61 ldw y, (0x03, sp) - 00000C 1E 01 [ 2] 62 ldw x, (0x01, sp) - 00000E 4F [ 1] 63 clr a - 00000F 5D [ 2] 64 tnzw x - 000010 2A 01 [ 1] 65 jrpl 00103$ - 000012 4A [ 1] 66 dec a - 000013 67 00103$: - 000013 88 [ 1] 68 push a - 000014 01 [ 1] 69 rrwa x - 000015 90 01 [ 1] 70 rrwa y - 000017 7B 01 [ 1] 71 ld a, (1, sp) - 000019 01 [ 1] 72 rrwa x - 00001A 90 01 [ 1] 73 rrwa y - 00001C 7B 01 [ 1] 74 ld a, (1, sp) - 00001E 01 [ 1] 75 rrwa x - 00001F 90 01 [ 1] 76 rrwa y - 000021 48 [ 1] 77 sll a - 000022 90 59 [ 2] 78 rlcw y - 000024 59 [ 2] 79 rlcw x - 000025 84 [ 1] 80 pop a - 000026 4F [ 1] 81 clr a - 000027 5F [ 1] 82 clrw x - 83 ; ../frexpf.c: 42: i -= 0x7e; - 000028 90 95 [ 1] 84 ld yh, a - 00002A 72 A2 00 7E [ 2] 85 subw y, #0x007e - 00002E 9F [ 1] 86 ld a, xl - 00002F A2 00 [ 1] 87 sbc a, #0x00 - 000031 02 [ 1] 88 rlwa x - 000032 A2 00 [ 1] 89 sbc a, #0x00 - 000034 17 07 [ 2] 90 ldw (0x07, sp), y - 000036 41 [ 1] 91 exg a, xl - 000037 6B 06 [ 1] 92 ld (0x06, sp), a - 000039 41 [ 1] 93 exg a, xl - 00003A 6B 05 [ 1] 94 ld (0x05, sp), a - 95 ; ../frexpf.c: 43: *pw2 = i; - 00003C 1E 0F [ 2] 96 ldw x, (0x0f, sp) - 00003E 16 07 [ 2] 97 ldw y, (0x07, sp) - 000040 FF [ 2] 98 ldw (x), y - 99 ; ../frexpf.c: 44: fl.l &= 0x807fffff; /* strip all exponent bits */ - 000041 16 03 [ 2] 100 ldw y, (0x03, sp) - 000043 1E 01 [ 2] 101 ldw x, (0x01, sp) - 000045 9F [ 1] 102 ld a, xl - 000046 A4 7F [ 1] 103 and a, #0x7f - 000048 02 [ 1] 104 rlwa x - 000049 A4 80 [ 1] 105 and a, #0x80 - 00004B 95 [ 1] 106 ld xh, a - 00004C 17 03 [ 2] 107 ldw (0x03, sp), y - 00004E 1F 01 [ 2] 108 ldw (0x01, sp), x - 109 ; ../frexpf.c: 45: fl.l |= 0x3f000000; /* mantissa between 0.5 and 1 */ - 000050 7B 04 [ 1] 110 ld a, (0x04, sp) - 000052 7B 03 [ 1] 111 ld a, (0x03, sp) - 000054 7B 02 [ 1] 112 ld a, (0x02, sp) - 000056 7B 01 [ 1] 113 ld a, (0x01, sp) - 000058 9E [ 1] 114 ld a, xh - 000059 AA 3F [ 1] 115 or a, #0x3f - 00005B 95 [ 1] 116 ld xh, a - 00005C 17 03 [ 2] 117 ldw (0x03, sp), y - 00005E 1F 01 [ 2] 118 ldw (0x01, sp), x - 119 ; ../frexpf.c: 46: return(fl.f); - 000060 1E 03 [ 2] 120 ldw x, (0x03, sp) - 000062 16 01 [ 2] 121 ldw y, (0x01, sp) - 122 ; ../frexpf.c: 47: } - 000064 5B 08 [ 2] 123 addw sp, #8 - 000066 81 [ 4] 124 ret - 125 .area CODE - 126 .area CONST - 127 .area INITIALIZER - 128 .area CABS (ABS) |
