rep movs

Repeat Move String

REP MOVS m, m

Moves ECX bytes/words from [ESI] to [EDI].

Details

The Repeat Move String instruction moves ECX bytes/words from [ESI] to [EDI].

Pseudocode Operation

// Moves ECX bytes/words from [ESI] to [EDI]

Example

REP MOVS m, [rbp-8]

Encoding

Binary Layout
F3
+0
 
Format Legacy
Opcode F3 A4/A5
Extension Base

Operands

  • dest
    Implicit memory for MOVS: ES:[DI] destination, DS:[SI] source
  • src
    Memory operand