Skip to content
Snippets Groups Projects
Commit a11ad874 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Fix for assembler from Yoshihiko ICHIKAWA

parent 3b7ee8f5
No related branches found
No related tags found
No related merge requests found
......@@ -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?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment