[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in fork patch



There is another bug in Wolfang's fork patch, in function quickswap:

--- quickswa.spp.~1~	Wed Aug 30 18:12:56 1995
+++ quickswa.spp	Sat Sep 30 14:50:38 1995
@@ -96,9 +96,9 @@
 	subq.w	#1,d0			; prepare for dbra loop
 	bmi.s	Ldone
 L2:
-	move.b	(a1),d0
+	move.b	(a1),d1
 	move.b  (a0),(a1)+
-	move.b	d0,(a0)+
+	move.b	d1,(a0)+
 	dbra	d0,L2
 Ldone:
 	rts				; return

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"