summaryrefslogtreecommitdiff
path: root/device/lib/stm8/_strpbrk.lst
diff options
context:
space:
mode:
Diffstat (limited to 'device/lib/stm8/_strpbrk.lst')
-rw-r--r--device/lib/stm8/_strpbrk.lst101
1 files changed, 0 insertions, 101 deletions
diff --git a/device/lib/stm8/_strpbrk.lst b/device/lib/stm8/_strpbrk.lst
deleted file mode 100644
index 14beeac..0000000
--- a/device/lib/stm8/_strpbrk.lst
+++ /dev/null
@@ -1,101 +0,0 @@
- 1 ;--------------------------------------------------------
- 2 ; File Created by SDCC : free open source ANSI-C Compiler
- 3 ; Version 3.9.3 #11345 (Linux)
- 4 ;--------------------------------------------------------
- 5 .module _strpbrk
- 6 .optsdcc -mstm8
- 7
- 8 ;--------------------------------------------------------
- 9 ; Public variables in this module
- 10 ;--------------------------------------------------------
- 11 .globl _strchr
- 12 .globl _strpbrk
- 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 ; ../_strpbrk.c: 31: char * strpbrk ( const char * string, const char * control )
- 51 ; -----------------------------------------
- 52 ; function strpbrk
- 53 ; -----------------------------------------
- 000000 54 _strpbrk:
- 000000 52 04 [ 2] 55 sub sp, #4
- 56 ; ../_strpbrk.c: 33: char *ret = NULL;
- 000002 5F [ 1] 57 clrw x
- 000003 1F 01 [ 2] 58 ldw (0x01, sp), x
- 59 ; ../_strpbrk.c: 36: while (ch = *control) {
- 000005 16 09 [ 2] 60 ldw y, (0x09, sp)
- 000007 17 03 [ 2] 61 ldw (0x03, sp), y
- 000009 62 00105$:
- 000009 1E 03 [ 2] 63 ldw x, (0x03, sp)
- 00000B F6 [ 1] 64 ld a, (x)
- 00000C 97 [ 1] 65 ld xl, a
- 00000D 4D [ 1] 66 tnz a
- 00000E 27 1F [ 1] 67 jreq 00107$
- 68 ; ../_strpbrk.c: 37: char * p = strchr(string, ch);
- 000010 4F [ 1] 69 clr a
- 000011 95 [ 1] 70 ld xh, a
- 000012 89 [ 2] 71 pushw x
- 000013 1E 09 [ 2] 72 ldw x, (0x09, sp)
- 000015 89 [ 2] 73 pushw x
- 000016 CDr00r00 [ 4] 74 call _strchr
- 000019 5B 04 [ 2] 75 addw sp, #4
- 76 ; ../_strpbrk.c: 38: if (p != NULL && (ret == NULL || p < ret)) {
- 00001B 5D [ 2] 77 tnzw x
- 00001C 27 0A [ 1] 78 jreq 00102$
- 00001E 16 01 [ 2] 79 ldw y, (0x01, sp)
- 000020 27 04 [ 1] 80 jreq 00101$
- 000022 13 01 [ 2] 81 cpw x, (0x01, sp)
- 000024 24 02 [ 1] 82 jrnc 00102$
- 000026 83 00101$:
- 84 ; ../_strpbrk.c: 39: ret = p;
- 000026 1F 01 [ 2] 85 ldw (0x01, sp), x
- 000028 86 00102$:
- 87 ; ../_strpbrk.c: 41: control++;
- 000028 1E 03 [ 2] 88 ldw x, (0x03, sp)
- 00002A 5C [ 1] 89 incw x
- 00002B 1F 03 [ 2] 90 ldw (0x03, sp), x
- 00002D 20 DA [ 2] 91 jra 00105$
- 00002F 92 00107$:
- 93 ; ../_strpbrk.c: 44: return (ret);
- 00002F 1E 01 [ 2] 94 ldw x, (0x01, sp)
- 95 ; ../_strpbrk.c: 45: }
- 000031 5B 04 [ 2] 96 addw sp, #4
- 000033 81 [ 4] 97 ret
- 98 .area CODE
- 99 .area CONST
- 100 .area INITIALIZER
- 101 .area CABS (ABS)