Thread alle byte im 32Bit vertauschen (11 answers)
Opened by piet at 2013-12-19 18:20

Gast piet
 2013-12-29 00:33
#172747 #172747
Hallo,

ich hoffe ich habe mich richtig augedrückt.

Ich habe eine 32 Bit Zahl ... also 4 Byte (0..3)

z.B.
Byte 3210... das ist nicht der Wert des Bytes sondern die Anzahl der Bytes
pro Doppelwort. (32 Bit)

Eine 32 Bit Zahl hat 4 Byte also von Byte 0 bis Byte 3

Wie schon geschrieben möchte ich die

alt-Byte 3210 - > neu-Byte 0123

Byte 3 soll an die Stelle von Byte 0
Byte 2 soll an die Stelle von Byte 1
Byte 1 soll an die Stelle von Byte 2
Byte 0 soll an die Stelle von Byte 3


Gruß
piet
Last edited: 2013-12-29 01:34:12 +0100 (CET)

View full thread alle byte im 32Bit vertauschen