x86 Assembly Language Reference Manual

I/O Instructions

The input/output instructions transfer data between the processor's I/O ports, registers, and memory.

Table 3–9 I/O Instructions

Solaris Mnemonic 

Intel/AMD Mnemonic 

Description 

Notes 

in

IN

read from a port 

 

ins

INS

input string from a port 

 

insb

INSB

input byte string from port 

 

insl

INSD

input doubleword string from port 

 

insw

INSW

input word string from port 

 

out

OUT

write to a port 

 

outs

OUTS

output string to port 

 

outsb

OUTSB

output byte string to port 

 

outsl

OUTSD

output doubleword string to port 

 

outsw

OUTSW

output word string to port