mov eax, source mov ebx, dest copyloop: mov cl, [eax] ; cl = *eax mov [ebx], cl ; *ebx = cl inc eax ; eax++ inc ebx ; ebx++ cmp eax, amount ; if (eax != amount) ... jne copyloop ; goto copyloop