diff options
Diffstat (limited to 'device/lib/stm8/_strncpy.lst')
| -rw-r--r-- | device/lib/stm8/_strncpy.lst | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/device/lib/stm8/_strncpy.lst b/device/lib/stm8/_strncpy.lst deleted file mode 100644 index 90f6c72..0000000 --- a/device/lib/stm8/_strncpy.lst +++ /dev/null @@ -1,104 +0,0 @@ - 1 ;-------------------------------------------------------- - 2 ; File Created by SDCC : free open source ANSI-C Compiler - 3 ; Version 3.9.3 #11345 (Linux) - 4 ;-------------------------------------------------------- - 5 .module _strncpy - 6 .optsdcc -mstm8 - 7 - 8 ;-------------------------------------------------------- - 9 ; Public variables in this module - 10 ;-------------------------------------------------------- - 11 .globl _strncpy - 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 ; ../_strncpy.c: 33: char *strncpy ( char * d, const char * s, size_t n ) - 50 ; ----------------------------------------- - 51 ; function strncpy - 52 ; ----------------------------------------- - 000000 53 _strncpy: - 000000 52 06 [ 2] 54 sub sp, #6 - 55 ; ../_strncpy.c: 35: register char * d1 = d; - 000002 16 09 [ 2] 56 ldw y, (0x09, sp) - 000004 17 01 [ 2] 57 ldw (0x01, sp), y - 58 ; ../_strncpy.c: 37: while ( n && *s ) - 000006 16 0D [ 2] 59 ldw y, (0x0d, sp) - 000008 17 05 [ 2] 60 ldw (0x05, sp), y - 00000A 16 0B [ 2] 61 ldw y, (0x0b, sp) - 00000C 17 03 [ 2] 62 ldw (0x03, sp), y - 00000E 1E 01 [ 2] 63 ldw x, (0x01, sp) - 000010 64 00102$: - 000010 16 05 [ 2] 65 ldw y, (0x05, sp) - 000012 27 16 [ 1] 66 jreq 00114$ - 000014 16 03 [ 2] 67 ldw y, (0x03, sp) - 000016 90 F6 [ 1] 68 ld a, (y) - 000018 27 10 [ 1] 69 jreq 00114$ - 70 ; ../_strncpy.c: 39: n-- ; - 00001A 16 05 [ 2] 71 ldw y, (0x05, sp) - 00001C 90 5A [ 2] 72 decw y - 00001E 17 05 [ 2] 73 ldw (0x05, sp), y - 74 ; ../_strncpy.c: 40: *d++ = *s++ ; - 000020 16 03 [ 2] 75 ldw y, (0x03, sp) - 000022 90 5C [ 1] 76 incw y - 000024 17 03 [ 2] 77 ldw (0x03, sp), y - 000026 F7 [ 1] 78 ld (x), a - 000027 5C [ 1] 79 incw x - 000028 20 E6 [ 2] 80 jra 00102$ - 81 ; ../_strncpy.c: 42: while ( n-- ) - 00002A 82 00114$: - 00002A 83 00105$: - 00002A 16 05 [ 2] 84 ldw y, (0x05, sp) - 00002C 17 03 [ 2] 85 ldw (0x03, sp), y - 00002E 16 05 [ 2] 86 ldw y, (0x05, sp) - 000030 90 5A [ 2] 87 decw y - 000032 17 05 [ 2] 88 ldw (0x05, sp), y - 000034 16 03 [ 2] 89 ldw y, (0x03, sp) - 000036 27 04 [ 1] 90 jreq 00107$ - 91 ; ../_strncpy.c: 44: *d++ = '\0' ; - 000038 7F [ 1] 92 clr (x) - 000039 5C [ 1] 93 incw x - 00003A 20 EE [ 2] 94 jra 00105$ - 00003C 95 00107$: - 96 ; ../_strncpy.c: 46: return d1; - 00003C 1E 01 [ 2] 97 ldw x, (0x01, sp) - 98 ; ../_strncpy.c: 47: } - 00003E 5B 06 [ 2] 99 addw sp, #6 - 000040 81 [ 4] 100 ret - 101 .area CODE - 102 .area CONST - 103 .area INITIALIZER - 104 .area CABS (ABS) |
