summaryrefslogtreecommitdiff
path: root/device/lib/stm8/wcslen.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/wcslen.lst
parented26eb00026800d1d2ff6289627216c7d1f0d459 (diff)
downloadsdcc-gas-2cece67cb5af0339e4ab1f18b0bce2f0b4e6ebdd.tar.gz
Removed intermediate files
Diffstat (limited to 'device/lib/stm8/wcslen.lst')
-rw-r--r--device/lib/stm8/wcslen.lst88
1 files changed, 0 insertions, 88 deletions
diff --git a/device/lib/stm8/wcslen.lst b/device/lib/stm8/wcslen.lst
deleted file mode 100644
index 3e7a7b9..0000000
--- a/device/lib/stm8/wcslen.lst
+++ /dev/null
@@ -1,88 +0,0 @@
- 1 ;--------------------------------------------------------
- 2 ; File Created by SDCC : free open source ANSI-C Compiler
- 3 ; Version 3.9.3 #11345 (Linux)
- 4 ;--------------------------------------------------------
- 5 .module wcslen
- 6 .optsdcc -mstm8
- 7
- 8 ;--------------------------------------------------------
- 9 ; Public variables in this module
- 10 ;--------------------------------------------------------
- 11 .globl _wcslen
- 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 ; ../wcslen.c: 31: size_t wcslen(const wchar_t *s)
- 50 ; -----------------------------------------
- 51 ; function wcslen
- 52 ; -----------------------------------------
- 000000 53 _wcslen:
- 000000 52 06 [ 2] 54 sub sp, #6
- 55 ; ../wcslen.c: 34: while (*s)
- 000002 5F [ 1] 56 clrw x
- 000003 1F 05 [ 2] 57 ldw (0x05, sp), x
- 000005 16 09 [ 2] 58 ldw y, (0x09, sp)
- 000007 59 00101$:
- 000007 93 [ 1] 60 ldw x, y
- 000008 E6 03 [ 1] 61 ld a, (0x3, x)
- 00000A 6B 04 [ 1] 62 ld (0x04, sp), a
- 00000C E6 02 [ 1] 63 ld a, (0x2, x)
- 00000E 6B 03 [ 1] 64 ld (0x03, sp), a
- 000010 FE [ 2] 65 ldw x, (x)
- 000011 1F 01 [ 2] 66 ldw (0x01, sp), x
- 000013 1E 03 [ 2] 67 ldw x, (0x03, sp)
- 000015 26 04 [ 1] 68 jrne 00117$
- 000017 1E 01 [ 2] 69 ldw x, (0x01, sp)
- 000019 27 0B [ 1] 70 jreq 00103$
- 00001B 71 00117$:
- 72 ; ../wcslen.c: 36: n++;
- 00001B 1E 05 [ 2] 73 ldw x, (0x05, sp)
- 00001D 5C [ 1] 74 incw x
- 00001E 1F 05 [ 2] 75 ldw (0x05, sp), x
- 76 ; ../wcslen.c: 37: s++;
- 000020 72 A9 00 04 [ 2] 77 addw y, #0x0004
- 000024 20 E1 [ 2] 78 jra 00101$
- 000026 79 00103$:
- 80 ; ../wcslen.c: 40: return n;
- 000026 1E 05 [ 2] 81 ldw x, (0x05, sp)
- 82 ; ../wcslen.c: 41: }
- 000028 5B 06 [ 2] 83 addw sp, #6
- 00002A 81 [ 4] 84 ret
- 85 .area CODE
- 86 .area CONST
- 87 .area INITIALIZER
- 88 .area CABS (ABS)