- Timestamp:
- May 28, 2001, 2:39:33 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/interlock.asm
r5750 r5816 1 ; $Id: interlock.asm,v 1. 8 2001-05-19 11:14:38 sandervlExp $1 ; $Id: interlock.asm,v 1.9 2001-05-28 12:39:33 phaller Exp $ 2 2 3 3 ;/* … … 34 34 mov eax, dword ptr [esp+4] ; LPLONG lpAddend 35 35 lock inc dword ptr [eax] 36 mov eax, 0 37 je @end ; not incremented? 36 mov eax, 0 ; Note: must be "MOV eax,0" 37 ; instead of faster "XOR eax,eax" 38 ; because MOV doesn't tough any 39 ; flag register. 40 41 je @end ; not incremented? 38 42 jl @decr 39 43 inc eax ; ? … … 57 61 mov eax, dword ptr [esp+4] ; LPLONG lpAddend 58 62 lock dec dword ptr [eax] 59 mov eax, 0 63 mov eax, 0 ; Note: must be "MOV eax,0" 64 ; instead of faster "XOR eax,eax" 65 ; because MOV doesn't tough any 66 ; flag register. 60 67 je @end ; not decremented? 61 68 jl @decr
Note:
See TracChangeset
for help on using the changeset viewer.