.386p

fm_TEXT segment para public use32 'CODE'
                assume cs:_TEXT
                assume ds:nothing
LockedIncrement_ proc    near
                lock inc dword ptr [eax]
                ret
LockedIncrement_ endp

LockedDecrement_ proc    near
                lock dec dword ptr [eax]
                ret
LockedDecrement_ endp

LockedExchange_ proc    near
                lock xchg ecx,[eax]
                ret
LockedExchange_ endp
                public LockedIncrement_
                public LockedDecrement_
                public LockedExchange_

fm_TEXT    ends

                end
