strncmp.S (2357939bc239bd5334a169b62313806178dd8f30) | strncmp.S (31489a9a2653e123121e8ca39b4be802013d2b50) |
---|---|
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 --- 34 unchanged lines hidden (view full) --- 431: 44 ldrb r2, [r0], #1 45 ldrb r3, [r1], #1 46 cmp ip, r0 47 cmpcs r2, #1 48 cmpcs r2, r3 49 beq 1b 50 sub r0, r2, r3 | 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 --- 34 unchanged lines hidden (view full) --- 431: 44 ldrb r2, [r0], #1 45 ldrb r3, [r1], #1 46 cmp ip, r0 47 cmpcs r2, #1 48 cmpcs r2, r3 49 beq 1b 50 sub r0, r2, r3 |
51 mov pc, lr | 51 RET |