Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jcl/source/common/JclLogic.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1912,8 +1912,8 @@ function ReverseBytes(Value: Word): Word;

function ReverseBytes(Value: Smallint): Smallint;
{$IFDEF PUREPASCAL}
asm
XCHG AL, AH
begin
Result := (Value shr 8) or (Value shl 8);
end;
{$ELSE ~PUREPASCAL}
asm
Expand Down