nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

Re: Bits und Bytes

Von: Michael Winter (nospam+2008.6+news@michawinter.de) [Profil]
Datum: 25.06.2008 09:35
Message-ID: <6ceapiF3gfqtkU1@mid.individual.net>
Newsgroup: de.comp.lang.delphi.misc
Norbert Stellberg schrieb:
> Hallo Felix,
>
>> b1 := (i and $ff00) shr 8;
>> b2 := i and $ff;
>
>> müßte reichen. Gibt's eigentlich die Funktionen Hi() und
Lo() noch?
>
> Das sieht doch schon viel besser aus.
> Allerdings sollte das 7bittig sein.

Du meinst wahrscheinlich

b1 := (i shr 7) and $7F;
b2 := i and $7F;

-Michael

[ Auf dieses Posting antworten ]

Antworten