Details Table

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


[Back: REP/REPE/REPZ/REPNE/REPNZ-Repeat Following String Operation]
[Next: Description]