Lines Matching refs:dest
118 cmpo g0,g1 # if dest starts earlier than src ...
121 be.f Lexit_code # no move necessary if src and dest are same
122 concmpo g5,g0 # ... or if dest starts after end of src ...
127 notand g0,3,g4 # extract word addr of start of dest
132 cmpo g0,g4 # check alignment of dest
133 subo 4,g4,g4 # store is pre-incrementing; back up dest addr
134 be.t Lcase_1 # branch if dest word aligned
136 Lcase_3: # src is word aligned; dest is not
137 addo 8,g4,g4 # move dest word ptr to first word boundary
138 lda (g0),g1 # copy dest byte ptr
143 Lcase_3_cloop_at_start: # character copying loop for start of dest str
149 stob MSW,(g1) # store the byte in dest
152 stob MSW,(g1) # store the byte in dest
155 lda 1(g1),g1 # post-increment dest ptr
169 st g1,(g4) # store 4 bytes to dest
170 addo 4,g4,g4 # post-increment dest ptr
177 st g1,(g4) # store word in dest string
178 Lcase_1: # src and dest are word aligned
180 addo 4,g4,g4 # pre-increment dest addr
191 stob g1,(g4) # store the byte in dest
193 lda 1(g4),g4 # post-increment dest byte addr
201 bx (g13) # g0 = addr of dest; g14 = 0
207 cmpo g0,g4 # check alignment of dest
214 be.t Lcase_4 # branch if dest is word aligned
216 cmpo g0,g1 # < indicates first word of dest has more bytes
217 lda 4(g4),g4 # move dest word addr to first word boundary
236 addo g2,g0,g1 # compute addr of byte after end of dest
237 notand g1,3,g4 # extract word addr of start of dest
241 cmpo g1,g4 # check alignment of dest
244 be.t Lcase.1 # branch if dest word aligned
246 Lcase.3: # src is word aligned; dest is not
251 Lcase.3_cloop_at_start: # character copying loop for start of dest str
257 lda -1(g1),g1 # pre-decrement dest ptr
258 cmpo g1,g4 # have we reached word boundary in dest yet?
259 stob LSW,(g1) # store the byte in dest
277 subo 4,g4,g4 # pre-decrement dest ptr
281 st g1,(g4) # store 4 bytes to dest
291 subo 4,g4,g4 # pre-decrement dest ptr
295 st g1,(g4) # store 4 bytes to dest
302 st g1,(g4) # store word in dest string
303 Lcase.1: # src and dest are word aligned
305 subo 4,g4,g4 # pre-decrement dest addr
313 lda 4(g4),g4 # pre-decremented dest addr 4 too much
316 subi 1,g4,g4 # pre-decrement dest byte addr
317 cmpi g4,g0 # has dest ptr reached beginning of dest?
318 stob g1,(g4) # store the byte in dest
328 cmpo g1,g4 # check alignment of dest
336 be.t Lcase.4 # branch if dest is word aligned
338 cmpo g1,g5 # < indicates last word of dest has less bytes