* fixed wrong operands of swp

git-svn-id: trunk@5072 -
This commit is contained in:
florian 2006-10-29 20:51:31 +00:00
parent 81a4547901
commit 69ae03d6bc

View File

@ -233,7 +233,8 @@ end;
function InterLockedExchange (var Target: longint;Source : longint) : longint; assembler; nostackframe;
asm
swp r0, r1, [r0]
swp r1, r1, [r0]
mov r0,r1
end;
function InterLockedExchangeAdd (var Target: longint;Source : longint) : longint; assembler; nostackframe;