strncmp.S (10b3b54548f2290bbe8d8f88c59c28d12b7a635d) strncmp.S (f2e71517e0b886518f755b55931807a67478a564)
1/* $NetBSD: strncmp.S,v 1.2 2003/04/05 23:08:52 bjh21 Exp $ */
2
3/*
4 * Copyright (c) 2002 ARM Ltd
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 38 unchanged lines hidden (view full) ---

47 ldrb r2, [r0], #1
48 ldrb r3, [r1], #1
49 cmp ip, r0
50 cmpcs r2, #1
51 cmpcs r2, r3
52 beq 1b
53 sub r0, r2, r3
54 RET
1/* $NetBSD: strncmp.S,v 1.2 2003/04/05 23:08:52 bjh21 Exp $ */
2
3/*
4 * Copyright (c) 2002 ARM Ltd
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 38 unchanged lines hidden (view full) ---

47 ldrb r2, [r0], #1
48 ldrb r3, [r1], #1
49 cmp ip, r0
50 cmpcs r2, #1
51 cmpcs r2, r3
52 beq 1b
53 sub r0, r2, r3
54 RET
55END(strncmp)