Details Table
┌──────────┬────────────────────┬─┬─┬─┬─┬─┬─┬──────────────────────────────────┐
│Encoding │Instruction │0│1│2│3│4│5│Description │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 6C │REP INS r/m8,DX │ │X│X│X│X│X│Input (E)CX bytes from port DX │
│ │ │ │ │ │ │ │ │into ES:[(E)DI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 6D │REP INS r/m16,DX │ │X│X│X│X│X│Input (E)CX words from port DX │
│ │ │ │ │ │ │ │ │into ES:[(E)DI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 6D │REP INS r/m32,DX │ │ │ │X│X│X│Input (E)CX dwords from port DX │
│ │ │ │ │ │ │ │ │into ES:[(E)DI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 AC │REP LODS AL │X│X│X│X│X│X│Load (E)CX bytes from [(E)SI] to │
│ │ │ │ │ │ │ │ │EDX │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 AD │REP LODS AX │X│X│X│X│X│X│Load (E)CX words from [(E)SI] to │
│ │ │ │ │ │ │ │ │EDX │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 AD │REP LODS EAX │ │ │ │X│X│X│Load (E)CX dwords from [(E)SI] to │
│ │ │ │ │ │ │ │ │EDX │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 A4 │REP MOVS m8,m8 │X│X│X│X│X│X│Move (E)CX bytes from [(E)SI] to │
│ │ │ │ │ │ │ │ │ES:[(E)DI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 A5 │REP MOVS m16,m16 │X│X│X│X│X│X│Move (E)CX words from [(E)SI] to │
│ │ │ │ │ │ │ │ │ES:[(E)DI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 A5 │REP MOVS m32,m32 │ │ │ │X│X│X│Move (E)CX dwords from [(E)SI] to │
│ │ │ │ │ │ │ │ │ES:[(E)DI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 6E │REP OUTS DX,r/m8 │ │X│X│X│X│X│Output (E)CX bytes from [(E)SI] to│
│ │ │ │ │ │ │ │ │port DX │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 6F │REP OUTS DX,r/m16 │ │X│X│X│X│X│Output (E)CX words from [(E)SI] to│
│ │ │ │ │ │ │ │ │port DX │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 6F │REP OUTS DX,r/m32 │ │ │ │X│X│X│Output (E)CX dwords from [(E)SI] │
│ │ │ │ │ │ │ │ │to port DX │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 AA │REP STOS m8 │X│X│X│X│X│X│Store (E)CX bytes at ES:[(E)DI] │
│ │ │ │ │ │ │ │ │from AL │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 AB │REP STOS m16 │X│X│X│X│X│X│Store (E)CX words at ES:[(E)DI] │
│ │ │ │ │ │ │ │ │from AX │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 AB │REP STOS m32 │ │ │ │X│X│X│Store (E)CX dwords at ES:[(E)DI] │
│ │ │ │ │ │ │ │ │from EAX │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 A6 │REPE CMPS m8,m8 │X│X│X│X│X│X│Find nonmatching bytes in │
│ │ │ │ │ │ │ │ │ES:[(E)DI] and [(E)SI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 A7 │REPE CMPS m16,m16 │X│X│X│X│X│X│Find nonmatching words in │
│ │ │ │ │ │ │ │ │ES:[(E)DI] and [(E)SI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 A7 │REPE CMPS m32,m32 │ │ │ │X│X│X│Find nonmatching dwords in │
│ │ │ │ │ │ │ │ │ES:[(E)DI] and [(E)SI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 AE │REPE SCAS m8,m8 │X│X│X│X│X│X│Find non-AL byte starting at │
│ │ │ │ │ │ │ │ │ES:[(E)DI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 AF │REPE SCAS m16,m16 │X│X│X│X│X│X│Find non-AX word starting at │
│ │ │ │ │ │ │ │ │ES:[(E)DI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F3 AF │REPE SCAS m32,m32 │ │ │ │X│X│X│Find non-EAX dword starting at │
│ │ │ │ │ │ │ │ │ES:[(E)DI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F2 A6 │REPNE CMPS m8,m8 │X│X│X│X│X│X│Find matching bytes in ES:[(E)DI] │
│ │ │ │ │ │ │ │ │and [(E)SI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F2 A7 │REPNE CMPS m16,m16 │X│X│X│X│X│X│Find matching words in ES:[(E)DI] │
│ │ │ │ │ │ │ │ │and [(E)SI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F2 A7 │REPNE CMPS m32,m32 │ │ │ │X│X│X│Find matching dwords in ES:[(E)DI]│
│ │ │ │ │ │ │ │ │and [(E)SI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F2 AE │REPNE SCAS m8,m8 │X│X│X│X│X│X│Find AL, starting at ES:[(E)DI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F2 AF │REPNE SCAS m16,m16 │X│X│X│X│X│X│Find AX, starting at ES:[(E)DI] │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F2 AF │REPNE SCAS m32,m32 │ │ │ │X│X│X│Find EAX, starting at ES:[(E)DI] │
└──────────┴────────────────────┴─┴─┴─┴─┴─┴─┴──────────────────────────────────┘
[Back: REP/REPE/REPZ/REPNE/REPNZ-Repeat Following String Operation]
[Next: Description]