Changeset 5816 for trunk/src


Ignore:
Timestamp:
May 28, 2001, 2:39:33 PM (24 years ago)
Author:
phaller
Message:

Commentary

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 sandervl Exp $
     1; $Id: interlock.asm,v 1.9 2001-05-28 12:39:33 phaller Exp $
    22
    33;/*
     
    3434        mov     eax, dword ptr [esp+4] ; LPLONG lpAddend
    3535        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?
    3842        jl      @decr
    3943        inc     eax                    ; ?
     
    5761        mov     eax, dword ptr [esp+4] ; LPLONG lpAddend
    5862        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.
    6067        je      @end                   ; not decremented?
    6168        jl      @decr
Note: See TracChangeset for help on using the changeset viewer.