DocID018909 Rev 11
767/1731
RM0090
Hash processor (HASH)
788
Figure 235. Bit, byte and half-word swapping
"
Y
T
E
"
Y
T
E
"
Y
T
E
"
Y
T
E
BI
T
S
B
I
T
S
B
I
T
S
BI
T
S
(
!
3
(?$
)
.
BITSTRINGORGANIZATIONIN
BI
T
BI
T
BI
T
B
I
T
B
I
T
"IT
S
W
A
P
PI
N
G
OPE
R
A
T
I
O
N
B
I
T
S
TR
I
N
G
G
R
O
WS
I
N
T
HI
S
DI
RECT
IO
N
AS
D
E
F
I
N
E
D
B
Y
&)03
05"
S
T
D
BI
T
BI
T
BI
T
BI
T
B
I
T
(
!
3
(?$
)
.
"
Y
T
E
S
W
A
P
PING
OPE
R
A
T
I
O
N
B
I
T
S
TR
I
N
G
G
R
O
WS
I
N
T
HI
S
DI
RECT
IO
N
AS
D
E
F
I
N
E
D
B
Y
&)03
05"
S
T
D
"
Y
T
E
"
Y
T
E
"
Y
T
E
"
Y
T
E
BI
T
S
B
I
T
S
B
I
T
S
BI
T
S
(!
3
(?
$
)
.
(
A
L
F
W
O
R
D
S
W
A
PPING
O
P
ER
A
T
IO
N
B
I
TSTR
IN
G
G
R
O
WS
I
N
T
H
IS
D
I
RECT
I
O
N
A
S
D
E
FI
N
E
D
B
Y
&
)
03
05"
S
T
D
(ALFWO
R
D
BI
T
S
$
!
4
!
490%
BX
$
!
4
!
4
90%
BX
$
!
4
!
4
90%
BX
(ALFWO
R
D
BI
T
S
(ALFWOR
D
BI
T
S
(ALFWOR
D
BI
T
S
tÞtá
P
AD
D
INGISPERFO
R
M
ED
ONTHISSIDEOFTHE
BIT
S
T
RI
N
G
AI
(ASHPROCESSOR"IG%NDIAN
"ITSENTREDWITHLITTLE%NDIANFORMAT
!)NCASEOFBINARYDATAHASHALLBITSSHOULDBESWAPPEDASBELOW
")NCASEOFBYTEDATAHASHALLBYTESSHOULDBESWAPPEDASBELOW
#)NCASEOFHALFWORDHASHALLHALFWORDSHOULDBESWAPPEDASBELOW
"YTESEN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