Instruction
INS
Reads a byte, word or doubleword from the I/O port in DX into memory at [RDI] and steps RDI; REP repeats it RCX times.
- Extensions
- Mnemonics
- INS, INSB, INSW, INSD
- Forms
- 6 (6 Legacy)
- Data
- Intel XED v2026.08.23
Forms
| Instruction | Encoding | Requires |
|---|---|---|
INSB
INSB | 6C | Base instruction set |
INSW
INSW | 66 6D | Base instruction set |
INSD
INSD | 6DREX.W 6D | Base instruction set |
REP INSB
REP_INSB | F3 6CF2 6C | Base instruction set |
REP INSW
REP_INSW | 66 F3 6D66 F2 6D | Base instruction set |
REP INSD
REP_INSD | F3 6DF3 REX.W 6DF2 6DF2 REX.W 6D | Base instruction set |
CPUID and processors
Each form belongs to an XED ISA set. A form can be used when the processor reports every CPUID bit of one of its ISA set's alternatives.
| ISA set | CPUID | Processors in XED |
|---|---|---|
I186 | No CPUID bit: part of the base instruction set. | Every x86-64 processor in XED’s model |
I386 | No CPUID bit: part of the base instruction set. | Every x86-64 processor in XED’s model |
More General-purpose instructions
Sources
- Intel XED v2026.08.23 (commit
0bcb6237345c): forms, encodings, ISA sets, CPUID bits and chip model. - Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-092, June 2026)
- Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026)
The tables are derived from Intel XED, Copyright Intel Corporation, licensed under the Apache License 2.0; x86-64.net converted and reformatted them. The text is our own.