Assembler:Commands:BSWAP
Revision as of 00:14, 4 February 2018 by OldCheatEngineUser (talk | contribs) (Created page with 'Category:Assembler '''command''' bswap ''operand'' The bswap instruction reverse the byte order of the destination. Its used to convert values from Little-Endian to Big-Endi…')
command bswap operand
The bswap instruction reverse the byte order of the destination. Its used to convert values from Little-Endian to Big-Endian.
Reverses the byte order of a 32-bit / 64-Bit (destination) register. This instruction is provided for converting little-endian values to big-endian format and vice versa.
To swap bytes in a word value (16-bit register), use the XCHG instruction. When the BSWAP instruction references a 16-bit register, the result is undefined.
Command Parameters
Parameter | Description |
---|---|
operand | The operand to reverse byte order on |
Examples
bswap eax
bswap edx
bswap rax
bswap rdx
See also