Fudged an addressing mode.

This commit is contained in:
mycroft 1993-12-06 22:51:41 +00:00
parent ff88d330ae
commit a0f51b3da9

View File

@ -38,7 +38,7 @@
#if defined(LIBC_SCCS) && !defined(lint) #if defined(LIBC_SCCS) && !defined(lint)
.text .text
/*.asciz "from: @(#)bcmp.s 5.1 (Berkeley) 5/12/90"*/ /*.asciz "from: @(#)bcmp.s 5.1 (Berkeley) 5/12/90"*/
.asciz "$Id: memcmp.S,v 1.1 1993/12/06 22:37:15 mycroft Exp $" .asciz "$Id: memcmp.S,v 1.2 1993/12/06 22:51:41 mycroft Exp $"
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
/* memcmp(s1, s2, n) */ /* memcmp(s1, s2, n) */
@ -86,8 +86,8 @@ bcbloop:
jne bcbloop /* still more, keep going */ jne bcbloop /* still more, keep going */
rts rts
bcnoteql: bcnoteql:
subql #4,a0 subal #4,a0
subql #4,a1 subal #4,a1
movl #4,d0 movl #4,d0
jra bcbloop jra bcbloop
bcnoteq: bcnoteq: