Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
AW: RotateLeft: 32-Bit Integer rotieren
17. Aug 2011, 10:46
Also bei mir geht:
Delphi-Quellcode:
function rol(Zahl: Integer; Bits: Byte): Integer;
asm
xchg cl, dl
rol eax, cl
end;
ohne Probleme
Michael "Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
|
|
Zitat
|