
5 INSTRUCTION SET
S1C33 FAMILY C33 PE CORE MANUAL
EPSON
45
5.16 Swap Instructions
The swap instructions replace the contents of general-purpose registers with each other, as shown below.
swap %rd,%rs
Big and little endians are converted on a word boundary.
8 716 1524 23
Byte 0
Byte 1
Byte 2
Byte 3
0
rs
31
8 7
16 1524 23
Byte 3
Byte 2
Byte 1
Byte 0
0
rd
31
swaph %rd,%rs
The 32-bit data in general-purpose registers has its big and little endians converted on a halfword boundary.
8 716 1524 23
Byte 0
Byte 1
Byte 2
Byte 3
0
rs
31
8 7
16 1524 23
Byte 1
Byte 0
Byte 3
Byte 2
0
rd
31
Differences from the C33 STD Core CPU
The
swaph instruction has been added.
swaph %rd,%rs
Comentários a estes Manuais