Fix for assembler from Yoshihiko ICHIKAWA

This commit is contained in:
Bruce Momjian 1997-07-10 02:32:51 +00:00
parent 3b7ee8f5f9
commit a11ad874e4
1 changed files with 0 additions and 2 deletions

View File

@ -13,8 +13,6 @@ tas:
movl %esp,%ebp /new base pointer
pushl %ebx /save prev bx
movl 8(%ebp),%ebx /load bx with address of lock
pushl %ebx /save prev bx
movl 8(%ebp),%ebx /load bx with address of lock
movl $255,%eax /put something in ax
xchgb %al,(%ebx) /swap lock value with "0"
cmpb $0,%al /did we get the lock?