strcmp.S (31489a9a2653e123121e8ca39b4be802013d2b50) strcmp.S (f2e71517e0b886518f755b55931807a67478a564)
1/* $NetBSD: strcmp.S,v 1.3 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

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

361:
37 ldrb r2, [r0], #1
38 ldrb r3, [r1], #1
39 cmp r2, #1
40 cmpcs r2, r3
41 beq 1b
42 sub r0, r2, r3
43 RET
1/* $NetBSD: strcmp.S,v 1.3 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

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

361:
37 ldrb r2, [r0], #1
38 ldrb r3, [r1], #1
39 cmp r2, #1
40 cmpcs r2, r3
41 beq 1b
42 sub r0, r2, r3
43 RET
44END(strcmp)