summaryrefslogtreecommitdiff
path: root/device/lib/stm8/_strtok.lst
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2019-10-23 03:38:32 +0200
committerXavier ASUS <xavi92psx@gmail.com>2019-10-23 03:38:32 +0200
commit2cece67cb5af0339e4ab1f18b0bce2f0b4e6ebdd (patch)
treeb2fbf4e99f194213527304c9189abe65c163ac0b /device/lib/stm8/_strtok.lst
parented26eb00026800d1d2ff6289627216c7d1f0d459 (diff)
downloadsdcc-gas-2cece67cb5af0339e4ab1f18b0bce2f0b4e6ebdd.tar.gz
Removed intermediate files
Diffstat (limited to 'device/lib/stm8/_strtok.lst')
-rw-r--r--device/lib/stm8/_strtok.lst148
1 files changed, 0 insertions, 148 deletions
diff --git a/device/lib/stm8/_strtok.lst b/device/lib/stm8/_strtok.lst
deleted file mode 100644
index 1fdece9..0000000
--- a/device/lib/stm8/_strtok.lst
+++ /dev/null
@@ -1,148 +0,0 @@
- 1 ;--------------------------------------------------------
- 2 ; File Created by SDCC : free open source ANSI-C Compiler
- 3 ; Version 3.9.3 #11345 (Linux)
- 4 ;--------------------------------------------------------
- 5 .module _strtok
- 6 .optsdcc -mstm8
- 7
- 8 ;--------------------------------------------------------
- 9 ; Public variables in this module
- 10 ;--------------------------------------------------------
- 11 .globl _strchr
- 12 .globl _strtok
- 13 ;--------------------------------------------------------
- 14 ; ram data
- 15 ;--------------------------------------------------------
- 16 .area DATA
- 000000 17 _strtok_s_65536_26:
- 000000 18 .ds 2
- 19 ;--------------------------------------------------------
- 20 ; ram data
- 21 ;--------------------------------------------------------
- 22 .area INITIALIZED
- 23 ;--------------------------------------------------------
- 24 ; absolute external ram data
- 25 ;--------------------------------------------------------
- 26 .area DABS (ABS)
- 27
- 28 ; default segment ordering for linker
- 29 .area HOME
- 30 .area GSINIT
- 31 .area GSFINAL
- 32 .area CONST
- 33 .area INITIALIZER
- 34 .area CODE
- 35
- 36 ;--------------------------------------------------------
- 37 ; global & static initialisations
- 38 ;--------------------------------------------------------
- 39 .area HOME
- 40 .area GSINIT
- 41 .area GSFINAL
- 42 .area GSINIT
- 43 ;--------------------------------------------------------
- 44 ; Home
- 45 ;--------------------------------------------------------
- 46 .area HOME
- 47 .area HOME
- 48 ;--------------------------------------------------------
- 49 ; code
- 50 ;--------------------------------------------------------
- 51 .area CODE
- 52 ; ../_strtok.c: 36: char * strtok ( char * str, const char * control )
- 53 ; -----------------------------------------
- 54 ; function strtok
- 55 ; -----------------------------------------
- 000000 56 _strtok:
- 000000 52 02 [ 2] 57 sub sp, #2
- 58 ; ../_strtok.c: 41: if ( str )
- 59 ; ../_strtok.c: 42: s = str;
- 000002 1E 05 [ 2] 60 ldw x, (0x05, sp)
- 000004 27 03 [ 1] 61 jreq 00102$
- 000006 CFu00u00 [ 2] 62 ldw _strtok_s_65536_26+0, x
- 000009 63 00102$:
- 64 ; ../_strtok.c: 43: if ( !s )
- 000009 CEu00u00 [ 2] 65 ldw x, _strtok_s_65536_26+0
- 00000C 26 03 [ 1] 66 jrne 00108$
- 67 ; ../_strtok.c: 44: return NULL;
- 00000E 5F [ 1] 68 clrw x
- 00000F 20 5B [ 2] 69 jra 00119$
- 70 ; ../_strtok.c: 46: while (*s) {
- 000011 71 00108$:
- 000011 CEu00u00 [ 2] 72 ldw x, _strtok_s_65536_26+0
- 000014 F6 [ 1] 73 ld a, (x)
- 000015 27 17 [ 1] 74 jreq 00110$
- 75 ; ../_strtok.c: 47: if (strchr(control,*s))
- 000017 5F [ 1] 76 clrw x
- 000018 97 [ 1] 77 ld xl, a
- 000019 89 [ 2] 78 pushw x
- 00001A 1E 09 [ 2] 79 ldw x, (0x09, sp)
- 00001C 89 [ 2] 80 pushw x
- 00001D CDr00r00 [ 4] 81 call _strchr
- 000020 5B 04 [ 2] 82 addw sp, #4
- 000022 5D [ 2] 83 tnzw x
- 000023 27 09 [ 1] 84 jreq 00110$
- 85 ; ../_strtok.c: 48: s++;
- 000025 CEu00u00 [ 2] 86 ldw x, _strtok_s_65536_26+0
- 000028 5C [ 1] 87 incw x
- 000029 CFu00u00 [ 2] 88 ldw _strtok_s_65536_26+0, x
- 00002C 20 E3 [ 2] 89 jra 00108$
- 90 ; ../_strtok.c: 50: break;
- 00002E 91 00110$:
- 92 ; ../_strtok.c: 53: s1 = s;
- 00002E CEu00u00 [ 2] 93 ldw x, _strtok_s_65536_26+0
- 000031 1F 01 [ 2] 94 ldw (0x01, sp), x
- 95 ; ../_strtok.c: 55: while (*s) {
- 000033 96 00113$:
- 97 ; ../_strtok.c: 46: while (*s) {
- 000033 CEu00u00 [ 2] 98 ldw x, _strtok_s_65536_26+0
- 99 ; ../_strtok.c: 55: while (*s) {
- 000036 F6 [ 1] 100 ld a, (x)
- 000037 27 26 [ 1] 101 jreq 00115$
- 102 ; ../_strtok.c: 56: if (strchr(control,*s)) {
- 000039 5F [ 1] 103 clrw x
- 00003A 97 [ 1] 104 ld xl, a
- 00003B 89 [ 2] 105 pushw x
- 00003C 1E 09 [ 2] 106 ldw x, (0x09, sp)
- 00003E 89 [ 2] 107 pushw x
- 00003F CDr00r00 [ 4] 108 call _strchr
- 000042 5B 04 [ 2] 109 addw sp, #4
- 000044 5D [ 2] 110 tnzw x
- 000045 27 0F [ 1] 111 jreq 00112$
- 112 ; ../_strtok.c: 57: *s++ = '\0';
- 000047 CEu00u00 [ 2] 113 ldw x, _strtok_s_65536_26+0
- 00004A 7F [ 1] 114 clr (x)
- 00004B CEu00u00 [ 2] 115 ldw x, _strtok_s_65536_26+0
- 00004E 5C [ 1] 116 incw x
- 00004F CFu00u00 [ 2] 117 ldw _strtok_s_65536_26+0, x
- 118 ; ../_strtok.c: 58: return s1;
- 000052 1E 01 [ 2] 119 ldw x, (0x01, sp)
- 000054 20 16 [ 2] 120 jra 00119$
- 000056 121 00112$:
- 122 ; ../_strtok.c: 60: s++ ;
- 000056 CEu00u00 [ 2] 123 ldw x, _strtok_s_65536_26+0
- 000059 5C [ 1] 124 incw x
- 00005A CFu00u00 [ 2] 125 ldw _strtok_s_65536_26+0, x
- 00005D 20 D4 [ 2] 126 jra 00113$
- 00005F 127 00115$:
- 128 ; ../_strtok.c: 63: s = NULL;
- 00005F 5F [ 1] 129 clrw x
- 000060 CFu00u00 [ 2] 130 ldw _strtok_s_65536_26+0, x
- 131 ; ../_strtok.c: 65: if (*s1)
- 000063 1E 01 [ 2] 132 ldw x, (0x01, sp)
- 000065 F6 [ 1] 133 ld a, (x)
- 000066 27 03 [ 1] 134 jreq 00117$
- 135 ; ../_strtok.c: 66: return s1;
- 000068 1E 01 [ 2] 136 ldw x, (0x01, sp)
- 137 ; ../_strtok.c: 68: return NULL;
- 00006A 21 138 .byte 0x21
- 00006B 139 00117$:
- 00006B 5F [ 1] 140 clrw x
- 00006C 141 00119$:
- 142 ; ../_strtok.c: 69: }
- 00006C 5B 02 [ 2] 143 addw sp, #2
- 00006E 81 [ 4] 144 ret
- 145 .area CODE
- 146 .area CONST
- 147 .area INITIALIZER
- 148 .area CABS (ABS)