BSWAP Byte Swap Flags: Not altered
BSWAP destination CPU: 486+
BSWAP reverses the byte order of a 32-bit register, converting a
value in little endian format to big endian format, or vice versa.
If BSWAP is used with a 16-bit operand size, the result in the
destination register is undefined.
Example: mov eax,87654321h
bswap eax
; eax = 21436587h
Opcode Format
0F C8 /r BSWAP r32
Length and timing
Operands Bytes 8088 186 286 386 486 Pentium
r32 2 1 1 NP