1 ;--------------------------------------------------------
2 ; File Created by SDCC : FreeWare ANSI-C Compiler
3 ; Version 2.1.9Ga Sun Jan 16 17:31:16 2000
5 ;--------------------------------------------------------
7 ;--------------------------------------------------------
8 ; publics variables in this module
9 ;--------------------------------------------------------
10 .globl _strncat_PARM_3
11 .globl _strncat_PARM_2
13 ;--------------------------------------------------------
14 ; special function registers
15 ;--------------------------------------------------------
16 ;--------------------------------------------------------
17 ; special function bits
18 ;--------------------------------------------------------
19 ;--------------------------------------------------------
21 ;--------------------------------------------------------
23 ;--------------------------------------------------------
24 ; overlayable items in internal ram
25 ;--------------------------------------------------------
36 ;--------------------------------------------------------
37 ; indirectly addressable internal ram data
38 ;--------------------------------------------------------
40 ;--------------------------------------------------------
42 ;--------------------------------------------------------
44 ;--------------------------------------------------------
46 ;--------------------------------------------------------
48 ;--------------------------------------------------------
49 ; global & static initialisations
50 ;--------------------------------------------------------
52 ;--------------------------------------------------------
54 ;--------------------------------------------------------
58 ; -----------------------------------------
60 ; -----------------------------------------
71 mov _strncat_front_1_1,dpl
72 mov (_strncat_front_1_1 + 1),dph
73 mov (_strncat_front_1_1 + 2),b
75 mov _strncat_start_1_1,_strncat_front_1_1
76 mov (_strncat_start_1_1 + 1),(_strncat_front_1_1 + 1)
77 mov (_strncat_start_1_1 + 2),(_strncat_front_1_1 + 2)
79 mov r0,_strncat_front_1_1
80 mov r1,(_strncat_front_1_1 + 1)
81 mov r5,(_strncat_front_1_1 + 2)
91 ; Peephole 105 removed redundant mov
93 ; Peephole 109 removed ljmp by inverse jump logic
99 mov _strncat_front_1_1,a
102 mov (_strncat_front_1_1 + 1),a
103 mov (_strncat_front_1_1 + 2),r5
105 mov r5,_strncat_front_1_1
106 mov r6,(_strncat_front_1_1 + 1)
107 mov r7,(_strncat_front_1_1 + 2)
109 mov r2,_strncat_PARM_3
110 mov r0,(_strncat_PARM_3 + 1)
113 cjne a,_strncat_PARM_3,00118$
114 dec (_strncat_PARM_3 + 1)
118 ; Peephole 110 removed ljmp by inverse jump logic
129 mov _strncat_front_1_1,r5
130 mov (_strncat_front_1_1 + 1),r6
131 mov (_strncat_front_1_1 + 2),r7
132 mov dpl,_strncat_PARM_2
133 mov dph,(_strncat_PARM_2 + 1)
134 mov b,(_strncat_PARM_2 + 2)
137 cjne a,_strncat_PARM_2,00121$
138 inc (_strncat_PARM_2 + 1)
141 ; Peephole 190 removed redundant mov
142 ; Peephole 191 removed redundant mov
148 ; Peephole 109 removed ljmp by inverse jump logic
152 mov dpl,_strncat_start_1_1
153 mov dph,(_strncat_start_1_1 + 1)
154 mov b,(_strncat_start_1_1 + 2)
155 ; Peephole 132 changed ljmp to sjmp
159 mov dpl,_strncat_front_1_1
160 mov dph,(_strncat_front_1_1 + 1)
161 mov b,(_strncat_front_1_1 + 2)
162 ; Peephole 180 changed mov to clr
166 mov dpl,_strncat_start_1_1
167 mov dph,(_strncat_start_1_1 + 1)
168 mov b,(_strncat_start_1_1 + 2)
170 C$_strncat.c$45$1$1 ==.