Subject: cmpxchg
To: None <netbsd-help@NetBSD.ORG>
From: Ron Minnich <rminnich@mini.sarnoff.com>
List: netbsd-help
Date: 11/10/1994 13:55:17
I can't get cmpxchg to work at all. I've tried every variation i can 
think of and it always fails. Here's my latest attempt:
	movl	$0, _stuff
	movl	$0, %eax
	movl	$1, %ebx
	cmpxchg	_stuff, %ebx
	jne failed
	etc.

always fails. Anyone got this one to work? It should succeed. 


ron


Ron Minnich                |"CAMDEN (AP) - The city this year plans to scale
rminnich@earth.sarnoff.com | back its volunteer-led Mischief Night campaign,
(609)-734-3120             | which is aimed at preventing pranksters from 
                           | torching the city ... "
                           | -- and you thought L.A. was a tough town ...