[an error occurred while processing this directive]
|
procedure DowCRC(b:byte, var crc:byte);
var
i:integer;
begin
for i:= 0 to 8 do
begin
if ((b xor crc) and 1)<>0
then
crc:=((crc xor $18) shl 1) or $80
else
crc:= (crc shl 1) and not $80;
b:=b shl 1;
end;
end;
E-mail: info@telesys.ru