Expand Minimize

ib, iw, id (Input from Port)

The ib, iw, and id commands read and display a byte, word, or double word from the selected port.

ib Address 
iw Address 
id Address

Parameters

Address

The address of the port.

Environment

Modes

Kernel mode only

Targets

Live debugging only

Platforms

x86-based computer only

 

Remarks

The ib command reads a single byte, the iw command reads a word, and the id command reads a double word.

Make sure that reading an I/O port does not affect the behavior of the device that you are reading from. Some devices change state after a read-only port has been read. You should also not try to read a word or double-word from a port that does not allow values of this length.

See also

ob, od, ow (Output to Port)

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft