strlen.S (dc9e655c0bcbcbc2b67185669dea9da4c4dcc31a) | strlen.S (f2e71517e0b886518f755b55931807a67478a564) |
---|---|
1/*- 2 * Copyright (c) 2005 Olivier Houchard 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 62 unchanged lines hidden (view full) --- 71#else 72 andnes r3, r2, #0x000000ff 73#endif 74 addne r1, r1, #1 75 bne .Loop 76.Lexit: 77 mov r0, r1 78 RET | 1/*- 2 * Copyright (c) 2005 Olivier Houchard 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 62 unchanged lines hidden (view full) --- 71#else 72 andnes r3, r2, #0x000000ff 73#endif 74 addne r1, r1, #1 75 bne .Loop 76.Lexit: 77 mov r0, r1 78 RET |
79END(strlen) |
|