Hi,
I had a look at the SwapBytes function in synautil,
and I think this alternative compiles into less instructions:
function SwapBytes(Value:integer):integer;
var
x1:array[0..3] of byte absolute Value;
x2:array[0..3] of byte absolute Result;
begin
x2[0]:=x1[3];
x2[1]:=x1[2];
x2[2]:=x1[1];
x2[3]:=x1[0];
end;
but I'm not sure
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public