MOVBE—Move Data After Swapping BytesInstruction Operand EncodingDescriptionPerforms a byte swap operation on the data copied from the second operand (source operand) and store the result in the first operand (destination operand). The source operand can be a general-purpose register, or memory loca-tion; the destination register can be a general-purpose register, or a memory location; however, both operands can not be registers, and only one operand can be a memory location. Both operands must be the same size, which can be a word, a doubleword or quadword. The MOVBE instruction is provided for swapping the bytes on a read from memory or on a write to memory; thus providing support for converting little-endian values to big-endian format and vice versa.In 64-bit mode, the instruction's default operation size is 32 bits. Use of the REX.R prefix permits access to addi-tional registers (R8-R15). Use of the REX.W prefix promotes operation to 64 bits. See the summary chart at the beginning of this section for encoding data and limits.Opcode/InstructionOp/En64/32 bit Mode SupportCPUID Feature FlagDescription0F 38 F0 /rMOVBE r16, m16RMV/VMOVBEReverse byte order in m16 and move to r16.0F 38 F0 /rMOVBE r32, m32RMV/VMOVBEReverse byte order in m32 and move to r32.REX.W + 0F 38 F0 /rMOVBE r64, m64RMV/N.E.MOVBEReverse byte order in m64 and move to r64. 0F 38 F1 /rMOVBE m16, r16MRV/VMOVBEReverse byte order in r16 and move to m16.0F 38 F1 /rMOVBE m32, r32MRV/VMOVBEReverse byte order in r32 and move to m32.REX.W + 0F 38 F1 /rMOVBE m64, r64MRV/N.E.MOVBEReverse byte order in r64 and move to m64. Op/EnOperand 1Operand 2Operand 3Operand 4RMModRM:reg (w)ModRM:r/m (r)NANAMRModRM:r/m (w)ModRM:reg (r)NANA
This UNOFFICIAL reference was generated from the official Intel® 64 and IA-32 Architectures Software Developer’s Manual by a dumb script. There is no guarantee that some parts aren't mangled or broken and is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.