NAME
INP Function, OUT Statement
SYNOPSIS
INP(port%)
OUT port%, data%
o port% A number in the range 0 through 65,535 that identifies
the port.
o data% A numeric expression in the range 0 through 255 to send
to the port.
DESCRIPTION
INP returns a byte read from a hardware I/O port.
OUT sends a byte to a hardware I/O port.
Example:
x% = INP(&H3FC) 'Read COM1 Modem Control Register.
OUT &H3FC, (x% XOR 1) 'Change Data Terminal Ready bit.
SEE ALSO
WAIT