/[avr-libc]/avr-libc/libc/pmstring/strnlen_P.S
ViewVC logotype

Diff of /avr-libc/libc/pmstring/strnlen_P.S

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by joerg_wunsch, Tue Sep 13 13:29:54 2005 UTC revision 1.3 by aesok, Mon Sep 26 17:22:08 2005 UTC
# Line 58  Line 58 
58  _U(strnlen_P):  _U(strnlen_P):
59          LOAD_Z(src_lo, src_hi)          LOAD_Z(src_lo, src_hi)
60  1:  1:
61            LPM_R0_ZP
62          subi    len_lo, lo8(1)          subi    len_lo, lo8(1)
63          sbci    len_hi, hi8(1)          sbci    len_hi, hi8(1)
         LPM_R0_ZP  
64          cpse    r0, __zero_reg__          cpse    r0, __zero_reg__
65          brcc    1b          brcc    1b
66  ; Z points one character past the terminating NUL  ; Z points one character past the terminating NUL

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26