X86-assembly/Instructions/movsb

From aldeid
Jump to navigation Jump to search
You are here:
movsb

Description

Move byte at address DS:(E)SI to address ES:(E)DI

Example

.text:00401596 lea     edi, [ebp+var_118]      ; destination
.text:0040159C mov     esi, offset unk_43F0C9  ; source (47 bytes at memory location 0x43F0C9)
.text:004015A1 cld                             ; clear direction flag
.text:004015A2 mov     ecx, 2Fh                ; counter for rep: 47 bytes
.text:004015A7 rep movsb                       ; move 47 bytes from memory location 0x43F0C9 to var_118

Comments