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/wcstombs.lst | |
| parent | ed26eb00026800d1d2ff6289627216c7d1f0d459 (diff) | |
| download | sdcc-gas-2cece67cb5af0339e4ab1f18b0bce2f0b4e6ebdd.tar.gz | |
Removed intermediate files
Diffstat (limited to 'device/lib/stm8/wcstombs.lst')
| -rw-r--r-- | device/lib/stm8/wcstombs.lst | 142 |
1 files changed, 0 insertions, 142 deletions
diff --git a/device/lib/stm8/wcstombs.lst b/device/lib/stm8/wcstombs.lst deleted file mode 100644 index 387b8f6..0000000 --- a/device/lib/stm8/wcstombs.lst +++ /dev/null @@ -1,142 +0,0 @@ - 1 ;-------------------------------------------------------- - 2 ; File Created by SDCC : free open source ANSI-C Compiler - 3 ; Version 3.9.3 #11345 (Linux) - 4 ;-------------------------------------------------------- - 5 .module wcstombs - 6 .optsdcc -mstm8 - 7 - 8 ;-------------------------------------------------------- - 9 ; Public variables in this module - 10 ;-------------------------------------------------------- - 11 .globl _wctomb - 12 .globl _wcstombs - 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 ; ../wcstombs.c: 33: size_t wcstombs(char *restrict s, const wchar_t *restrict pwcs, size_t n) - 51 ; ----------------------------------------- - 52 ; function wcstombs - 53 ; ----------------------------------------- - 000000 54 _wcstombs: - 000000 52 10 [ 2] 55 sub sp, #16 - 56 ; ../wcstombs.c: 35: size_t m = 0; - 000002 5F [ 1] 57 clrw x - 000003 1F 09 [ 2] 58 ldw (0x09, sp), x - 59 ; ../wcstombs.c: 38: while(n > MB_LEN_MAX || n >= wctomb(buffer, *pwcs)) - 000005 96 [ 1] 60 ldw x, sp - 000006 1C 00 05 [ 2] 61 addw x, #5 - 000009 1F 0B [ 2] 62 ldw (0x0b, sp), x - 00000B 16 15 [ 2] 63 ldw y, (0x15, sp) - 00000D 17 0F [ 2] 64 ldw (0x0f, sp), y - 00000F 65 00107$: - 00000F 1E 17 [ 2] 66 ldw x, (0x17, sp) - 000011 A3 00 04 [ 2] 67 cpw x, #0x0004 - 000014 22 24 [ 1] 68 jrugt 00108$ - 000016 1E 0F [ 2] 69 ldw x, (0x0f, sp) - 000018 90 93 [ 1] 70 ldw y, x - 00001A 90 EE 02 [ 2] 71 ldw y, (0x2, y) - 00001D 17 03 [ 2] 72 ldw (0x03, sp), y - 00001F FE [ 2] 73 ldw x, (x) - 000020 1F 01 [ 2] 74 ldw (0x01, sp), x - 000022 1E 0B [ 2] 75 ldw x, (0x0b, sp) - 000024 16 03 [ 2] 76 ldw y, (0x03, sp) - 000026 90 89 [ 2] 77 pushw y - 000028 16 03 [ 2] 78 ldw y, (0x03, sp) - 00002A 90 89 [ 2] 79 pushw y - 00002C 89 [ 2] 80 pushw x - 00002D CDr00r00 [ 4] 81 call _wctomb - 000030 5B 06 [ 2] 82 addw sp, #6 - 000032 1F 0D [ 2] 83 ldw (0x0d, sp), x - 000034 1E 17 [ 2] 84 ldw x, (0x17, sp) - 000036 13 0D [ 2] 85 cpw x, (0x0d, sp) - 000038 25 43 [ 1] 86 jrc 00109$ - 00003A 87 00108$: - 88 ; ../wcstombs.c: 40: int b = wctomb(s, *pwcs); - 00003A 1E 0F [ 2] 89 ldw x, (0x0f, sp) - 00003C 90 93 [ 1] 90 ldw y, x - 00003E 90 EE 02 [ 2] 91 ldw y, (0x2, y) - 000041 FE [ 2] 92 ldw x, (x) - 000042 90 89 [ 2] 93 pushw y - 000044 89 [ 2] 94 pushw x - 000045 1E 17 [ 2] 95 ldw x, (0x17, sp) - 000047 89 [ 2] 96 pushw x - 000048 CDr00r00 [ 4] 97 call _wctomb - 00004B 5B 06 [ 2] 98 addw sp, #6 - 99 ; ../wcstombs.c: 42: if(b == 1 && !*s) - 00004D A3 00 01 [ 2] 100 cpw x, #0x0001 - 000050 26 06 [ 1] 101 jrne 00102$ - 000052 16 13 [ 2] 102 ldw y, (0x13, sp) - 000054 90 F6 [ 1] 103 ld a, (y) - 000056 27 25 [ 1] 104 jreq 00109$ - 105 ; ../wcstombs.c: 43: break; - 000058 106 00102$: - 107 ; ../wcstombs.c: 44: if(b < 0) - 000058 5D [ 2] 108 tnzw x - 000059 2A 04 [ 1] 109 jrpl 00105$ - 110 ; ../wcstombs.c: 45: return(-1); - 00005B 5F [ 1] 111 clrw x - 00005C 5A [ 2] 112 decw x - 00005D 20 20 [ 2] 113 jra 00110$ - 00005F 114 00105$: - 115 ; ../wcstombs.c: 47: n -= b; - 00005F 1F 0D [ 2] 116 ldw (0x0d, sp), x - 000061 16 17 [ 2] 117 ldw y, (0x17, sp) - 000063 72 F2 0D [ 2] 118 subw y, (0x0d, sp) - 000066 17 17 [ 2] 119 ldw (0x17, sp), y - 120 ; ../wcstombs.c: 48: m += b; - 000068 16 09 [ 2] 121 ldw y, (0x09, sp) - 00006A 72 F9 0D [ 2] 122 addw y, (0x0d, sp) - 00006D 17 09 [ 2] 123 ldw (0x09, sp), y - 124 ; ../wcstombs.c: 49: s += b; - 00006F 72 FB 13 [ 2] 125 addw x, (0x13, sp) - 000072 1F 13 [ 2] 126 ldw (0x13, sp), x - 127 ; ../wcstombs.c: 50: pwcs++; - 000074 1E 0F [ 2] 128 ldw x, (0x0f, sp) - 000076 1C 00 04 [ 2] 129 addw x, #0x0004 - 000079 1F 0F [ 2] 130 ldw (0x0f, sp), x - 00007B 20 92 [ 2] 131 jra 00107$ - 00007D 132 00109$: - 133 ; ../wcstombs.c: 53: return(m); - 00007D 1E 09 [ 2] 134 ldw x, (0x09, sp) - 00007F 135 00110$: - 136 ; ../wcstombs.c: 54: } - 00007F 5B 10 [ 2] 137 addw sp, #16 - 000081 81 [ 4] 138 ret - 139 .area CODE - 140 .area CONST - 141 .area INITIALIZER - 142 .area CABS (ABS) |
